mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-27 15:31:17 +01:00
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.