Skip to content

Commit 8f07246

Browse files
committed
STM32F0: targets.json update to create MCU sub families
1 parent 6f25e46 commit 8f07246

File tree

1 file changed

+38
-20
lines changed

1 file changed

+38
-20
lines changed

targets/targets.json

Lines changed: 38 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,68 +1218,86 @@
12181218
"FLASH"
12191219
]
12201220
},
1221-
"NUCLEO_F070RB": {
1221+
"MCU_STM32F070xB": {
12221222
"inherits": [
12231223
"MCU_STM32F0"
12241224
],
1225-
"supported_form_factors": [
1226-
"ARDUINO",
1227-
"MORPHO"
1228-
],
1225+
"public": false,
12291226
"extra_labels_add": [
12301227
"STM32F070xB"
12311228
],
12321229
"macros_add": [
12331230
"STM32F070xB"
1231+
]
1232+
},
1233+
"NUCLEO_F070RB": {
1234+
"inherits": [
1235+
"MCU_STM32F070xB"
1236+
],
1237+
"supported_form_factors": [
1238+
"ARDUINO",
1239+
"MORPHO"
12341240
],
12351241
"detect_code": [
12361242
"0755"
12371243
],
12381244
"device_name": "STM32F070RB"
12391245
},
1240-
"NUCLEO_F072RB": {
1246+
"MCU_STM32F072xB": {
12411247
"inherits": [
12421248
"MCU_STM32F0"
12431249
],
1244-
"supported_form_factors": [
1245-
"ARDUINO",
1246-
"MORPHO"
1247-
],
1250+
"public": false,
12481251
"extra_labels_add": [
12491252
"STM32F072xB"
12501253
],
12511254
"macros_add": [
12521255
"STM32F072xB"
12531256
],
1254-
"detect_code": [
1255-
"0730"
1256-
],
12571257
"device_has_add": [
12581258
"ANALOGOUT",
12591259
"CAN"
1260-
],
1261-
"device_name": "STM32F072RB"
1260+
]
12621261
},
1263-
"NUCLEO_F091RC": {
1262+
"NUCLEO_F072RB": {
12641263
"inherits": [
1265-
"MCU_STM32F0"
1264+
"MCU_STM32F072xB"
12661265
],
12671266
"supported_form_factors": [
12681267
"ARDUINO",
12691268
"MORPHO"
12701269
],
1270+
"detect_code": [
1271+
"0730"
1272+
],
1273+
"device_name": "STM32F072RB"
1274+
},
1275+
"MCU_STM32F091xC": {
1276+
"inherits": [
1277+
"MCU_STM32F0"
1278+
],
1279+
"public": false,
12711280
"extra_labels_add": [
12721281
"STM32F091xC"
12731282
],
12741283
"macros_add": [
12751284
"STM32F091xC"
12761285
],
1277-
"detect_code": [
1278-
"0750"
1279-
],
12801286
"device_has_add": [
12811287
"ANALOGOUT",
12821288
"CAN"
1289+
]
1290+
},
1291+
"NUCLEO_F091RC": {
1292+
"inherits": [
1293+
"MCU_STM32F091xC"
1294+
],
1295+
"supported_form_factors": [
1296+
"ARDUINO",
1297+
"MORPHO"
1298+
],
1299+
"detect_code": [
1300+
"0750"
12831301
],
12841302
"device_name": "STM32F091RC"
12851303
},

0 commit comments

Comments
 (0)