[M2351] Default MBED_TZ_DEFAULT_ACCESS to 1 to control secure SYS/CLK regions from non-secure threads

To initialize/uninitialize H/W module, we need to control secure SYS/CLK regions through secure functions.
For a new thread to call these secure functions, we need to allocate secure context for it.
pull/7302/head
ccli8 2018-04-24 16:15:57 +08:00
parent 89d32227a0
commit 1b9fa07b6f
1 changed files with 1 additions and 1 deletions

View File

@ -4224,7 +4224,7 @@
"default_toolchain": "GCC_ARM",
"extra_labels": ["NUVOTON", "M2351", "M2351KIAAEES", "FLASH_CMSIS_ALGO"],
"OUTPUT_EXT": "hex",
"macros": ["MBED_FAULT_HANDLER_DISABLED"],
"macros": ["MBED_FAULT_HANDLER_DISABLED", "MBED_TZ_DEFAULT_ACCESS=1"],
"is_disk_virtual": true,
"supported_toolchains": ["GCC_ARM", "IAR", "ARMC6"],
"config": {