Skip to content
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

LittleFS Support #643

Closed

Conversation

MitchBradley
Copy link
Contributor

@MitchBradley MitchBradley commented Oct 11, 2021

This PR adds LittleFS support for buildfs and uploadfs targets. It is modeled on the espressif8266 support for LittleFS. To choose LittleFS, add

board_build.filesystem = littlefs

in an [env] section. For compatibility with existing framework code that does not yet support "littlefs" partition subtypes, the partition map can contain either a "spiffs" partition subtype or a "littlefs" partition subtype (which is not yet available in the currently-released framework code). If the partition map contains a littlefs partition, the littlefs image will be placed therein; if not, the littlefs image will be placed in a spiffs partition. This addresses issue #570

valeros and others added 7 commits August 11, 2021 12:17
You can still use partition maps that refer to a spiffs
partition - the LittleFS image will be put there.
When the framework code is updated to include LittleFS
partitions, the partition can be renamed to littlefs
and that will work too.
@MitchBradley MitchBradley changed the base branch from develop to feature/arduino-upstream October 11, 2021 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants