2021-09-06 23:26:02 +08:00
|
|
|
# Copyright (c) 2021 Nordic Semiconductor (ASA)
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
choice IPC_SERVICE_BACKEND
|
|
|
|
prompt "IPC service backend"
|
|
|
|
|
2021-11-15 22:46:56 +08:00
|
|
|
config IPC_SERVICE_BACKEND_RPMSG
|
|
|
|
bool "OpenAMP RPMSG backend with static VRINGs"
|
|
|
|
depends on MBOX
|
|
|
|
select IPC_SERVICE_RPMSG
|
|
|
|
select IPC_SERVICE_STATIC_VRINGS
|
|
|
|
select OPENAMP
|
|
|
|
|
2022-03-14 22:59:04 +08:00
|
|
|
config IPC_SERVICE_BACKEND_ICMSG
|
|
|
|
bool "ICMSG backend with ICMsg buffer"
|
|
|
|
depends on MBOX
|
|
|
|
select IPC_SERVICE_ICMSG_BUF
|
|
|
|
help
|
|
|
|
Chosing this backend results in single endpoint implementation based
|
|
|
|
on ringbuf.
|
|
|
|
|
2021-10-25 23:40:28 +08:00
|
|
|
config IPC_SERVICE_BACKEND_ZTEST
|
|
|
|
depends on ZTEST
|
|
|
|
bool "IPC service backend test"
|
|
|
|
|
2021-09-06 23:26:02 +08:00
|
|
|
endchoice
|
|
|
|
|
2021-11-09 21:45:34 +08:00
|
|
|
config IPC_SERVICE_NUM_ENDPOINTS_PER_INSTANCE
|
|
|
|
int "Max number of registered endpoints per instance"
|
|
|
|
default 2
|
|
|
|
help
|
|
|
|
Maximal number of endpoints that can be registered for one instance.
|
2021-09-06 23:26:02 +08:00
|
|
|
|
2021-11-09 21:45:34 +08:00
|
|
|
config IPC_SERVICE_REG_BACKEND_PRIORITY
|
|
|
|
int "Initialization priority of modules registering IPC backend"
|
|
|
|
default 46
|
|
|
|
help
|
|
|
|
The backend must be registered before the endpoint register.
|
2021-09-06 23:26:02 +08:00
|
|
|
|
|
|
|
config IPC_SERVICE_RPMSG
|
|
|
|
bool "RPMsg support library"
|
|
|
|
help
|
|
|
|
"RPMsg library"
|
|
|
|
|
|
|
|
config IPC_SERVICE_STATIC_VRINGS
|
|
|
|
bool "Static VRINGs support library"
|
|
|
|
help
|
|
|
|
"Static VRINGs library"
|
2021-11-09 21:45:34 +08:00
|
|
|
|
2021-11-15 22:46:56 +08:00
|
|
|
config IPC_SERVICE_STATIC_VRINGS_ALIGNMENT
|
|
|
|
int "VRINGs alignment"
|
|
|
|
depends on IPC_SERVICE_STATIC_VRINGS
|
|
|
|
default 4
|
|
|
|
help
|
|
|
|
Static VRINGs alignment
|
|
|
|
|
2022-03-14 22:59:04 +08:00
|
|
|
config IPC_SERVICE_ICMSG_BUF
|
|
|
|
bool "Inter core messaging buffer support library"
|
|
|
|
help
|
|
|
|
Inter core messaging buffer library
|
|
|
|
|
|
|
|
rsource "Kconfig.icmsg"
|
2021-11-15 22:46:56 +08:00
|
|
|
rsource "Kconfig.rpmsg"
|