From c81e2ff68a55ec64819e6ae267992342df4b626b Mon Sep 17 00:00:00 2001 From: Erwan Gouriou Date: Tue, 19 Dec 2023 17:08:29 +0100 Subject: [PATCH] boards: nucleo_wba52cg: Add a user flash partition This partition could be used by application. Signed-off-by: Erwan Gouriou --- boards/arm/nucleo_wba55cg/nucleo_wba55cg.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/boards/arm/nucleo_wba55cg/nucleo_wba55cg.dts b/boards/arm/nucleo_wba55cg/nucleo_wba55cg.dts index b0510c624ad..163a1bb5ae2 100644 --- a/boards/arm/nucleo_wba55cg/nucleo_wba55cg.dts +++ b/boards/arm/nucleo_wba55cg/nucleo_wba55cg.dts @@ -133,3 +133,18 @@ stm32_lp_tick_source: &lptim1 { &rng { status = "okay"; }; + +&flash0 { + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + /* Last 16K of flash: Min 2 sectors */ + storage_partition: partition@f8000 { + label = "storage"; + reg = <0x000f8000 DT_SIZE_K(16)>; + }; + + }; +};