Skip to content

Commit c168e14

Browse files
committed
M2351: Support GCC
1. Enable GCC support on non-secure targets 2. Disable GCC support on secure targets becasue of GCC bug (as of 9-2019-q4-major): In non-secure entry function, callee-saved registers must be restored, but they are incorrectly cleared at optimization level "Os".
1 parent 5863415 commit c168e14

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

targets/targets.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12672,6 +12672,7 @@
1267212672
"trustzone": true,
1267312673
"supported_toolchains": [
1267412674
"ARMC6",
12675+
"GCC_ARM",
1267512676
"IAR"
1267612677
],
1267712678
"extra_labels_add": [
@@ -12733,6 +12734,7 @@
1273312734
"core": "Cortex-M23-NS",
1273412735
"supported_toolchains": [
1273512736
"ARMC6",
12737+
"GCC_ARM",
1273612738
"IAR"
1273712739
],
1273812740
"tfm.level": 1,

0 commit comments

Comments
 (0)