]> begriffs open source - cmsis-freertos/blob - CMSIS/RTOS2/FreeRTOS/Examples/App/TrustZone/README.md
Correct memory allocation and access in osMemoryPoolNew (#142)
[cmsis-freertos] / CMSIS / RTOS2 / FreeRTOS / Examples / App / TrustZone / README.md
1 # TrustZone: secure/non-secure thread context management
2
3 TrustZone example shows application setup for secure/non-secure thread context management.
4 It is divided into two parts:
5   - Secure application
6   - Non-secure application
7
8 ## Secure Application
9
10 Secure application does initial setup and starts the non-secure application. It contains functions
11 that can be called from the non-secure application. The interface for these (non-secure callable)
12 functions is provided as "CMSE lib" object file, which is integrated into the non-secure application.
13
14 ## Non-secure Application
15
16 Non-secure application initializes RTOS and executes thread that calls secure function. In addition
17 it also contains a callback function which gets called from the secure application.
18