Skip to content

Commit 1b9fa07

Browse files
committed
[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.
1 parent 89d3222 commit 1b9fa07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/targets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4224,7 +4224,7 @@
42244224
"default_toolchain": "GCC_ARM",
42254225
"extra_labels": ["NUVOTON", "M2351", "M2351KIAAEES", "FLASH_CMSIS_ALGO"],
42264226
"OUTPUT_EXT": "hex",
4227-
"macros": ["MBED_FAULT_HANDLER_DISABLED"],
4227+
"macros": ["MBED_FAULT_HANDLER_DISABLED", "MBED_TZ_DEFAULT_ACCESS=1"],
42284228
"is_disk_virtual": true,
42294229
"supported_toolchains": ["GCC_ARM", "IAR", "ARMC6"],
42304230
"config": {

0 commit comments

Comments
 (0)