mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
5393c7571a
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`
15 lines
365 B
Makefile
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
|