I have tried using the littlefs in an esp32 project iwth board_build.filesystem = littlefs
in platformio.ini. With this code …
#include "Arduino.h"
#include "LittleFS.h"
<snip>
File root = LittleFS.open("/", "r");
… I get 'LittleFS was not declared in this scope
.
So I assumed I have to load a library with littlefs. I went into Libraries in quick access and searched for littlefs. All I got was “lorol/LittleFS_esp32” which is incompatible with all littlefs code I have found.
What am I supposed to do?