From d0e21fe6a6bb60f5530c5213f7a06ecd68227cd7 Mon Sep 17 00:00:00 2001 From: Kamil Gawor Date: Wed, 9 Nov 2022 14:12:08 +0100 Subject: [PATCH] ipc: Enable ICMSG multiendpoint role by default This commit enables the initiator or the follower role for the ICMSG multi-endpoint backend depending on dts by default. It is needed when BT_RPMSG transport for HCI is used. Signed-off-by: Kamil Gawor --- samples/subsys/ipc/ipc_service/icmsg_me/prj.conf | 1 - samples/subsys/ipc/ipc_service/icmsg_me/remote/prj.conf | 1 - subsys/ipc/ipc_service/backends/Kconfig | 2 ++ 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/subsys/ipc/ipc_service/icmsg_me/prj.conf b/samples/subsys/ipc/ipc_service/icmsg_me/prj.conf index 75a4c67b880..4c5326d1397 100644 --- a/samples/subsys/ipc/ipc_service/icmsg_me/prj.conf +++ b/samples/subsys/ipc/ipc_service/icmsg_me/prj.conf @@ -1,7 +1,6 @@ CONFIG_PRINTK=y CONFIG_IPC_SERVICE=y -CONFIG_IPC_SERVICE_BACKEND_ICMSG_ME_INITIATOR=y CONFIG_MBOX=y CONFIG_LOG=y diff --git a/samples/subsys/ipc/ipc_service/icmsg_me/remote/prj.conf b/samples/subsys/ipc/ipc_service/icmsg_me/remote/prj.conf index 3a776ae89d9..4c5326d1397 100644 --- a/samples/subsys/ipc/ipc_service/icmsg_me/remote/prj.conf +++ b/samples/subsys/ipc/ipc_service/icmsg_me/remote/prj.conf @@ -1,7 +1,6 @@ CONFIG_PRINTK=y CONFIG_IPC_SERVICE=y -CONFIG_IPC_SERVICE_BACKEND_ICMSG_ME_FOLLOWER=y CONFIG_MBOX=y CONFIG_LOG=y diff --git a/subsys/ipc/ipc_service/backends/Kconfig b/subsys/ipc/ipc_service/backends/Kconfig index 8a7683bc76c..a0df6167235 100644 --- a/subsys/ipc/ipc_service/backends/Kconfig +++ b/subsys/ipc/ipc_service/backends/Kconfig @@ -28,6 +28,7 @@ config IPC_SERVICE_BACKEND_ICMSG config IPC_SERVICE_BACKEND_ICMSG_ME_INITIATOR bool "ICMSG backend with multi-endpoint support in initiator role" + default y depends on MBOX depends on DT_HAS_ZEPHYR_IPC_ICMSG_ME_INITIATOR_ENABLED select IPC_SERVICE_ICMSG @@ -39,6 +40,7 @@ config IPC_SERVICE_BACKEND_ICMSG_ME_INITIATOR config IPC_SERVICE_BACKEND_ICMSG_ME_FOLLOWER bool "ICMSG backend with multi-endpoint support in follower role" + default y depends on MBOX depends on DT_HAS_ZEPHYR_IPC_ICMSG_ME_FOLLOWER_ENABLED select IPC_SERVICE_ICMSG