Commit 2773984e authored by Glauber Maroto Ferreira's avatar Glauber Maroto Ferreira Committed by Christopher Friedt
Browse files

soc: esp32s2: nvs: add NVS support using fixed partitions



add NVS support to esp32s2 using fixed partitions defined on DT

Signed-off-by: default avatarGlauber Maroto Ferreira <glauber.ferreira@espressif.com>
parent 1af506dd
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -76,3 +76,17 @@
	sclk-pin = <36>;
	csel-pin = <34>;
};

&flash0 {
	status = "okay";
	partitions {
		compatible = "fixed-partitions";
		#address-cells = <1>;
		#size-cells = <1>;

		storage_partition: partition@9000 {
			label = "storage";
			reg = <0x00009000 0x00006000>;
		};
	};
};