1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/mtd
Benjamin Valentin 4034f96169 mtd: add page addressed operations
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.
2020-08-18 17:25:39 +02:00
..
Makefile mtd: add a low level generic driver for flash file system 2017-03-16 11:23:53 +01:00
Makefile.dep drivers: configure per driver dependency resolution 2020-07-20 14:32:16 +02:00
mtd-vfs.c mtd: Change API to return 0 on success 2020-05-06 20:24:27 +02:00
mtd.c mtd: add page addressed operations 2020-08-18 17:25:39 +02:00