You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 4, 2023. It is now read-only.
I'm using your library and your examples as a starting point for my project. Thanks for sharing this!
I noticed that the following code
// Format SPIFFS if not yet
if (!FileFS.begin(true))
{
Serial.print(FS_Name);
Serial.println(F(" failed! AutoFormatting."));
}
seems to assume that FileFS.begin(true) returns false if the SPIFFS was un-initialized and needed to be formatted. In reality that call returns true if the mount has been successful, even if that required an auto-format, false only when the mount fails for whatever reason.
If the debug output is enabled, the LittleFS library debug messages overwrite any debug print from the Arduino thread, causing additional comprehension problems
If the call FileFS.begin(true) fails, that means that there is no SPIFFS, and your example should abort
The above applies to all your examples using SPIFFS for ESP32