From 5d2547564a545ae405ba0a08906b379362abe6b9 Mon Sep 17 00:00:00 2001 From: Erwan Gouriou Date: Mon, 21 Oct 2024 15:25:02 +0200 Subject: [PATCH] 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 --- boards/st/nucleo_l152re/nucleo_l152re.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boards/st/nucleo_l152re/nucleo_l152re.dts b/boards/st/nucleo_l152re/nucleo_l152re.dts index fc308f5988f..afcccc8dd01 100644 --- a/boards/st/nucleo_l152re/nucleo_l152re.dts +++ b/boards/st/nucleo_l152re/nucleo_l152re.dts @@ -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)>; }; }; };