I'm thinking to switch from FAT to LittleFS, after experiencing that FAT significantly slows down after a while on my SDCard.
My application stores a file every 15.8 secs on SDcard, and after a while I guess that FAT32 fragmentation affect the storage velocity.
I would like to know if LittleFS can overcome the fragmentation issue and if is it possibile to use it on SDCard connected through SDIO to an STM32 microcontroller.
Regards
STM32, SDIO and LittleFS
Re: STM32, SDIO and LittleFS
I do not have performance measurements to confirm this, but yes I would expect so.
Various STM32 boards supported by MicroPython have support for SDCard (over SDIO).
In all cases, the SDCard provides a block device, which can be mounted with either filesystem driver into the VFS. MicroPython works a lot like Unix in this regard.