Skip to content

Use precompiler to choose correct FS implementation at build time #111

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

Merged
merged 9 commits into from
Jul 19, 2020

Conversation

rjwats
Copy link
Owner

@rjwats rjwats commented May 17, 2020

This isn't ready for merging, keeping an eye on this. At the moment platformio only supports one file system for the "uploadfs" target:

platformio/platform-espressif8266#173

There are work arounds - slightly nasty. I think it's only worth building a work around if SPIFFS is removed and live with the deprecation warning for now. I'm sure platformio will introduce support for configuring the FS image type some time soon.

@proddy
Copy link

proddy commented Jul 17, 2020

PlatformIO just released 2.6.0 which has the option board_build.filesystem = littlefs for ESP8266 which can be queried at build time. There are also a few great ports of LittleFS to the ESP32 so I expect it'll available soon.

@rjwats
Copy link
Owner Author

rjwats commented Jul 17, 2020 via email

@rjwats rjwats merged commit c16f769 into master Jul 19, 2020
@rjwats rjwats deleted the littlefs branch July 19, 2020 18:32
@rjwats
Copy link
Owner Author

rjwats commented Jul 19, 2020

Thx for the help on this. As always, any issues let me know.

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.

Update default esp8266 FS implementation to be LittleFS MQTT keep alive value of 16?
2 participants