|
FastLED 3.10.9
|
| FsImplPtr fl::getEmbeddedFs | ( | bool | format_on_fail = false | ) |
Filesystem backed by the microcontroller's own flash, or null where the platform has none.
| format_on_fail | Format and mount when the storage is absent or corrupt. Off by default: reformatting discards whatever was there, which is rarely wanted unprompted. |
Honored by the native ESP32 backend when it owns the mount. An optional Arduino provider borrows application-mounted storage; its owner handles formatting. ESP8266 exposes a no-argument begin() with no such hook and ignores it — an unformatted filesystem there simply fails to mount, which is the safe outcome either way.
Definition at line 50 of file embedded_fs.cpp.hpp.
References FL_NO_EXCEPT.