tests: drivers: flash: Fix MAX32666 flash error

This commit fixes flash error by correcting flash size.

Signed-off-by: Mert Vatansever <mert.vatansever@analog.com>
This commit is contained in:
Mert Vatansever 2024-10-30 13:56:55 +03:00 committed by Mahesh Mahadevan
commit 9cfd185ab0
2 changed files with 6 additions and 6 deletions

View file

@ -11,13 +11,13 @@
#size-cells = <1>; #size-cells = <1>;
code_partition: partition@0 { code_partition: partition@0 {
reg = <0x0 DT_SIZE_K(512)>; reg = <0x0 DT_SIZE_K(256)>;
read-only; read-only;
}; };
storage_partition: partition@80000 { storage_partition: partition@40000 {
label = "storage"; label = "storage";
reg = <0x80000 DT_SIZE_K(512)>; reg = <0x40000 DT_SIZE_K(256)>;
}; };
}; };
}; };

View file

@ -11,13 +11,13 @@
#size-cells = <1>; #size-cells = <1>;
code_partition: partition@0 { code_partition: partition@0 {
reg = <0x0 DT_SIZE_K(512)>; reg = <0x0 DT_SIZE_K(256)>;
read-only; read-only;
}; };
storage_partition: partition@80000 { storage_partition: partition@40000 {
label = "storage"; label = "storage";
reg = <0x80000 DT_SIZE_K(512)>; reg = <0x40000 DT_SIZE_K(256)>;
}; };
}; };
}; };