From c37f25a0902ad099aad5a426159b842f1b937ce4 Mon Sep 17 00:00:00 2001 From: Deepika Date: Thu, 8 Feb 2018 16:03:46 -0600 Subject: [PATCH] Default values for Trustzone Idle/Timer thread updated Default value for timer/idle thread trustzone identifier is 0, updated it to 1 to allow threads to access secure functions when timer is secure device. --- rtos/TARGET_CORTEX/mbed_rtx_conf.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rtos/TARGET_CORTEX/mbed_rtx_conf.h b/rtos/TARGET_CORTEX/mbed_rtx_conf.h index dfc26c3087..91d024a260 100644 --- a/rtos/TARGET_CORTEX/mbed_rtx_conf.h +++ b/rtos/TARGET_CORTEX/mbed_rtx_conf.h @@ -54,4 +54,7 @@ # define OS_PRIVILEGE_MODE 0 #endif +#define OS_IDLE_THREAD_TZ_MOD_ID 1 +#define OS_TIMER_THREAD_TZ_MOD_ID 1 + #endif /* MBED_RTX_CONF_H */