Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8037

Python • Re: An equivalent of 'littlefs-python' for FAT ?

$
0
0
Thanks. I was also surprised there's not much out there, and what there is seems to wants to see whole disks or partitions and not whatever FatFS creates. There is a Python wrapper for FatFS but it's incomplete, alpha status.

It seems there are two options; extract and wrap the FAT file system part from the Flash image with whatever it takes to make it understandable by something which exists, or write a DIY FAT filesystem walker.

I have coded SD Card readers in the past so I will probably favour the DIY route. Hopefully I can recall what I did back then and the re-learning curve will be short. Luckily FAT isn't complicated. At least that way I should be able to create something with the same API as 'littlelfs-python'.

I think that might become this weekend's adventure.

Statistics: Posted by hippy — Thu Jul 17, 2025 4:34 pm



Viewing all articles
Browse latest Browse all 8037

Trending Articles