Conversation
This was referenced Jan 8, 2026
Igor-Misic
previously approved these changes
Jan 9, 2026
Member
Igor-Misic
left a comment
There was a problem hiding this comment.
Looks good to me. We should aim to rename /fs/microsd to something more generic, or storage related in the future.
Member
Actually you can do that easily Lines 188 to 190 in ec8f343 Default is |
b4deb7c to
5704cb9
Compare
This cherry-picks upstream commits adding NAND flash support for the Winbond W25N specifically W25N01GV chip. NAND flash is used together with littlefs, hence I updated that to 2.5.1 to match upstream NuttX.
Increase stack size when using littlefs filesystem, which requires more stack space than traditional filesystems.
- Initialize W25N01GV NAND flash on SPI1 with littlefs. - Enable BOARD_SMALL_FLASH_LOGGING for small flash handling. - Increase logger buffer size for flash write performance.
5704cb9 to
89fc4b1
Compare
Contributor
Author
|
Fixed what came up during review, merging. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Solved Problem and solution
This brings support for the Winbond W25N NAND flash chip specifically W25N01GV chip with 128 MB.
NAND flash is used together with littlefs, updated to v2.5.1.
This driver is bench tested using the KakuteH7v2 and will be used for the Gear Up AirbrainH743 as well.
Changelog Entry
For release notes:
Alternatives
No support for NAND flash.
Test coverage
Bench tested, manually and using logger.
Context
Also see: apache/nuttx#17552 and apache/nuttx#17706