2021-06-09 21:59:47 +08:00
|
|
|
# Copyright (c) 2021 Nordic Semiconductor (ASA)
|
2021-06-09 21:22:38 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
menuconfig IPC_SERVICE
|
|
|
|
bool "IPC service support multiple backends"
|
|
|
|
help
|
|
|
|
Enables support for a service that can be shared by multiple
|
|
|
|
users. Ability to work in different backends. The backend
|
|
|
|
should be registered before application starts using
|
|
|
|
the IPC Service.
|
|
|
|
|
|
|
|
if IPC_SERVICE
|
|
|
|
|
|
|
|
choice IPC_SERVICE_BACKEND
|
|
|
|
prompt "IPC Service backend"
|
|
|
|
|
2021-06-09 21:59:47 +08:00
|
|
|
config IPC_SERVICE_BACKEND_RPMSG_MULTI_INSTANCE
|
|
|
|
bool "RPMsg multiple instance backend"
|
|
|
|
select RPMSG_MULTI_INSTANCE
|
2021-06-09 21:22:38 +08:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2021-06-09 21:59:47 +08:00
|
|
|
if IPC_SERVICE_BACKEND_RPMSG_MULTI_INSTANCE
|
|
|
|
|
2021-07-27 16:32:25 +08:00
|
|
|
rsource "backends/Kconfig.rpmsg_mi"
|
2021-06-09 21:59:47 +08:00
|
|
|
|
|
|
|
endif # IPC_SERVICE_BACKEND_RPMSG_MULTI_INSTANCE
|
|
|
|
|
|
|
|
|
2021-06-09 21:22:38 +08:00
|
|
|
config IPC_SERVICE_BACKEND_REG_PRIORITY
|
|
|
|
int "Initialization priority of modules registering IPC backend"
|
|
|
|
default 46
|
|
|
|
help
|
|
|
|
The backend must be registered before the endpoint register.
|
|
|
|
|
|
|
|
module = IPC_SERVICE
|
|
|
|
module-str = IPC service and backend
|
|
|
|
source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config"
|
|
|
|
|
2021-06-09 21:59:47 +08:00
|
|
|
endif # IPC_SERVICE
|