Skip to content

Commit 23f3cb1

Browse files
sreeramIfxdleach02
authored andcommitted
samples: subsys: fs: littlefs: add overlay files for CYW20829
Use littlefs to store logs to flash memory Signed-off-by: Sreeram Tatapudi <[email protected]>
1 parent d2bad69 commit 23f3cb1

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/ {
2+
fstab {
3+
compatible = "zephyr,fstab";
4+
lfs1: lfs1 {
5+
compatible = "zephyr,fstab,littlefs";
6+
mount-point = "/lfs1";
7+
partition = <&storage_partition>;
8+
read-size = <16>;
9+
prog-size = <16>;
10+
cache-size = <64>;
11+
lookahead-size = <32>;
12+
block-cycles = <512>;
13+
};
14+
};
15+
};
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/ {
2+
fstab {
3+
compatible = "zephyr,fstab";
4+
lfs1: lfs1 {
5+
compatible = "zephyr,fstab,littlefs";
6+
mount-point = "/lfs1";
7+
partition = <&storage_partition>;
8+
read-size = <16>;
9+
prog-size = <16>;
10+
cache-size = <64>;
11+
lookahead-size = <32>;
12+
block-cycles = <512>;
13+
};
14+
};
15+
};

0 commit comments

Comments
 (0)