3 ms·
Unfortunately LittleFS is very slow on large (multi-GB) storage like SD cards. Also SD cards are managed flash, so you don't need to do wear leveling in the FS.
by pantalaimon 5y ago
Unfortunately LittleFS is very slow on large (multi-GB) storage like SD cards.
Also SD cards are managed flash, so you don't need to do wear leveling in the FS.
- Inviz 5y agoYeah, littlefs wear leveling can be turned off for this case. Protection against corruption, and posix like api at small size is still useful.
- pantalaimon 5y agoUh I didn’t know that - have you run it on an SD card successfully? What options did you use?
- kevin_thibedeau 5y agoYou set block_cycles to -1 to disable wear leveling and have the erase callback be a NOP that just returns success. Other geometry parameters can be whatever suits you.