Hacker News new | past | comments | ask | show | jobs | submit login

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.



Yeah, littlefs wear leveling can be turned off for this case. Protection against corruption, and posix like api at small size is still useful.


Uh I didn’t know that - have you run it on an SD card successfully? What options did you use?


You 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.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: