Closed
Description
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"
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
Metadata
Metadata
Assignees
Labels
No labels