Преглед на файлове

[Kconfig] Add more descrip for Kconfig

bernard преди 7 години
родител
ревизия
9122edd57c
променени са 2 файла, в които са добавени 13 реда и са изтрити 11 реда
  1. 5 5
      components/dfs/KConfig
  2. 8 6
      components/drivers/KConfig

+ 5 - 5
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

+ 8 - 6
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"