Skip to content

samples: littlefs: add lpcxpresso55s and frdm_mcx configuration #88155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions samples/subsys/fs/littlefs/boards/frdm_mcxa156.conf
Original file line number Diff line number Diff line change
@@ -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
Comment on lines +4 to +5
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to make sure, because documentation and Kconfig description fails to mention that: you do know that these are defaults for instances configured with macro FS_LITTLEFS_DECLARE_DEFAULT_CONFIG and DTS instances that did not provide some of params, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to make sure, because documentation and Kconfig description fails to mention that: you do know that these are defaults for instances configured with macro FS_LITTLEFS_DECLARE_DEFAULT_CONFIG and DTS instances that did not provide some of params, right?

Yes, this is part of the default (not custom) configuration structure used by the sample application for the storage partition.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UP

5 changes: 5 additions & 0 deletions samples/subsys/fs/littlefs/boards/frdm_mcxn236.conf
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions samples/subsys/fs/littlefs/boards/lpcxpresso55s06.conf
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions samples/subsys/fs/littlefs/boards/lpcxpresso55s16.conf
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions samples/subsys/fs/littlefs/boards/lpcxpresso55s28.conf
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions samples/subsys/fs/littlefs/boards/lpcxpresso55s36.conf
Original file line number Diff line number Diff line change
@@ -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