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:
parent
6fa0bf47b6
commit
5d2547564a
1 changed files with 3 additions and 3 deletions
|
@ -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)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue