From 9122edd57c9908c5b30220ab3b5090c335b0f6a1 Mon Sep 17 00:00:00 2001 From: bernard Date: Mon, 9 Oct 2017 15:12:42 +0800 Subject: [PATCH] [Kconfig] Add more descrip for Kconfig --- components/dfs/KConfig | 10 +++++----- components/drivers/KConfig | 14 ++++++++------ 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/components/dfs/KConfig b/components/dfs/KConfig index 2912a8b47..7175b5f98 100644 --- a/components/dfs/KConfig +++ b/components/dfs/KConfig @@ -10,10 +10,6 @@ if RT_USING_DFS config DFS_USING_WORKDIR bool "Using working directory" default y - - config RT_DFS_ELM_WORD_ACCESS - bool "Using RT_DFS_ELM_WORD_ACCESS" - default y config DFS_FILESYSTEMS_MAX int "The maximal number of mounted file system" @@ -32,7 +28,11 @@ if RT_USING_DFS config RT_DFS_ELM_CODE_PAGE int "OEM code page" default 437 - + + config RT_DFS_ELM_WORD_ACCESS + bool "Using RT_DFS_ELM_WORD_ACCESS" + default y + choice prompt "Support long file name" default RT_DFS_ELM_USE_LFN_0 diff --git a/components/drivers/KConfig b/components/drivers/KConfig index f658650ce..36e3431f4 100644 --- a/components/drivers/KConfig +++ b/components/drivers/KConfig @@ -19,10 +19,10 @@ config RT_USING_HWTIMER config RT_USING_I2C bool "Using I2C device drivers" default n - + if RT_USING_I2C config RT_USING_I2C_BITOPS - bool "Using I2C device BITOPS " + bool "Use GPIO to simulate I2C" default y endif @@ -37,10 +37,12 @@ config RT_USING_MTD_NOR config RT_USING_MTD_NAND bool "Using MTD Nand Flash device drivers" default n - -config RT_MTD_NAND_DEBUG - bool "Using MTD NAND Flash DEBUG" - default n + + if RT_USING_MTD_NAND + config RT_MTD_NAND_DEBUG + bool "Enable MTD Nand operations debug information" + default n + endif config RT_USING_RTC bool "Using RTC device drivers" -- GitLab