Skip to content

Commit 4510b4b

Browse files
committed
targets.json: Creation of MCU_STM32_BAREMETAL
1 parent 2862c81 commit 4510b4b

File tree

1 file changed

+25
-6
lines changed

1 file changed

+25
-6
lines changed

targets/targets.json

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,6 +1308,30 @@
13081308
"RESET_REASON"
13091309
]
13101310
},
1311+
"MCU_STM32_BAREMETAL": {
1312+
"inherits": [
1313+
"MCU_STM32"
1314+
],
1315+
"public": false,
1316+
"supported_c_libs": {
1317+
"arm": [
1318+
"small"
1319+
],
1320+
"gcc_arm": [
1321+
"small"
1322+
],
1323+
"iar": [
1324+
"std"
1325+
]
1326+
},
1327+
"c_lib": "small",
1328+
"supported_application_profiles": [
1329+
"bare-metal"
1330+
],
1331+
"overrides": {
1332+
"boot-stack-size": "0x400"
1333+
}
1334+
},
13111335
"NUCLEO_F030R8": {
13121336
"inherits": [
13131337
"MCU_STM32"
@@ -1724,7 +1748,7 @@
17241748
},
17251749
"NUCLEO_F303K8": {
17261750
"inherits": [
1727-
"MCU_STM32"
1751+
"MCU_STM32_BAREMETAL"
17281752
],
17291753
"core": "Cortex-M4F",
17301754
"extra_labels_add": [
@@ -1741,13 +1765,11 @@
17411765
},
17421766
"overrides": {
17431767
"lse_available": 0,
1744-
"boot-stack-size": "0x400",
17451768
"tickless-from-us-ticker": true
17461769
},
17471770
"detect_code": [
17481771
"0775"
17491772
],
1750-
"c_lib": "small",
17511773
"device_has_add": [
17521774
"ANALOGOUT",
17531775
"CAN",
@@ -1756,9 +1778,6 @@
17561778
"device_has_remove": [
17571779
"LPTICKER"
17581780
],
1759-
"supported_application_profiles": [
1760-
"bare-metal"
1761-
],
17621781
"device_name": "STM32F303K8"
17631782
},
17641783
"NUCLEO_F303RE": {

0 commit comments

Comments
 (0)