1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/sdmmc/Kconfig
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

32 lines
799 B
Plaintext

# Copyright (c) 2020 HAW Hamburg
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
config MODULE_SDMMC
bool "SDIO/SD/MMC interface"
depends on HAS_PERIPH_SDMMC
select MODULE_PERIPH_SDMMC
select MODULE_ZTIMER_MSEC
if MODULE_SDMMC
config MODULE_SDMMC_MMC
bool "MMC support"
depends on HAS_PERIPH_SDMMC_MMC
help
Say y to support MMCs/eMMCs.
config MODULE_SDMMC_SDHC
bool
depends on HAS_PERIPH_SDMMC_SDHC
default y
help
SDHC driver is used as low-level SDIO/SD/MMC implementation for
peripherals that are compliant with SD Host Controller Simplified
Specification, Version 3.00.
endif # MODULE_SDMMC