summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nuttx/arch/arm/src/stm32/Kconfig1
-rwxr-xr-xnuttx/drivers/mmcsd/Kconfig5
2 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/stm32/Kconfig b/nuttx/arch/arm/src/stm32/Kconfig
index 64356f2a5..c7c46b040 100644
--- a/nuttx/arch/arm/src/stm32/Kconfig
+++ b/nuttx/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/nuttx/drivers/mmcsd/Kconfig b/nuttx/drivers/mmcsd/Kconfig
index f78232ebb..33f70bb4b 100755
--- a/nuttx/drivers/mmcsd/Kconfig
+++ b/nuttx/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