mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
7d291b5707
SD cards are usually larger than 4 GiB, so using 32 bit addressing will break once they are filled to a certain extend. Implement read_page() and write_page() which at a page size of 512 should work for SD cards of up to 2 TiB. The read() and write() functions will ignore any offset that is not aligned with the page boundary, so do the same for the new functions, but at least report an error. |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mtd_sdcard.c |