Commit 152f6f1
committed
M2351: Refine MBED_TZ_DEFAULT_ACCESS placement
1. On M2351, SYS/CLK registers are hard-wired to secure. Define MBED_TZ_DEFAULT_ACCESS to 1 so that all non-secure user threads have access to call secure functions to control these registers.
2. MBED_TZ_DEFAULT_ACCESS is only meaningful for non-secure target. Define it only for non-secure target in targets.json.
3. On TFM target, MBED_TZ_DEFAULT_ACCESS has defined in mbed_lib.json. Avoid duplicate definition which IAR assembler doesn't allow.1 parent 91464b2 commit 152f6f1
1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12544 | 12544 | | |
12545 | 12545 | | |
12546 | 12546 | | |
12547 | | - | |
12548 | 12547 | | |
12549 | 12548 | | |
12550 | 12549 | | |
| |||
12683 | 12682 | | |
12684 | 12683 | | |
12685 | 12684 | | |
12686 | | - | |
12687 | 12685 | | |
12688 | 12686 | | |
12689 | 12687 | | |
| |||
0 commit comments