Skip to content

Commit 3747c62

Browse files
Get NUCLEO_H743ZI2 working
1 parent 5ee6794 commit 3747c62

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

mbed_app.json5

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,16 +124,17 @@
124124

125125
// Since STM32H743 boards have no external block device, keep everything in the MCU flash.
126126
"app.secondary-slot-in-flash": true,
127-
"app.secondary-slot-flash-start-addr": "0x100000",
127+
"app.secondary-slot-flash-start-addr": "0x08100000",
128128

129129
// Slot size can be as big as 896k, since we need to reserve the first flash sector for the bootloader
130130
// and the last flash sector for scratch space
131-
"mcuboot.primary-slot-address": "0x20000",
131+
"mcuboot.primary-slot-address": "0x08020000",
132132
"mcuboot.max-img-sectors": "7", // 7 flash sectors per slot
133133
"mcuboot.slot-size": "0xE0000",
134+
"mcuboot.flash-block-size": 32, // Flash program size is 32
134135

135136
// STM32H7 flash sector size is 128k, so we need to make the scratch region at least that big
136-
"mcuboot.scratch-address": "0x1E0000",
137+
"mcuboot.scratch-address": "0x081E0000",
137138
"mcuboot.scratch-size": "0x20000"
138139

139140
},

0 commit comments

Comments
 (0)