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 <Kamil.Gawor@nordicsemi.no>
This commit is contained in:
Kamil Gawor 2022-11-09 14:12:08 +01:00 committed by Carles Cufí
commit d0e21fe6a6
3 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,6 @@
CONFIG_PRINTK=y CONFIG_PRINTK=y
CONFIG_IPC_SERVICE=y CONFIG_IPC_SERVICE=y
CONFIG_IPC_SERVICE_BACKEND_ICMSG_ME_INITIATOR=y
CONFIG_MBOX=y CONFIG_MBOX=y
CONFIG_LOG=y CONFIG_LOG=y

View file

@ -1,7 +1,6 @@
CONFIG_PRINTK=y CONFIG_PRINTK=y
CONFIG_IPC_SERVICE=y CONFIG_IPC_SERVICE=y
CONFIG_IPC_SERVICE_BACKEND_ICMSG_ME_FOLLOWER=y
CONFIG_MBOX=y CONFIG_MBOX=y
CONFIG_LOG=y CONFIG_LOG=y

View file

@ -28,6 +28,7 @@ config IPC_SERVICE_BACKEND_ICMSG
config IPC_SERVICE_BACKEND_ICMSG_ME_INITIATOR config IPC_SERVICE_BACKEND_ICMSG_ME_INITIATOR
bool "ICMSG backend with multi-endpoint support in initiator role" bool "ICMSG backend with multi-endpoint support in initiator role"
default y
depends on MBOX depends on MBOX
depends on DT_HAS_ZEPHYR_IPC_ICMSG_ME_INITIATOR_ENABLED depends on DT_HAS_ZEPHYR_IPC_ICMSG_ME_INITIATOR_ENABLED
select IPC_SERVICE_ICMSG select IPC_SERVICE_ICMSG
@ -39,6 +40,7 @@ config IPC_SERVICE_BACKEND_ICMSG_ME_INITIATOR
config IPC_SERVICE_BACKEND_ICMSG_ME_FOLLOWER config IPC_SERVICE_BACKEND_ICMSG_ME_FOLLOWER
bool "ICMSG backend with multi-endpoint support in follower role" bool "ICMSG backend with multi-endpoint support in follower role"
default y
depends on MBOX depends on MBOX
depends on DT_HAS_ZEPHYR_IPC_ICMSG_ME_FOLLOWER_ENABLED depends on DT_HAS_ZEPHYR_IPC_ICMSG_ME_FOLLOWER_ENABLED
select IPC_SERVICE_ICMSG select IPC_SERVICE_ICMSG