diff --git a/arch/arm/src/stm32/Kconfig b/arch/arm/src/stm32/Kconfig index 64356f2a53c..c7c46b04038 100644 --- a/arch/arm/src/stm32/Kconfig +++ b/arch/arm/src/stm32/Kconfig @@ -1266,6 +1266,7 @@ config STM32_SDIO default n depends on !STM32_CONNECTIVITYLINE && !STM32_VALUELINE select ARCH_HAVE_SDIO + select ARCH_HAVE_SDIOWAIT_WRCOMPLETE select SDIO_PREFLIGHT config STM32_SPI1 diff --git a/drivers/mmcsd/Kconfig b/drivers/mmcsd/Kconfig index f78232ebb2e..33f70bb4b61 100755 --- a/drivers/mmcsd/Kconfig +++ b/drivers/mmcsd/Kconfig @@ -38,9 +38,14 @@ config MMCSD_HAVECARDDETECT SDIO driver card detection is 100% accurate +config ARCH_HAVE_SDIOWAIT_WRCOMPLETE + bool + default n + config MMCSD_SDIOWAIT_WRCOMPLETE bool "Use SDIO_D Busy to detect Write Complete" default n + depends on ARCH_HAVE_SDIOWAIT_WRCOMPLETE ---help--- SDIO driver will use SDIO_D Busy signalling to detect Write Complete. This option when selected, will enable the MMCSD driver to use the