menuconfig RT_USING_SDIO bool "Using SD/MMC device drivers" select RT_USING_BLK default n help Enable the SDIO/MMC host stack so SD cards and eMMC devices can be enumerated and exposed as block devices. Requires the block layer and an SDIO host controller driver. if RT_USING_SDIO config RT_SDIO_STACK_SIZE int "The stack size for sdio irq thread" default IDLE_THREAD_STACK_SIZE help Stack size for the SDIO interrupt handler thread; increase if your controller driver performs complex processing in IRQ context. config RT_SDIO_THREAD_PRIORITY int "The priority level value of sdio irq thread" default 15 help Scheduler priority assigned to the SDIO IRQ thread. config RT_MMCSD_STACK_SIZE int "The stack size for mmcsd thread" default IDLE_THREAD_STACK_SIZE help Stack size for the mmc/sd management thread that handles requests. config RT_MMCSD_THREAD_PRIORITY int "The priority level value of mmcsd thread" default 22 help Priority for the mmc/sd management thread; tune relative to other storage tasks. config RT_MMCSD_MAX_PARTITION int "mmcsd max partition" default 16 help Maximum number of partitions to scan on an SD/MMC device. config RT_SDIO_DEBUG bool "Enable SDIO debug log output" default n help Print verbose SDIO/MMC driver logs for debugging. config RT_USING_SDHCI bool "Using sdhci for sd/mmc drivers" default n help Build the SD Host Controller Interface (SDHCI) compatible driver. Enable when your controller follows the SDHCI specification. endif if RT_USING_DM && RT_USING_SDIO rsource "host/Kconfig" endif