Kconfig 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. menuconfig RT_USING_SDIO
  2. bool "Using SD/MMC device drivers"
  3. select RT_USING_BLK
  4. default n
  5. help
  6. Enable the SDIO/MMC host stack so SD cards and eMMC devices can be
  7. enumerated and exposed as block devices. Requires the block layer and an
  8. SDIO host controller driver.
  9. if RT_USING_SDIO
  10. config RT_SDIO_STACK_SIZE
  11. int "The stack size for sdio irq thread"
  12. default IDLE_THREAD_STACK_SIZE
  13. help
  14. Stack size for the SDIO interrupt handler thread; increase if your
  15. controller driver performs complex processing in IRQ context.
  16. config RT_SDIO_THREAD_PRIORITY
  17. int "The priority level value of sdio irq thread"
  18. default 15
  19. help
  20. Scheduler priority assigned to the SDIO IRQ thread.
  21. config RT_MMCSD_STACK_SIZE
  22. int "The stack size for mmcsd thread"
  23. default IDLE_THREAD_STACK_SIZE
  24. help
  25. Stack size for the mmc/sd management thread that handles requests.
  26. config RT_MMCSD_THREAD_PRIORITY
  27. int "The priority level value of mmcsd thread"
  28. default 22
  29. help
  30. Priority for the mmc/sd management thread; tune relative to other
  31. storage tasks.
  32. config RT_MMCSD_MAX_PARTITION
  33. int "mmcsd max partition"
  34. default 16
  35. help
  36. Maximum number of partitions to scan on an SD/MMC device.
  37. config RT_SDIO_DEBUG
  38. bool "Enable SDIO debug log output"
  39. default n
  40. help
  41. Print verbose SDIO/MMC driver logs for debugging.
  42. config RT_USING_SDHCI
  43. bool "Using sdhci for sd/mmc drivers"
  44. default n
  45. help
  46. Build the SD Host Controller Interface (SDHCI) compatible driver.
  47. Enable when your controller follows the SDHCI specification.
  48. endif
  49. if RT_USING_DM && RT_USING_SDIO
  50. rsource "host/Kconfig"
  51. endif