zephyr/subsys/ipc/ipc_service/backends/Kconfig.rpmsg
Emil Obalski d877e1dded ipc_service: Automatically include source files for backends
The purpose of this change is to allow to enable more than one
backend at once by removing choice from ipc-service backend Kconfig
and depending backend Kconfig option on existing of correct compatible.

Overwriting IPC_SERVICE_BACKEND option in some places is removes
as no longer needed.

Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no>
2022-03-29 12:30:50 -07:00

32 lines
1.1 KiB
Plaintext

# Copyright (c) 2021 Carlo Caione <ccaione@baylibre.com>
# SPDX-License-Identifier: Apache-2.0
if IPC_SERVICE_BACKEND_RPMSG
config IPC_SERVICE_BACKEND_RPMSG_WQ_STACK_SIZE
int "Size of RX work queue stack"
default 1024
help
Size of stack used by work queue RX thread. This work queue is
created in the multi-instance / multi-core RPMsg backend module to
prevent notifying service users about received data from the system
work queue. Size is the same for all instances.
config IPC_SERVICE_BACKEND_RPMSG_SHMEM_RESET
bool "Reset shared memory state"
help
Some platforms retain the memory content upon reset. This is
problematic because the backend expects a zero-ed memory to be
able to correctly setup instances and endpoints at init time.
When this parameter is set to 'y' the status region of the shared
memory is reset on kernel initialization.
config IPC_SERVICE_BACKEND_RPMSG_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
for RPMSG backend.
endif # IPC_SERVICE_BACKEND_RPMSG