Skip to content

Commit a467786

Browse files
Update targets JSON to new format for dual core devices
1 parent 6cd959c commit a467786

File tree

1 file changed

+14
-42
lines changed

1 file changed

+14
-42
lines changed

targets/targets.json5

Lines changed: 14 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -3568,22 +3568,13 @@ mode is recommended for target MCUs with small amounts of flash and RAM.",
35683568
"system_power_supply": "PWR_DIRECT_SMPS_SUPPLY",
35693569
// Cannot enable overdrive mode because the default power supply is SMPS
35703570
"enable-overdrive-mode": 0
3571-
}
3572-
},
3573-
"DISCO_H747I_CM7": {
3574-
// NOTE: inherit from MCU_STM32H747xI_CM7 first so that target's attributes get priority over
3575-
// DISCO_H747I's attributes.
3576-
"inherits": [
3577-
"MCU_STM32H747xI_CM7",
3578-
"DISCO_H747I"
3579-
],
3571+
},
35803572
"supported_form_factors": [
35813573
"ARDUINO_UNO",
35823574
"STMOD",
35833575
"PMOD"
35843576
],
35853577
"extra_labels_add": [
3586-
"DISCO_H747I",
35873578
"MT25QL512"
35883579
],
35893580
"components_add": [
@@ -3597,27 +3588,19 @@ mode is recommended for target MCUs with small amounts of flash and RAM.",
35973588
],
35983589
"device_name": "STM32H747XIHx"
35993590
},
3591+
"DISCO_H747I_CM7": {
3592+
// NOTE: inherit from MCU_STM32H747xI_CM7 first so that target's attributes get priority over
3593+
// DISCO_H747I's attributes.
3594+
"inherits": [
3595+
"MCU_STM32H747xI_CM7",
3596+
"DISCO_H747"
3597+
]
3598+
},
36003599
"DISCO_H747I_CM4": {
36013600
"inherits": [
36023601
"MCU_STM32H747xI_CM4",
36033602
"DISCO_H747I"
3604-
],
3605-
"extra_labels_add": [
3606-
"DISCO_H747I",
3607-
"MT25QL512"
3608-
],
3609-
"device_has_add": [
3610-
"QSPI"
3611-
],
3612-
"components_add": [
3613-
"QSPIF"
3614-
],
3615-
"supported_form_factors": [
3616-
"ARDUINO_UNO",
3617-
"STMOD",
3618-
"PMOD"
3619-
],
3620-
"device_name": "STM32H747XIHx"
3603+
]
36213604
},
36223605
// Umbrella target for all Arduino boards that use an H747 chip
36233606
"STM32H747_ARDUINO": {
@@ -3687,21 +3670,10 @@ mode is recommended for target MCUs with small amounts of flash and RAM.",
36873670
"image_url": "https://store-usa.arduino.cc/cdn/shop/products/ABX00063_00.default_643x483.jpg?v=1677493878"
36883671
},
36893672
"ARDUINO_GIGA_CM7": {
3690-
inherits: ["ARDUINO_GIGA"],
3691-
"core": "Cortex-M7FD",
3692-
"memory_bank_config": {
3693-
// Select flash bank 1
3694-
"IROM1": {
3695-
"start": 0x08000000,
3696-
"size": 0x100000
3697-
}
3698-
},
3699-
"extra_labels_add": [
3700-
"STM32H747xI_CM7"
3701-
],
3702-
"macros_add": [
3703-
"CORE_CM7"
3704-
]
3673+
inherits: ["MCU_STM32H747xI_CM7", "ARDUINO_GIGA"],
3674+
},
3675+
"ARDUINO_GIGA_CM4": {
3676+
inherits: ["MCU_STM32H747xI_CM4", "ARDUINO_GIGA"],
37053677
},
37063678
"ARDUINO_PORTENTA_H7": {
37073679
"public": false,

0 commit comments

Comments
 (0)