circuitpython/drivers/sdcard
Ayke van Laethem a275cb0f48 drivers/sdcard: Avoid allocation on the heap.
This commit fixes two things:
 1. Do not allocate on the heap in readblocks() - unless the block size
    is bigger than 512 bytes.
 2. Raise an error instead of returning 1 to indicate an error: the FAT
    block device layer does not check the return value. And other
    backends (e.g. esp32 blockdev) also raise an error instead of
    returning non-zero.
2018-01-10 19:14:46 +11:00
..
sdcard.py drivers/sdcard: Avoid allocation on the heap. 2018-01-10 19:14:46 +11:00
sdtest.py drivers/sdcard: Add support for multi-block read/write; add SD test. 2016-02-02 11:16:15 +00:00