@lupyuen
"If reading data from an SD Card is a requirement, then FAT32 is the only choice."

TBH, is you save data to an sd card it is almost always because you want to read the file later on a host. Maybe there will be a linux driver soon.

@jeancf

Well, there is also needs for storing data in a device that is not "ejectable" such as flash memory on PCB.

Btw, do you know of any FAT32 implementation suitable for tiny microcontrollers, i.e. no posix available?

@lupyuen

@niclas @jeancf @lupyuen FatFs <elm-chan.org/fsw/ff/00index_e.> is a portable implementation that even goes up to exFAT; we use it a lot in @RIOT_OS.

@niclas @lupyuen @RIOT_OS If rust is your thing, I wrote a bare metal driver for FATFS for the Sipeed Longan Nano that uses a lot of embedded-hal traits and should therefore easily portable.
gitlab.com/jeancf/longan-nano-

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.