Skip to content

Commit 1330cca

Browse files
committed
boards: arduino: giga_r1: Fix partition size.
With the current config, a debug loader overwrites the sketch. The correct partition layout is (offset, size): - 0x00000 - 0x40000 (256KB): Bootloader - 0x40000 - 0xa0000 (640KB): llext loader - 0xe0000 - 0x20000 (128KB): sketch Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
1 parent 46a7877 commit 1330cca

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

variants/arduino_giga_r1_stm32h747xx_m7/arduino_giga_r1_stm32h747xx_m7.overlay

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

337337
&flash0 {
338338
partitions {
339+
/delete-node/ slot0_partition;
340+
341+
slot0_partition: partition@40000 {
342+
label = "image-0";
343+
reg = <0x040000 0xa0000>;
344+
};
345+
339346
user_sketch: partition@e0000 {
340347
reg = <0x0E0000 0x20000>;
341348
};

0 commit comments

Comments
 (0)