Skip to content

Commit 97763be

Browse files
committed
fix partitions
1 parent 38d04a5 commit 97763be

File tree

3 files changed

+31
-17
lines changed

3 files changed

+31
-17
lines changed

variants/arduino_nano_matter_mgm240sd22vna/arduino_nano_matter_mgm240sd22vna.overlay

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
1-
&flash0 {
2-
partitions {
3-
compatible = "fixed-partitions";
4-
#address-cells = <1>;
5-
#size-cells = <1>;
6-
7-
/* Arduino user sketch partition */
8-
user_sketch: partition@C4000 {
9-
reg = <0x000C4000 0x000B8000>;
10-
label = "user";
11-
};
12-
};
13-
};
1+
/* Arduino user sketch partition */
2+
user_sketch: &slot1_partition {};
143

154
/ {
165
zephyr,user {

variants/arduino_nicla_sense_me_nrf52832/arduino_nicla_sense_me_nrf52832.overlay

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
&flash0 {
22
partitions {
3+
/delete-node/ slot0_partition;
4+
/delete-node/ slot1_partition;
5+
/delete-node/ scratch_partition;
6+
/delete-node/ storage_partition;
7+
8+
slot0_partition: partition@10000 {
9+
label = "image-0"; /* in zephyr/boards/arduino/nicla_sense_me/arduino_nicla_sense_me.dts:154 */
10+
reg = < 0x10000 0x60000 >; /* in zephyr/boards/arduino/nicla_sense_me/arduino_nicla_sense_me.dts:155 */
11+
};
12+
313
user_sketch: partition@70000 {
414
label = "user";
515
reg = <0x070000 0x10000>;

variants/arduino_uno_q_stm32u585xx/arduino_uno_q_stm32u585xx.overlay

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,26 @@
5656

5757
&flash0 {
5858
partitions {
59-
bootanimation: partition@90000 {
60-
reg = <0x090000 DT_SIZE_K(64)>;
59+
/delete-node/ slot0_partition;
60+
/delete-node/ slot1_partition;
61+
/delete-node/ scratch_partition;
62+
/delete-node/ storage_partition;
63+
64+
slot0_partition: partition@10000 {
65+
label = "image-0";
66+
reg = < 0x10000 DT_SIZE_K(768) >;
6167
};
62-
user_sketch: partition@f0000 {
63-
reg = <0x0F0000 DT_SIZE_K(64)>;
68+
69+
bootanimation: partition@d0000 {
70+
reg = < 0xd0000 DT_SIZE_K(192) >;
71+
};
72+
73+
user_sketch: partition@100000 {
74+
reg = < 0x100000 DT_SIZE_K(768) >;
75+
};
76+
77+
storage_partition: partition@1c0000 {
78+
reg = < 0x1c0000 DT_SIZE_K(256) >;
6479
};
6580
};
6681
};

0 commit comments

Comments
 (0)