Closed ramiws closed 1 year ago
If power is removed while performing a write with FAT, there's a very real possibility that the entire filesystem becomes corrupt. You can see a writeup here: https://os.mbed.com/blog/entry/littlefs-high-integrity-embedded-fs/
This implementation is not written or maintained by espressif, but I do my best maintaining it. It is properly packaged and hosted on espressif's component registry.
It's semi-official in the sense that it is used in arduino-esp32 and is the generally recommended way of using littlefs on the esp32.
Thanks for clarifying! Would littlefs work with flash encryption on esp32 variants? and it has own internal weal levelling? I do not have to use the one in idf?
It should work with encryption and it has its own internal wear leveling. However, I have not independently done an extensive test on either.
closing due to inactivity.
Hi,
Is there more of technical or subjective description of why FAT is too fragile? I am porting an esp8266 code that used littltFS to esp32-s3 idf and I had to use FAT as it seems the only thing officially supported, but now I found this repo in the official components. So the official FAT implementation is fragile, and this implementation of littlefs is not? but it is semi official? could you clarify what is the deal?