Trying to port some Esp8266 software to ESP32.
The issue I have is with LittleFS. In the esp8266 I use a type 'Dir', as in
Code: Select all
Dir dir = LittleFS.openDir(directory);
However, when trying to compile this code for ESP32 I get an error 'error: 'Dir' has not been declared'.
And it seems that the info structure is also not defined for esp32
Code: Select all
FSInfo fs_info_webserver;
LittleFS.info(fs_info_webserver);
I have searched for 2 hours now, could not find the solution.
What am i missing? The littlefs lib is fixed in the arduino Ide is it not? Or do i have to install another library?
Your input will be appreciated.