34 lines
704 B
Plaintext
34 lines
704 B
Plaintext
/*
|
|
* 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>;
|
|
};
|
|
};
|
|
};
|