Skip to content

Commit 9cfd185

Browse files
mertvatansevermmahadevan108
authored andcommitted
tests: drivers: flash: Fix MAX32666 flash error
This commit fixes flash error by correcting flash size. Signed-off-by: Mert Vatansever <[email protected]>
1 parent f7ffada commit 9cfd185

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
#size-cells = <1>;
1212

1313
code_partition: partition@0 {
14-
reg = <0x0 DT_SIZE_K(512)>;
14+
reg = <0x0 DT_SIZE_K(256)>;
1515
read-only;
1616
};
1717

18-
storage_partition: partition@80000 {
18+
storage_partition: partition@40000 {
1919
label = "storage";
20-
reg = <0x80000 DT_SIZE_K(512)>;
20+
reg = <0x40000 DT_SIZE_K(256)>;
2121
};
2222
};
2323
};

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
#size-cells = <1>;
1212

1313
code_partition: partition@0 {
14-
reg = <0x0 DT_SIZE_K(512)>;
14+
reg = <0x0 DT_SIZE_K(256)>;
1515
read-only;
1616
};
1717

18-
storage_partition: partition@80000 {
18+
storage_partition: partition@40000 {
1919
label = "storage";
20-
reg = <0x80000 DT_SIZE_K(512)>;
20+
reg = <0x40000 DT_SIZE_K(256)>;
2121
};
2222
};
2323
};

0 commit comments

Comments
 (0)