Skip to content

Commit 576018d

Browse files
Fix memory bank config
1 parent 6f35f4e commit 576018d

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

targets/targets.json5

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3664,20 +3664,28 @@ mode is recommended for target MCUs with small amounts of flash and RAM.",
36643664
"QSPIF"
36653665
],
36663666
"image_url": "https://store-usa.arduino.cc/cdn/shop/products/ABX00063_00.default_643x483.jpg?v=1677493878",
3667+
},
3668+
"ARDUINO_GIGA_CM7": {
3669+
inherits: ["MCU_STM32H747xI_CM7", "ARDUINO_GIGA"],
36673670

3668-
// Leave room for the Arduino bootloader
3671+
// Leave room for the Arduino bootloader, using the next 1M of space
36693672
"memory_bank_config": {
36703673
"IROM1": {
3671-
start: 0x08020000,
3672-
size: 0x1E0000
3673-
}
3674+
"start": 0x08020000,
3675+
"size": 0x100000
3676+
},
36743677
}
36753678
},
3676-
"ARDUINO_GIGA_CM7": {
3677-
inherits: ["MCU_STM32H747xI_CM7", "ARDUINO_GIGA"],
3678-
},
36793679
"ARDUINO_GIGA_CM4": {
36803680
inherits: ["MCU_STM32H747xI_CM4", "ARDUINO_GIGA"],
3681+
3682+
// Leave room for the Arduino bootloader and the CM7 application, using the next 896k of space
3683+
"memory_bank_config": {
3684+
"IROM1": {
3685+
"start": 0x08120000,
3686+
"size": 0xE0000
3687+
},
3688+
}
36813689
},
36823690
"ARDUINO_PORTENTA_H7": {
36833691
"public": false,

0 commit comments

Comments
 (0)