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:
Andrej Butok 2025-04-07 13:26:35 +02:00 committed by Benjamin Cabé
commit c4b92123d3
25 changed files with 403 additions and 0 deletions

View 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

View 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)>;
};
};
};

View 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

View 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)>;
};
};
};

View 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)>;
};
};
};

View 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)>;
};
};
};

View 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)>;
};
};
};

View 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

View 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)>;
};
};
};

View 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

View 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)>;
};
};
};

View 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

View 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)>;
};
};
};

View 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

View 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)>;
};
};
};

View 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

View file

@ -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)>;
};
};
};

View 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)>;
};
};
};

View 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)>;
};
};
};

View 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)>;
};
};
};

View file

@ -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)>;
};
};
};

View file

@ -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)>;
};
};
};

View file

@ -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)>;
};
};
};

View file

@ -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)>;
};
};
};

View file

@ -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)>;
};
};
};