You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now even very small writes to a sector write the sector in full to the card, which blocks for a long time. Add logic to wait until the sector buffer is full, or is explicitly flushed by the user.
add a separate metadata buffer
find a way to eliminate the need to read in the FAT every time fseek() is called, to reduce unnecessary SD access; maybe set a flag indicating what kind of data is currently in the metadata buffer, and if it's the correct FAT sector, then do nothing
add a method to 'queue' data
add a mechanism for explicitly flushing the write buffer
rewrite fwrite() to wait until sector buffer is full
The text was updated successfully, but these errors were encountered:
Right now even very small writes to a sector write the sector in full to the card, which blocks for a long time. Add logic to wait until the sector buffer is full, or is explicitly flushed by the user.
fseek()
is called, to reduce unnecessary SD access; maybe set a flag indicating what kind of data is currently in the metadata buffer, and if it's the correct FAT sector, then do nothingfwrite()
to wait until sector buffer is fullThe text was updated successfully, but these errors were encountered: