Skip to content

Commit 5da0b16

Browse files
Fix memory bank config
1 parent 55f6c09 commit 5da0b16

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
@@ -3668,20 +3668,28 @@ mode is recommended for target MCUs with small amounts of flash and RAM.",
36683668
"QSPIF"
36693669
],
36703670
"image_url": "https://store-usa.arduino.cc/cdn/shop/products/ABX00063_00.default_643x483.jpg?v=1677493878",
3671+
},
3672+
"ARDUINO_GIGA_CM7": {
3673+
inherits: ["MCU_STM32H747xI_CM7", "ARDUINO_GIGA"],
36713674

3672-
// Leave room for the Arduino bootloader
3675+
// Leave room for the Arduino bootloader, using the next 1M of space
36733676
"memory_bank_config": {
36743677
"IROM1": {
3675-
start: 0x08020000,
3676-
size: 0x1E0000
3677-
}
3678+
"start": 0x08020000,
3679+
"size": 0x100000
3680+
},
36783681
}
36793682
},
3680-
"ARDUINO_GIGA_CM7": {
3681-
inherits: ["MCU_STM32H747xI_CM7", "ARDUINO_GIGA"],
3682-
},
36833683
"ARDUINO_GIGA_CM4": {
36843684
inherits: ["MCU_STM32H747xI_CM4", "ARDUINO_GIGA"],
3685+
3686+
// Leave room for the Arduino bootloader and the CM7 application, using the next 896k of space
3687+
"memory_bank_config": {
3688+
"IROM1": {
3689+
"start": 0x08120000,
3690+
"size": 0xE0000
3691+
},
3692+
}
36853693
},
36863694
"ARDUINO_PORTENTA_H7": {
36873695
"public": false,

0 commit comments

Comments
 (0)