File tree Expand file tree Collapse file tree
TrustZone/NonSecure/RTE/RTOS Expand file tree Collapse file tree Original file line number Diff line number Diff line change 196196// <i> Default: 0
197197#define configENABLE_MPU 0
198198
199+ // <q> Use TrustZone Secure Side Only
200+ // <i> This settings prevents FreeRTOS contex switch to Non-Secure side.
201+ // <i> Enable this setting when FreeRTOS runs on the Secure side only.
202+ #define configRUN_FREERTOS_SECURE_ONLY 0
203+
199204// <q>Use TrustZone Security Extension
200205// <i> Using TrustZone affects context handling.
201206// <i> Enable TrustZone when FreeRTOS runs on the Non-Secure side and calls functions from the Secure side.
Original file line number Diff line number Diff line change 196196// <i> Default: 0
197197#define configENABLE_MPU 0
198198
199+ // <q> Use TrustZone Secure Side Only
200+ // <i> This settings prevents FreeRTOS contex switch to Non-Secure side.
201+ // <i> Enable this setting when FreeRTOS runs on the Secure side only.
202+ #define configRUN_FREERTOS_SECURE_ONLY 0
203+
199204// <q>Use TrustZone Security Extension
200205// <i> Using TrustZone affects context handling.
201206// <i> Enable TrustZone when FreeRTOS runs on the Non-Secure side and calls functions from the Secure side.
Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ extern uint32_t SystemCoreClock;
9595#define configENABLE_FPU 1
9696#define configENABLE_TRUSTZONE 1
9797#define configMINIMAL_SECURE_STACK_SIZE ((uint32_t)1024)
98+ #define configRUN_FREERTOS_SECURE_ONLY 0
9899
99100/* Cortex-M specific definitions. */
100101#ifdef __NVIC_PRIO_BITS
Original file line number Diff line number Diff line change 196196// <i> Default: 0
197197#define configENABLE_MPU 0
198198
199+ // <q> Use TrustZone Secure Side Only
200+ // <i> This settings prevents FreeRTOS contex switch to Non-Secure side.
201+ // <i> Enable this setting when FreeRTOS runs on the Secure side only.
202+ #define configRUN_FREERTOS_SECURE_ONLY 0
203+
199204// <q>Use TrustZone Security Extension
200205// <i> Using TrustZone affects context handling.
201206// <i> Enable TrustZone when FreeRTOS runs on the Non-Secure side and calls functions from the Secure side.
Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ extern uint32_t SystemCoreClock;
9595#define configENABLE_FPU 1
9696#define configENABLE_TRUSTZONE 1
9797#define configMINIMAL_SECURE_STACK_SIZE ((uint32_t)1024)
98+ #define configRUN_FREERTOS_SECURE_ONLY 0
9899
99100/* Cortex-M specific definitions. */
100101#ifdef __NVIC_PRIO_BITS
You can’t perform that action at this time.
0 commit comments