mirror of
https://github.com/micropython/micropython.git
synced 2026-01-10 22:17:18 +01:00
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.
This directory contains drivers for specific hardware. The drivers are intended to work across multiple ports.