mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
4034f96169
Currently read(), write() and erase() all use 32 bit addressing. This is a problem when writing to media > 4 GiB, e.g. SD cards. The current implementation would wrap around after 4 GiB and corrupt data. To avoid this, add functions to the MTD subsystem that allow for page-wise addressing. This is how most of the underling storage drivers and the file-systems above work anyway. In the future we should then deprecate the 32-bit functions if all drivers are converted. |
||
---|---|---|
.. | ||
Makefile | ||
Makefile.dep | ||
mtd-vfs.c | ||
mtd.c |