Browse Source

[components][drivers]Kconfig添加SDIO相关配置

tangyuxin 7 years ago
parent
commit
43531cc276
1 changed files with 22 additions and 0 deletions
  1. 22 0
      components/drivers/Kconfig

+ 22 - 0
components/drivers/Kconfig

@@ -112,6 +112,28 @@ config RT_USING_SDIO
     bool "Using SD/MMC device drivers"
     default n
 
+    if RT_USING_SDIO
+        config RT_SDIO_STACK_SIZE
+            int "The stack size for sdio irq thread"
+            default 512
+
+        config RT_SDIO_THREAD_PRIORITY
+            int "The priority level value of sdio irq thread"
+            default 15
+
+        config RT_MMCSD_STACK_SIZE
+            int "The stack size for mmcsd thread"
+            default 1024
+
+        config RT_MMCSD_THREAD_PREORITY
+            int "The priority level value of mmcsd thread"
+            default 22
+
+        config RT_MMCSD_MAX_PARTITION
+            int "mmcsd max partition"
+            default 16
+    endif
+
 config RT_USING_SPI
     bool "Using SPI Bus/Device device drivers"
     default n