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:
parent
8136edca95
commit
3b2cfa6478
@ -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
|
||||
|
@ -1,5 +1,4 @@
|
||||
USEMODULE += fatfs_diskio_mtd
|
||||
DEFAULT_MODULE += auto_init_storage
|
||||
USEMODULE += mtd
|
||||
|
||||
# Use RTC for timestamps if available
|
||||
|
Loading…
Reference in New Issue
Block a user