sample: subsys: nvs: support stm32l562e_dk board

Add stm32l562e_dk support to sample nvs

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
This commit is contained in:
Alexandre Bourdiol 2022-07-06 18:34:51 +02:00 committed by Carles Cufí
parent 7222288396
commit ff9e6f2661
2 changed files with 18 additions and 0 deletions

View File

@ -18,5 +18,6 @@ supported:
- usart
- arduino_spi
- usb
- nvs
ram: 192
flash: 512

View File

@ -0,0 +1,17 @@
/*
* Copyright (c) 2022 STMicroelectronics
*
* SPDX-License-Identifier: Apache-2.0
*/
/delete-node/ &storage_partition;
&flash0 {
partitions {
/* Set 6KB of storage at the end of 512KB flash */
storage_partition: partition@7e800 {
label = "storage";
reg = <0x0007e800 DT_SIZE_K(6)>;
};
};
};