1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/sdmmc/Makefile.dep
Gunar Schorcht 5393c7571a drivers/sdmmc: fix dependencies for ztimer_msec
Enabling `ztimer_msec` through `sdmmc` in case `ztimer_usec` is not enabled will not work if the dependencies for `sdmmc` are resolved before the dependencies of another module that enables `ztimer_usec`. Therefore, `ztimer_msec` has to be enabled by `sdmmc`
2023-09-29 07:48:32 +02:00

15 lines
365 B
Makefile

FEATURES_REQUIRED += periph_sdmmc
FEATURES_OPTIONAL += periph_sdmmc_auto_clk
FEATURES_OPTIONAL += periph_sdmmc_auto_cmd12
FEATURES_OPTIONAL += periph_sdmmc_hs
ifneq (,$(filter sdmmc_mmc,$(USEMODULE)))
FEATURES_REQUIRED += periph_sdmmc_mmc
endif
ifneq (,$(filter sdmmc_sdhc,$(USEMODULE)))
FEATURES_REQUIRED += periph_sdmmc_sdhc
endif
USEMODULE += ztimer_msec