summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraozima <[email protected]>2018-06-23 13:59:35 +0800
committerGitHub <[email protected]>2018-06-23 13:59:35 +0800
commit324c5da5cf9d6e7530ea65e5a7336ec6adf2cc5f (patch)
treec784b3c81092aa84df0c33e7a29a6ffd5478d14b
parentfdc350b763df73b1b3ce164eb3af2f79b073513f (diff)
parent43531cc27684cbcb986c7eef21b29be6186e6415 (diff)
Merge pull request #1560 from enkiller/Kconfig
[components][drivers]Kconfig添加SDIO相关配置
-rwxr-xr-xcomponents/drivers/Kconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/components/drivers/Kconfig b/components/drivers/Kconfig
index 1eb23df2f1..53468e1f90 100755
--- a/components/drivers/Kconfig
+++ b/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