Overview of littlefs
masterlittlefs is a fail-safe filesystem designed specifically for microcontrollers. It features:
- Power-loss resilience: Uses strong copy-on-write guarantees to ensure the filesystem falls back to the last known good state if power is lost during operations.
- Dynamic wear leveling: Designed for flash memory, providing wear leveling over dynamic blocks and the ability to detect and work around bad blocks.
- Bounded RAM/ROM: RAM usage is strictly bounded and does not increase as the filesystem grows. It avoids unbounded recursion and allows for static buffer configuration to avoid dynamic memory allocation.