Juerd / ESP-WiFiSettings

WiFi Manager for the ESP32 Arduino environment
Other
166 stars 34 forks source link

fix for (or solve-direction suggestion) "filesystem not mounted" error #27

Closed folkertvanheusden closed 1 year ago

folkertvanheusden commented 1 year ago

It looks like that at least on an ESP32, including LittleFS.h (orSPIFFS.h) on two locations makes access to fail.

Thus: if you include it only in the WiFiSettings.cpp file and also invoke the begin there, then it works fine: no more "[E][vfs_api.cpp:24] open(): File system is not mounted" errors.

Juerd commented 1 year ago

I don't know what's causing the issues you've encountered, but the fix you're suggesting would be backwards incompatible to the point of breaking each and every existing installation, so that's not a viable route to take.