-
Notifications
You must be signed in to change notification settings - Fork 7
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
SPIFFS is deprecated and should be replaced by LittleFS #3
Comments
Users should should consider that switching from SPIFFS to LittleFS will cause loss of data on the file system since the two "have incompatible on-flash implementations". |
I like spiffs and have no plans to switch in the nearest future. |
The main reason why I like spiffs is I can create the filesystem on a PC and upload it to the MC. Is there a similar script that can create LittleFS file on a PC that could be later flashed into a MC.? |
Apparently, there is if I read this correctly: https://arduino-esp8266.readthedocs.io/en/latest/filesystem.html#uploading-files-to-file-system Edit: ESP8266LittleFS is the Name. I must admit, I haven't tested that tool, though. I also don't know how all this may affect the ESP32, to be honest. I only used EspBootstrap on ESP8266 for now. |
Originally I noticed the compilation to fail and saw the last output of the Arduino build which was the deprecation warning about SPIFFS. On closer inspection I just noticed that the actual cause of the failure are a lot of redefinition errors like this:
I have the feeling that the Now I don't really know what to do with that information, though... Would you mind checking if you can reproduce this? Just to be sure that my setup isn't just broken, somehow... |
Hello there. Apologies about this. I have started migrating the libs to be more PlatformIO friendly, and it is a long process with some breaks in between. I will look into this. |
Yes, there are tools integrating with Arduino IDE. |
I just opened a separate issue (#4) for this since it is unrelated to SPIFFS being deprecated. |
There seems to be a project that is directly based off of mkspiffs here: https://github.com/earlephilhower/mklittlefs I didn't really look into it but maybe this can do the trick. |
See https://arduino-esp8266.readthedocs.io/en/latest/filesystem.html#spiffs-deprecation-warning.
That page claims it should be relatively easy to switch over since they "share a compatible API"...
The text was updated successfully, but these errors were encountered: