Skip to content

Commit 3756d0c

Browse files
committed
giga: increase loader partition
Avoids clashes between loader and sketch during upload Signed-off-by: pennam <[email protected]>
1 parent c6dd23b commit 3756d0c

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

boards.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ giga.upload.native_usb=true
4343
giga.upload.maximum_size=1966080
4444
giga.upload.maximum_data_size=523624
4545

46-
giga.upload.address=0x080E0000
46+
giga.upload.address=0x08140000
4747

4848
giga.upload.maximum_size=786432
4949
giga.upload.maximum_data_size=523624

variants/arduino_giga_r1_stm32h747xx_m7/arduino_giga_r1_stm32h747xx_m7.overlay

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,13 @@
336336

337337
&flash0 {
338338
partitions {
339-
user_sketch: partition@e0000 {
340-
reg = <0x0E0000 0x20000>;
339+
slot0_partition: partition@40000 {
340+
label = "image-0";
341+
reg = <0x40000 0x00100000>;
342+
};
343+
344+
user_sketch: partition@100000 {
345+
reg = <0x140000 0x20000>;
341346
};
342347
};
343348
};

0 commit comments

Comments
 (0)