Skip to content

Commit ef71361

Browse files
rcornall-adimertvatansever
authored andcommitted
boards: adi: add default max32655 storage partition
Add a default 64K storage partition for max32655 boards. Remove no longer required overlays. Signed-off-by: Rob Cornall <[email protected]>
1 parent 8c13c07 commit ef71361

File tree

4 files changed

+36
-48
lines changed

4 files changed

+36
-48
lines changed

boards/adi/max32655evkit/max32655evkit_max32655_m4.dts

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
zephyr,console = &uart0;
2020
zephyr,shell-uart = &uart0;
2121
zephyr,sram = &sram2;
22-
zephyr,flash = &flash0;
22+
zephyr,flash = &code_partition;
2323
};
2424

2525
leds {
@@ -168,3 +168,20 @@
168168
status = "okay";
169169
};
170170
};
171+
172+
&flash0 {
173+
partitions {
174+
compatible = "fixed-partitions";
175+
#address-cells = <1>;
176+
#size-cells = <1>;
177+
178+
code_partition: partition@10000000 {
179+
label = "image-m4";
180+
reg = <0x10000000 DT_SIZE_K(448)>;
181+
};
182+
storage_partition: partition@70000 {
183+
label = "storage";
184+
reg = <0x70000 DT_SIZE_K(64)>;
185+
};
186+
};
187+
};

boards/adi/max32655fthr/max32655fthr_max32655_m4.dts

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
zephyr,console = &uart0;
2020
zephyr,shell-uart = &uart0;
2121
zephyr,sram = &sram2;
22-
zephyr,flash = &flash0;
22+
zephyr,flash = &code_partition;
2323
};
2424

2525
leds {
@@ -199,3 +199,20 @@
199199
status = "okay";
200200
};
201201
};
202+
203+
&flash0 {
204+
partitions {
205+
compatible = "fixed-partitions";
206+
#address-cells = <1>;
207+
#size-cells = <1>;
208+
209+
code_partition: partition@10000000 {
210+
label = "image-m4";
211+
reg = <0x10000000 DT_SIZE_K(448)>;
212+
};
213+
storage_partition: partition@70000 {
214+
label = "storage";
215+
reg = <0x70000 DT_SIZE_K(64)>;
216+
};
217+
};
218+
};

tests/drivers/flash/common/boards/max32655evkit_max32655_m4.overlay

Lines changed: 0 additions & 23 deletions
This file was deleted.

tests/drivers/flash/common/boards/max32655fthr_max32655_m4.overlay

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)