1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

drivers/sdcard_spi: add auto_init_storage to DEFAULT_MODULE

sdcard_spi is the only driver in auto_init_storage and was previously
pulled in by fatsfs (because it's used on SD cards)

It does however make much more sense if the SD card driver pulls that in
so other file systems can be used on SD card too.
This commit is contained in:
Benjamin Valentin 2020-05-02 21:45:40 +02:00
parent 8136edca95
commit 3b2cfa6478
2 changed files with 1 additions and 1 deletions

View File

@ -628,6 +628,7 @@ endif
ifneq (,$(filter sdcard_spi,$(USEMODULE)))
FEATURES_REQUIRED += periph_gpio
FEATURES_REQUIRED += periph_spi
DEFAULT_MODULE += auto_init_storage
USEMODULE += checksum
USEMODULE += xtimer
endif

View File

@ -1,5 +1,4 @@
USEMODULE += fatfs_diskio_mtd
DEFAULT_MODULE += auto_init_storage
USEMODULE += mtd
# Use RTC for timestamps if available