We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
The main page says for File System here https://github.com/esp8266/Arduino/blob/master/doc/filesystem.rst
Note: to use any of file system functions in the sketch, add the following include to the sketch: #include "FS.h"
#include "FS.h"
The note seems to indicate that FS.h will cover both SPIFFS or LitttleFS.
I followed the guide to convert from SPIFFS to LittleFS and got compiler errors : LittleFS was not declared in this scope.
LittleFS was not declared in this scope.
I finally found that #include <LittleFS.h> instead of <FS.h> solves the issue.
#include <LittleFS.h>
As a side note, it is confusing that Arduino IDE recognises SPIFFS as a keyword and not LittleFS. keywords.txt is missing for this lib.
Hope it helps, Al
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Hello,
The main page says for File System here https://github.com/esp8266/Arduino/blob/master/doc/filesystem.rst
The note seems to indicate that FS.h will cover both SPIFFS or LitttleFS.
I followed the guide to convert from SPIFFS to LittleFS and got compiler errors :
LittleFS was not declared in this scope.
I finally found that
#include <LittleFS.h>
instead of <FS.h> solves the issue.As a side note, it is confusing that Arduino IDE recognises SPIFFS as a keyword and not LittleFS.
keywords.txt is missing for this lib.
Hope it helps,
Al
The text was updated successfully, but these errors were encountered: