Skip to content

Commit c4b9212

Browse files
butokkartben
authored andcommitted
tests: littlefs: add .conf and .overlay for nxp boards
Adds littlefs test .conf and .overlay files for 18 nxp boards. Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
1 parent 2ec7af3 commit c4b9212

25 files changed

+403
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Copyright 2025 NXP
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
CONFIG_FS_LITTLEFS_PROG_SIZE=128
5+
CONFIG_FS_LITTLEFS_CACHE_SIZE=256
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* Copyright 2025 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/delete-node/ &storage_partition;
8+
9+
&flash {
10+
partitions {
11+
small_partition: partition@E0000 {
12+
label = "small";
13+
reg = <0x000E0000 DT_SIZE_K(128)>;
14+
};
15+
};
16+
};
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Copyright 2025 NXP
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
CONFIG_FS_LITTLEFS_PROG_SIZE=128
5+
CONFIG_FS_LITTLEFS_CACHE_SIZE=128
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* Copyright 2025 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/delete-node/ &storage_partition;
8+
9+
&flash {
10+
partitions {
11+
small_partition: partition@E0000 {
12+
label = "small";
13+
reg = <0x000E0000 DT_SIZE_K(128)>;
14+
};
15+
};
16+
};
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
* Copyright 2025 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/delete-node/ &storage_partition;
8+
9+
&w25q64jvssiq {
10+
partitions {
11+
large_partition: partition@400000 {
12+
label = "large";
13+
reg = <0x00400000 DT_SIZE_M(3)>;
14+
};
15+
medium_partition: partition@700000 {
16+
label = "medium";
17+
reg = <0x00700000 DT_SIZE_K(960)>;
18+
};
19+
small_partition: partition@7F0000 {
20+
label = "small";
21+
reg = <0x007F0000 DT_SIZE_K(64)>;
22+
};
23+
};
24+
};
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* Copyright 2025 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/delete-node/ &storage_partition;
8+
9+
&flash {
10+
partitions {
11+
small_partition: partition@E0000 {
12+
label = "small";
13+
reg = <0x000E0000 DT_SIZE_K(128)>;
14+
};
15+
};
16+
};
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
* Copyright 2025 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/delete-node/ &storage_partition;
8+
9+
&w25q512jvfiq {
10+
partitions {
11+
large_partition: partition@3C00000 {
12+
label = "large";
13+
reg = <0x03C00000 DT_SIZE_M(3)>;
14+
};
15+
medium_partition: partition@3F00000 {
16+
label = "medium";
17+
reg = <0x03F00000 DT_SIZE_K(960)>;
18+
};
19+
small_partition: partition@3FF0000 {
20+
label = "small";
21+
reg = <0x03FF0000 DT_SIZE_K(64)>;
22+
};
23+
};
24+
};
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Copyright 2023 NXP
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
CONFIG_FS_LITTLEFS_PROG_SIZE=512
5+
CONFIG_FS_LITTLEFS_CACHE_SIZE=512
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* Copyright 2025 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/delete-node/ &storage_partition;
8+
9+
&flash0 {
10+
partitions {
11+
small_partition: partition@1D000 {
12+
label = "small";
13+
reg = <0x0001D000 DT_SIZE_K(128)>;
14+
};
15+
};
16+
};
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Copyright 2023 NXP
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
CONFIG_FS_LITTLEFS_PROG_SIZE=512
5+
CONFIG_FS_LITTLEFS_CACHE_SIZE=512

0 commit comments

Comments
 (0)