boards: st: nucleo_g07xrb: Rework storage partition

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

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
This commit is contained in:
Erwan Gouriou 2024-10-21 15:14:28 +02:00 committed by Benjamin Cabé
commit 6fa0bf47b6
2 changed files with 6 additions and 6 deletions

View file

@ -155,10 +155,10 @@
#address-cells = <1>;
#size-cells = <1>;
/* Set 2KB of storage at the end of 128KB flash */
storage_partition: partition@1f800 {
/* Set 4KB of storage at the end of 128KB flash */
storage_partition: partition@1f000 {
label = "storage";
reg = <0x0001f800 DT_SIZE_K(2)>;
reg = <0x0001f000 DT_SIZE_K(4)>;
};
};
};

View file

@ -169,10 +169,10 @@
#address-cells = <1>;
#size-cells = <1>;
/* Set 2KB of storage at the end of 128KB flash */
storage_partition: partition@1f800 {
/* Set 4KB of storage at the end of 128KB flash */
storage_partition: partition@1f000 {
label = "storage";
reg = <0x0001f800 DT_SIZE_K(2)>;
reg = <0x0001f000 DT_SIZE_K(4)>;
};
};
};