mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-08 13:25:21 +00:00
This commit adds a minimal sample application showing how TF-M can be used in IPC mode, with Zephyr providing the non-secure processing environment image, and linking against the PSA APIs implemented in TF-M. This commit also include work from the commit quoted below, which is included here for attribution purposes: tfm_ipc: cmake: now using tfm_ipc library created by TF-M module This commit removes the need for local knowledge of the TF-M repository structure and files. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no> Signed-off-by: Karl Zhang <karl.zhang@linaro.org>
22 lines
578 B
Plaintext
22 lines
578 B
Plaintext
CONFIG_BUILD_WITH_TFM=y
|
|
CONFIG_CMSIS_RTOS_V2=y
|
|
CONFIG_NUM_PREEMPT_PRIORITIES=56
|
|
CONFIG_HEAP_MEM_POOL_SIZE=1024
|
|
CONFIG_POLL=y
|
|
CONFIG_THREAD_NAME=y
|
|
CONFIG_THREAD_STACK_INFO=y
|
|
CONFIG_THREAD_MONITOR=y
|
|
CONFIG_IRQ_OFFLOAD=y
|
|
CONFIG_INIT_STACKS=y
|
|
CONFIG_MAX_THREAD_BYTES=4
|
|
CONFIG_SCHED_SCALABLE=y
|
|
CONFIG_CMSIS_V2_MEM_SLAB_MAX_DYNAMIC_SIZE=128
|
|
CONFIG_CMSIS_V2_THREAD_MAX_COUNT=23
|
|
CONFIG_CMSIS_V2_THREAD_DYNAMIC_MAX_COUNT=10
|
|
|
|
# The Zephyr CMSIS emulation assumes that ticks are ms, currently
|
|
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
|
|
|
|
CONFIG_MAIN_STACK_SIZE=4096
|
|
CONFIG_HEAP_MEM_POOL_SIZE=4096
|