mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 04:30:24 +01:00
By measuring SD card addresses in blocks and not bytes, one can get away with using 32-bit numbers. This patch also uses proper atomic lock/unlock around SD card read/write, adds SD.info() function, and gives error code for failed read/writes.