zephyr/samples/subsys/fs/littlefs/particle_xenon.overlay
Peter A. Bigot cfa64bde1c samples/subsys/fs/littlefs: add a basic sample
Uses a littlefs file system to maintain a boot counter.  Also tests some
other functions.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2019-08-06 19:39:26 +02:00

33 lines
704 B
Text

/*
* Copyright (c) 2019 Peter Bigot Consulting, LLC
*
* SPDX-License-Identifier: Apache-2.0
*/
/delete-node/ &storage_partition;
&mx25l32 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
/* This is the littlefs v1 file system pre-installed
* by Particle.
*/
littlefs_partition: partition@0 {
label = "littlefs";
reg = <0x00000000 0x00200000>;
};
/* A 16 KiBy partition to use for the test. */
storage_partition: partition@200000 {
label = "storage";
reg = <0x00200000 0x00004000>;
};
/* A bigger partition for something else. */
partition@220000 {
label = "scratch";
reg = <0x00204000 0x001fc000>;
};
};
};