LittleFS
LittleFS start. Revisiting little fs. Got the code below to work: //06 From Arduino Examples #include <Arduino.h> #include "FS.h" #include <LittleFS.h> /* You only need to format LittleFS the first time you run a test or else use the LITTLEFS plugin to create a partition https://github.com/lorol/arduino-esp32littlefs-plugi If you test two partitions, you need to use a custom partition.csv file, see in the sketch folder */ //#define TWOPART #define FORMAT_LITTLEFS_IF_FAILED true void listDir ( fs::FS & fs , const char * dirname , uint8_t levels) { Serial . printf ( "Listing directory: %s\r\n" , dirname ) ; File root = fs . open ( dirname ) ; if ( !root ) { Serial . println ( "- failed to open directory" ) ; return ; } if ( ! root . isDirectory ()) { Serial . println ( " gg- not a directory" ) ; return ; ...