File tree Expand file tree Collapse file tree 3 files changed +26
-1
lines changed Expand file tree Collapse file tree 3 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 15
15
# Change the below to match the target(s) you want to compile the project for.
16
16
- K64F
17
17
- MIMXRT1060_EVK
18
+ - NUCLEO_H743ZI2
18
19
19
20
steps :
20
21
- name : Checkout
Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ int main()
63
63
if (ret == 0 )
64
64
{
65
65
tr_info (" Current firmware set as confirmed" );
66
- return 0 ;
67
66
}
68
67
else
69
68
{
Original file line number Diff line number Diff line change 115
115
"mcuboot.flash-block-size" : 256 ,
116
116
117
117
"demo-button-active-low" : true
118
+ } ,
119
+
120
+ "MCU_STM32H743xI" : {
121
+ "target.memory_bank_config" : {
122
+ "IROM1" : {
123
+ "start" : 0x08021000 , // mcuboot.primary-slot-address + mcuboot.header-size
124
+ "size" : 0xDF000 // mcuboot.slot-size - mcuboot.header-size
125
+ }
126
+ } ,
127
+
128
+ // Since STM32H743 boards have no external block device, keep everything in the MCU flash.
129
+ "app.secondary-slot-in-flash" : true ,
130
+ "app.secondary-slot-flash-start-addr" : "0x08100000" ,
131
+
132
+ // Slot size can be as big as 896k, since we need to reserve the first flash sector for the bootloader
133
+ // and the last flash sector for scratch space
134
+ "mcuboot.primary-slot-address" : "0x08020000" ,
135
+ "mcuboot.max-img-sectors" : "7" , // 7 flash sectors per slot
136
+ "mcuboot.slot-size" : "0xE0000" ,
137
+ "mcuboot.flash-block-size" : 32 , // Flash program size is 32
138
+
139
+ // STM32H7 flash sector size is 128k, so we need to make the scratch region at least that big
140
+ "mcuboot.scratch-address" : "0x081E0000" ,
141
+ "mcuboot.scratch-size" : "0x20000"
142
+
118
143
}
119
144
} ,
120
145
}
You can’t perform that action at this time.
0 commit comments