I’ve lost latest updated on SD card development.
Right now what is the option avaiable to acces SD card?
PetitFatFS vs SDFileSystem vs TheUltimateSDLibrary™?
Forum is full of information but all scattered around, and mixed by issues and different timeline.
Practically I needs to write about 18k to the SD card without critical speed.
As bonus I’d like to keep the same code for pokitto sim and hardware as close as possible.
I’m looking at the Example “SDCardIO” and I’m in doubt about the different path used beetween SIM and HW .
Also what is the “sd” mount point in the path?
Preferably something a bit like a stripped down std::FILE,
but less pointers, more RAII and more member functions,
and a few filesystem-like features.
Focusing only on moving bytes and files around, leaving character encoding to another library.
And it would be moveable, but not copyable,
and the file would close when the destructor is called,
so you can just let the file fall out of scope.
Or maybe the reading API and the writing API would be split into FileReader and FileWriter?
Actually yes, separate APIs for reading and writing is probably better to start with.
Mixing reading and writing can cause big headaches.