circuitpython/shared-module
Jeff Epler f22299d2b3 sdcardio: Use CMD25 across multiple writeblocks() calls
This increases write rates (of gifio from #5490) from about 2.4fps to over
5fps by making more efficient use of the SD card protocol.

Because of details of oofatfs, it usually manages 64 writes in a single
CMD25, then two writes in a different area of the SD card (presumably,
filesystem metadata).  I couldn't find where to increase "64" to a higher
number. This may depend on the allocation size of the filesystem.

I tried preallocating too, but oddly it significantly lowered the write
rate.

Any trailing data is committed when the file is close()d, or when
the `sync` method of the SDCard object is called.
2021-10-25 10:59:28 -05:00
..
2021-10-15 08:20:54 -05:00
2021-03-15 19:27:36 +05:30
2021-03-15 19:27:36 +05:30
2021-10-15 08:20:54 -05:00
2021-05-21 17:49:50 -04:00
2021-03-15 19:27:36 +05:30
2021-10-15 08:20:54 -05:00
2021-09-26 09:39:40 +05:30
2021-10-15 08:20:54 -05:00
2021-03-15 19:27:36 +05:30
2021-09-16 21:08:05 -05:00
2021-03-15 19:27:36 +05:30
2017-11-02 12:41:50 -07:00
2021-03-15 19:27:36 +05:30
2021-10-15 08:20:54 -05:00
2021-07-12 14:40:01 -04:00
2021-03-15 19:27:36 +05:30
2021-05-27 11:33:17 -05:00
2021-03-15 19:27:36 +05:30
2020-11-25 17:52:06 -05:00
2021-03-15 19:27:36 +05:30
2021-10-15 08:20:54 -05:00
2021-03-15 19:27:36 +05:30