boards: st: nucleo_l152re: Rework storage partition

NVS susbsystem requires a slot covering 2 sectors of flash, which
should be at minimum 8K on L1 series which provides 4K sectors.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
This commit is contained in:
Erwan Gouriou 2024-10-21 15:25:02 +02:00 committed by Benjamin Cabé
commit 5d2547564a

View file

@ -145,10 +145,10 @@
#address-cells = <1>;
#size-cells = <1>;
/* Set 2KB of storage at the end of 512KB flash */
storage_partition: partition@7f800 {
/* Set 8KB of storage at the end of 512KB flash */
storage_partition: partition@7e000 {
label = "storage";
reg = <0x0007f800 DT_SIZE_K(2)>;
reg = <0x0007e000 DT_SIZE_K(8)>;
};
};
};