1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

8 Commits

Author SHA1 Message Date
chrysn
47148642f9 drivers/mtd_{mci,sdcard}: Pages need to be written at once
See-Also: https://github.com/RIOT-OS/RIOT/pull/17683#issuecomment-1084245744
2022-03-31 10:58:52 +02:00
Francisco Molina
14ef09b8b4 drivers/mtd: fix Kconfig dependencies
Currently implementations of the MTD api are selecting the module,
this makes it easy for default backends to be selected. But the
correct modeling is simply selecting the MTD api and then selecting
a backend. BOARDs providing one of the backends can expose this and
then that backend can be selected by default.

There is also currently nothing preventing from using the MTD api
with no backend since a mock backend can easily be provided as is
done in all mtd tests.
2021-09-22 09:22:51 +02:00
Benjamin Valentin
c569d9a1d9 drivers: add MTD_DRIVER_FLAG_DIRECT_WRITE to mtd drivers
- EEPROMs don't need read-modify-write cylce
 - SD cards will handle read-modify-write internally
2021-01-28 11:51:28 +01:00
Leandro Lanzieri
db3349d052
drivers/mtd_mci: add module to Kconfig 2021-01-18 10:42:34 +01:00
Bas Stottelaar
62994dfb16 drivers/*: replace #if ENABLE_DEBUG with IS_ACTIVE 2020-11-02 21:34:12 +01:00
Bas Stottelaar
92b1dfc703 drivers/*: realign ENABLE_DEBUG 2020-10-23 01:26:09 +02:00
03c527e24d
drivers/mtd_mci: fix typo 'suports' -> 'supports' 2020-10-02 08:06:48 +02:00
Benjamin Valentin
f738ac66d3 drivers/mtd_mci: add MTD wrapper for MCI driver 2020-09-25 15:26:02 +02:00