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>
This commit is contained in:
parent
2ec7af3474
commit
c4b92123d3
25 changed files with 403 additions and 0 deletions
5
tests/subsys/fs/littlefs/boards/frdm_mcxa156.conf
Normal file
5
tests/subsys/fs/littlefs/boards/frdm_mcxa156.conf
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Copyright 2025 NXP
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
CONFIG_FS_LITTLEFS_PROG_SIZE=128
|
||||||
|
CONFIG_FS_LITTLEFS_CACHE_SIZE=256
|
16
tests/subsys/fs/littlefs/boards/frdm_mcxa156.overlay
Normal file
16
tests/subsys/fs/littlefs/boards/frdm_mcxa156.overlay
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2025 NXP
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
/delete-node/ &storage_partition;
|
||||||
|
|
||||||
|
&flash {
|
||||||
|
partitions {
|
||||||
|
small_partition: partition@E0000 {
|
||||||
|
label = "small";
|
||||||
|
reg = <0x000E0000 DT_SIZE_K(128)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
5
tests/subsys/fs/littlefs/boards/frdm_mcxn236.conf
Normal file
5
tests/subsys/fs/littlefs/boards/frdm_mcxn236.conf
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Copyright 2025 NXP
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
CONFIG_FS_LITTLEFS_PROG_SIZE=128
|
||||||
|
CONFIG_FS_LITTLEFS_CACHE_SIZE=128
|
16
tests/subsys/fs/littlefs/boards/frdm_mcxn236.overlay
Normal file
16
tests/subsys/fs/littlefs/boards/frdm_mcxn236.overlay
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2025 NXP
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
/delete-node/ &storage_partition;
|
||||||
|
|
||||||
|
&flash {
|
||||||
|
partitions {
|
||||||
|
small_partition: partition@E0000 {
|
||||||
|
label = "small";
|
||||||
|
reg = <0x000E0000 DT_SIZE_K(128)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
|
@ -0,0 +1,24 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2025 NXP
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
/delete-node/ &storage_partition;
|
||||||
|
|
||||||
|
&w25q64jvssiq {
|
||||||
|
partitions {
|
||||||
|
large_partition: partition@400000 {
|
||||||
|
label = "large";
|
||||||
|
reg = <0x00400000 DT_SIZE_M(3)>;
|
||||||
|
};
|
||||||
|
medium_partition: partition@700000 {
|
||||||
|
label = "medium";
|
||||||
|
reg = <0x00700000 DT_SIZE_K(960)>;
|
||||||
|
};
|
||||||
|
small_partition: partition@7F0000 {
|
||||||
|
label = "small";
|
||||||
|
reg = <0x007F0000 DT_SIZE_K(64)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
16
tests/subsys/fs/littlefs/boards/frdm_mcxw71.overlay
Normal file
16
tests/subsys/fs/littlefs/boards/frdm_mcxw71.overlay
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2025 NXP
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
/delete-node/ &storage_partition;
|
||||||
|
|
||||||
|
&flash {
|
||||||
|
partitions {
|
||||||
|
small_partition: partition@E0000 {
|
||||||
|
label = "small";
|
||||||
|
reg = <0x000E0000 DT_SIZE_K(128)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
24
tests/subsys/fs/littlefs/boards/frdm_rw612.overlay
Normal file
24
tests/subsys/fs/littlefs/boards/frdm_rw612.overlay
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2025 NXP
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
/delete-node/ &storage_partition;
|
||||||
|
|
||||||
|
&w25q512jvfiq {
|
||||||
|
partitions {
|
||||||
|
large_partition: partition@3C00000 {
|
||||||
|
label = "large";
|
||||||
|
reg = <0x03C00000 DT_SIZE_M(3)>;
|
||||||
|
};
|
||||||
|
medium_partition: partition@3F00000 {
|
||||||
|
label = "medium";
|
||||||
|
reg = <0x03F00000 DT_SIZE_K(960)>;
|
||||||
|
};
|
||||||
|
small_partition: partition@3FF0000 {
|
||||||
|
label = "small";
|
||||||
|
reg = <0x03FF0000 DT_SIZE_K(64)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
5
tests/subsys/fs/littlefs/boards/lpcxpresso55s06.conf
Normal file
5
tests/subsys/fs/littlefs/boards/lpcxpresso55s06.conf
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Copyright 2023 NXP
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
CONFIG_FS_LITTLEFS_PROG_SIZE=512
|
||||||
|
CONFIG_FS_LITTLEFS_CACHE_SIZE=512
|
16
tests/subsys/fs/littlefs/boards/lpcxpresso55s06.overlay
Normal file
16
tests/subsys/fs/littlefs/boards/lpcxpresso55s06.overlay
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2025 NXP
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
/delete-node/ &storage_partition;
|
||||||
|
|
||||||
|
&flash0 {
|
||||||
|
partitions {
|
||||||
|
small_partition: partition@1D000 {
|
||||||
|
label = "small";
|
||||||
|
reg = <0x0001D000 DT_SIZE_K(128)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
5
tests/subsys/fs/littlefs/boards/lpcxpresso55s16.conf
Normal file
5
tests/subsys/fs/littlefs/boards/lpcxpresso55s16.conf
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Copyright 2023 NXP
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
CONFIG_FS_LITTLEFS_PROG_SIZE=512
|
||||||
|
CONFIG_FS_LITTLEFS_CACHE_SIZE=512
|
16
tests/subsys/fs/littlefs/boards/lpcxpresso55s16.overlay
Normal file
16
tests/subsys/fs/littlefs/boards/lpcxpresso55s16.overlay
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2025 NXP
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
/delete-node/ &storage_partition;
|
||||||
|
|
||||||
|
&flash0 {
|
||||||
|
partitions {
|
||||||
|
small_partition: partition@1D000 {
|
||||||
|
label = "small";
|
||||||
|
reg = <0x0001D000 DT_SIZE_K(128)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
5
tests/subsys/fs/littlefs/boards/lpcxpresso55s28.conf
Normal file
5
tests/subsys/fs/littlefs/boards/lpcxpresso55s28.conf
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Copyright 2023 NXP
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
CONFIG_FS_LITTLEFS_PROG_SIZE=512
|
||||||
|
CONFIG_FS_LITTLEFS_CACHE_SIZE=512
|
16
tests/subsys/fs/littlefs/boards/lpcxpresso55s28.overlay
Normal file
16
tests/subsys/fs/littlefs/boards/lpcxpresso55s28.overlay
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2025 NXP
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
/delete-node/ &storage_partition;
|
||||||
|
|
||||||
|
&flash0 {
|
||||||
|
partitions {
|
||||||
|
small_partition: partition@5D000 {
|
||||||
|
label = "small";
|
||||||
|
reg = <0x0005D000 DT_SIZE_K(128)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
5
tests/subsys/fs/littlefs/boards/lpcxpresso55s36.conf
Normal file
5
tests/subsys/fs/littlefs/boards/lpcxpresso55s36.conf
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Copyright 2023 NXP
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
CONFIG_FS_LITTLEFS_PROG_SIZE=512
|
||||||
|
CONFIG_FS_LITTLEFS_CACHE_SIZE=512
|
16
tests/subsys/fs/littlefs/boards/lpcxpresso55s36.overlay
Normal file
16
tests/subsys/fs/littlefs/boards/lpcxpresso55s36.overlay
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2025 NXP
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
/delete-node/ &storage_partition;
|
||||||
|
|
||||||
|
&flash0 {
|
||||||
|
partitions {
|
||||||
|
small_partition: partition@1D800 {
|
||||||
|
label = "small";
|
||||||
|
reg = <0x0001D800 DT_SIZE_K(128)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
|
@ -0,0 +1,5 @@
|
||||||
|
# Copyright 2023 NXP
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
CONFIG_FS_LITTLEFS_PROG_SIZE=512
|
||||||
|
CONFIG_FS_LITTLEFS_CACHE_SIZE=512
|
|
@ -0,0 +1,16 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2025 NXP
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
/delete-node/ &storage_partition;
|
||||||
|
|
||||||
|
&flash0 {
|
||||||
|
partitions {
|
||||||
|
small_partition: partition@75800 {
|
||||||
|
label = "small";
|
||||||
|
reg = <0x00075800 DT_SIZE_K(128)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
24
tests/subsys/fs/littlefs/boards/mimxrt1010_evk.overlay
Normal file
24
tests/subsys/fs/littlefs/boards/mimxrt1010_evk.overlay
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2025 NXP
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
/delete-node/ &storage_partition;
|
||||||
|
|
||||||
|
&at25sf128a {
|
||||||
|
partitions {
|
||||||
|
large_partition: partition@C00000 {
|
||||||
|
label = "large";
|
||||||
|
reg = <0x00C00000 DT_SIZE_M(3)>;
|
||||||
|
};
|
||||||
|
medium_partition: partition@F00000 {
|
||||||
|
label = "medium";
|
||||||
|
reg = <0x00F00000 DT_SIZE_K(960)>;
|
||||||
|
};
|
||||||
|
small_partition: partition@FF0000 {
|
||||||
|
label = "small";
|
||||||
|
reg = <0x00FF0000 DT_SIZE_K(64)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
24
tests/subsys/fs/littlefs/boards/mimxrt1015_evk.overlay
Normal file
24
tests/subsys/fs/littlefs/boards/mimxrt1015_evk.overlay
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2025 NXP
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
/delete-node/ &storage_partition;
|
||||||
|
|
||||||
|
&at25sf128a {
|
||||||
|
partitions {
|
||||||
|
large_partition: partition@C00000 {
|
||||||
|
label = "large";
|
||||||
|
reg = <0x00C00000 DT_SIZE_M(3)>;
|
||||||
|
};
|
||||||
|
medium_partition: partition@F00000 {
|
||||||
|
label = "medium";
|
||||||
|
reg = <0x00F00000 DT_SIZE_K(960)>;
|
||||||
|
};
|
||||||
|
small_partition: partition@FF0000 {
|
||||||
|
label = "small";
|
||||||
|
reg = <0x00FF0000 DT_SIZE_K(64)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
24
tests/subsys/fs/littlefs/boards/mimxrt1040_evk.overlay
Normal file
24
tests/subsys/fs/littlefs/boards/mimxrt1040_evk.overlay
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2025 NXP
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
/delete-node/ &storage_partition;
|
||||||
|
|
||||||
|
&w25q64jvssiq {
|
||||||
|
partitions {
|
||||||
|
large_partition: partition@400000 {
|
||||||
|
label = "large";
|
||||||
|
reg = <0x00400000 DT_SIZE_M(3)>;
|
||||||
|
};
|
||||||
|
medium_partition: partition@700000 {
|
||||||
|
label = "medium";
|
||||||
|
reg = <0x00700000 DT_SIZE_K(960)>;
|
||||||
|
};
|
||||||
|
small_partition: partition@7F0000 {
|
||||||
|
label = "small";
|
||||||
|
reg = <0x007F0000 DT_SIZE_K(64)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
|
@ -0,0 +1,24 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2025 NXP
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
/delete-node/ &storage_partition;
|
||||||
|
|
||||||
|
&s26ks512s0 {
|
||||||
|
partitions {
|
||||||
|
large_partition: partition@3400000 {
|
||||||
|
label = "large";
|
||||||
|
reg = <0x03400000 DT_SIZE_M(4)>;
|
||||||
|
};
|
||||||
|
medium_partition: partition@3800000 {
|
||||||
|
label = "medium";
|
||||||
|
reg = <0x03800000 DT_SIZE_M(4)>;
|
||||||
|
};
|
||||||
|
small_partition: partition@3C00000 {
|
||||||
|
label = "small";
|
||||||
|
reg = <0x03C00000 DT_SIZE_M(4)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
|
@ -0,0 +1,24 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2025 NXP
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
/delete-node/ &storage_partition;
|
||||||
|
|
||||||
|
&w25q512nw {
|
||||||
|
partitions {
|
||||||
|
large_partition: partition@3C00000 {
|
||||||
|
label = "large";
|
||||||
|
reg = <0x03C00000 DT_SIZE_M(3)>;
|
||||||
|
};
|
||||||
|
medium_partition: partition@3F00000 {
|
||||||
|
label = "medium";
|
||||||
|
reg = <0x03F00000 DT_SIZE_K(960)>;
|
||||||
|
};
|
||||||
|
small_partition: partition@3FF0000 {
|
||||||
|
label = "small";
|
||||||
|
reg = <0x03FF0000 DT_SIZE_K(64)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
|
@ -0,0 +1,24 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2025 NXP
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
/delete-node/ &storage_partition;
|
||||||
|
|
||||||
|
&w25q128jw {
|
||||||
|
partitions {
|
||||||
|
large_partition: partition@C00000 {
|
||||||
|
label = "large";
|
||||||
|
reg = <0x00C00000 DT_SIZE_M(3)>;
|
||||||
|
};
|
||||||
|
medium_partition: partition@F00000 {
|
||||||
|
label = "medium";
|
||||||
|
reg = <0x00F00000 DT_SIZE_K(960)>;
|
||||||
|
};
|
||||||
|
small_partition: partition@FF0000 {
|
||||||
|
label = "small";
|
||||||
|
reg = <0x00FF0000 DT_SIZE_K(64)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
|
@ -0,0 +1,24 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2025 NXP
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
/delete-node/ &storage_partition;
|
||||||
|
|
||||||
|
&mx25um51345g {
|
||||||
|
partitions {
|
||||||
|
large_partition: partition@3C00000 {
|
||||||
|
label = "large";
|
||||||
|
reg = <0x03C00000 DT_SIZE_M(3)>;
|
||||||
|
};
|
||||||
|
medium_partition: partition@3F00000 {
|
||||||
|
label = "medium";
|
||||||
|
reg = <0x03F00000 DT_SIZE_K(960)>;
|
||||||
|
};
|
||||||
|
small_partition: partition@3FF0000 {
|
||||||
|
label = "small";
|
||||||
|
reg = <0x03FF0000 DT_SIZE_K(64)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
|
@ -0,0 +1,24 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2025 NXP
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
/delete-node/ &storage_partition;
|
||||||
|
|
||||||
|
&mx25um51345g {
|
||||||
|
partitions {
|
||||||
|
large_partition: partition@3C00000 {
|
||||||
|
label = "large";
|
||||||
|
reg = <0x03C00000 DT_SIZE_M(3)>;
|
||||||
|
};
|
||||||
|
medium_partition: partition@3F00000 {
|
||||||
|
label = "medium";
|
||||||
|
reg = <0x03F00000 DT_SIZE_K(960)>;
|
||||||
|
};
|
||||||
|
small_partition: partition@3FF0000 {
|
||||||
|
label = "small";
|
||||||
|
reg = <0x03FF0000 DT_SIZE_K(64)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
Loading…
Add table
Add a link
Reference in a new issue