Skip to content
Snippets Groups Projects
Commit 1d7fb82f authored by Damien George's avatar Damien George
Browse files

stmhal: Change 64-bit arithmetic to 32-bit for SD card block addressing.

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.
parent 6ff42c54
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment