FAT filesystem appears to be corrupted
Re: FAT filesystem appears to be corrupted
Maybe I will take a look at adding SPIFFS. By coincidence it says it was inspired by YAFFS which I have used recently (well YAFFS2 on NAND) and some years back did some StrongARM work for Aleph1 down the road who kind of commissioned YAFFS. It's a small world.
Re: FAT filesystem appears to be corrupted
That would be a great addition! I think the way it is done, it would also become available for all other ports.
I think there is a flash-friendly filesystem implemented for the microbit, maybe that would be useful: https://github.com/bbcmicrobit/micropyt ... lesystem.c
I think there is a flash-friendly filesystem implemented for the microbit, maybe that would be useful: https://github.com/bbcmicrobit/micropyt ... lesystem.c
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: FAT filesystem appears to be corrupted
Yes indeeddeshipu wrote:That would be a great addition! I think the way it is done, it would also become available for all other ports.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: FAT filesystem appears to be corrupted
I have now got a basic SPIFFS filesystem on a simulated flash going under MicroPython on UNIX.
There's a lot I haven't done like integrate it properly (with the open built-in for example) or create many of the methods one might expect for files and there's some hackery but it does seem to work and am starting on ESP integration now.
There's a lot I haven't done like integrate it properly (with the open built-in for example) or create many of the methods one might expect for files and there's some hackery but it does seem to work and am starting on ESP integration now.