diff --git a/components/CMSIS/Kconfig b/components/CMSIS/Kconfig index 8a27f44405f3443bf6a52141b4f4eafa257f7584..f428eea543fb0723b757568c97229043f34c35d7 100644 --- a/components/CMSIS/Kconfig +++ b/components/CMSIS/Kconfig @@ -12,7 +12,7 @@ config RT_USING_RTT_CMSIS bool "Using CMSIS Header files in RT-Thread" default n help - Use CMSIS header files in RT-Thread/components/CMSIS. Otherwise, use the + Use CMSIS header files in RT-Thread/components/CMSIS. Otherwise, use the CMSIS header files in BSP. endmenu diff --git a/components/dfs/Kconfig b/components/dfs/Kconfig index 87b346026d50fcc4ab407bf48032ab28b9cd8d36..ff250b7721501507302fb06d86cfbb34587f4f93 100644 --- a/components/dfs/Kconfig +++ b/components/dfs/Kconfig @@ -13,14 +13,14 @@ if RT_USING_DFS default y config DFS_FILESYSTEMS_MAX - int "The maximal number of mounted file system" + int "The maximal number of mounted file system" default 4 if RT_USING_DFS_NFS - default 2 + default 2 config DFS_FILESYSTEM_TYPES_MAX int "The maximal number of file system type" default 4 if RT_USING_DFS_NFS - default 2 + default 2 config DFS_FD_MAX int "The maximal number of opened files" @@ -40,9 +40,9 @@ if RT_USING_DFS config RT_DFS_ELM_WORD_ACCESS bool "Using RT_DFS_ELM_WORD_ACCESS" - default y + default y - choice + choice prompt "Support long file name" default RT_DFS_ELM_USE_LFN_0 @@ -117,7 +117,7 @@ if RT_USING_DFS default n if RT_USING_DFS_UFFS - choice + choice prompt "UFFS ECC mode" default RT_UFFS_ECC_MODE_1 diff --git a/components/drivers/Kconfig b/components/drivers/Kconfig index 8d8e0aa5967e9729f7b37c58480bca745188b56c..4ed6f34d6d30326e201c9fe35cf465d42cd8fcbc 100755 --- a/components/drivers/Kconfig +++ b/components/drivers/Kconfig @@ -48,13 +48,13 @@ config RT_USING_CPUTIME ms_tick = clock_cpu_millisecond(t2 - t1); us_tick = clock_cpu_microsecond(t2 - t1); -if RT_USING_CPUTIME +if RT_USING_CPUTIME config RT_USING_CPUTIME_CORTEXM bool "Use DWT for CPU time" default y depends on ARCH_ARM_CORTEX_M3 || ARCH_ARM_CORTEX_M4 || ARCH_ARM_CORTEX_M7 help - Some Cortex-M3/4/7 MCU has Data Watchpoint and Trace Register, use + Some Cortex-M3/4/7 MCU has Data Watchpoint and Trace Register, use the cycle counter in DWT for CPU time. endif @@ -103,7 +103,7 @@ config RT_USING_RTC select PKG_USING_NETUTILS select PKG_NETUTILS_NTP default n - + if RTC_SYNC_USING_NTP config RTC_NTP_FIRST_SYNC_DELAY int "NTP first sync delay time(second) for network connect" @@ -153,20 +153,20 @@ config RT_USING_SPI config RT_USING_SFUD bool "Using Serial Flash Universal Driver" default n - if RT_USING_SFUD + if RT_USING_SFUD config RT_SFUD_USING_SFDP bool "Using auto probe flash JEDEC SFDP parameter" default y - + config RT_SFUD_USING_FLASH_INFO_TABLE bool "Using defined supported flash chip information table" default y - + config RT_DEBUG_SFUD bool "Show more SFUD debug information" default n endif - + config RT_USING_W25QXX bool "Using W25QXX SPI NorFlash" default n @@ -246,7 +246,7 @@ menu "Using USB" config USB_PRODUCT_ID hex "USB Product ID" default 0x0001 - + config RT_USB_DEVICE_COMPOSITE bool "Enable composite device" default n diff --git a/components/libc/Kconfig b/components/libc/Kconfig index 7ad048e9096f8a906c173094ab76f179b0df5eaf..2b4f6af8b026c920f2ef8e39c1614202248264c2 100644 --- a/components/libc/Kconfig +++ b/components/libc/Kconfig @@ -22,7 +22,7 @@ if RT_USING_LIBC && RT_USING_DFS config RT_USING_POSIX_TERMIOS bool "Enable termios feature" default n - + config RT_USING_POSIX_AIO bool "Enable AIO" default n diff --git a/components/net/freemodbus/Kconfig b/components/net/freemodbus/Kconfig index 1dbeca31d9b3f34e888c21eced19d19efced88cd..9a84efa0c5131cdab194cfa56bcd579210c5d2c5 100644 --- a/components/net/freemodbus/Kconfig +++ b/components/net/freemodbus/Kconfig @@ -1,17 +1,17 @@ menu "Modbus master and slave stack" config RT_USING_MODBUS - bool "Enable Modbus stack" - default n + bool "Enable Modbus stack" + default n - if RT_USING_MODBUS - config RT_MODBUS_MASTER_RTU - bool "RTU master mode" - default n + if RT_USING_MODBUS + config RT_MODBUS_MASTER_RTU + bool "RTU master mode" + default n - config RT_MODBUS_SLAVE_RTU - bool "RTU slave mode" - default n + config RT_MODBUS_SLAVE_RTU + bool "RTU slave mode" + default n if RT_MODBUS_SLAVE_RTU config RT_MODBUS_SLAVE_USE_CONTROL_PIN bool "Use Contorl Pin" @@ -22,6 +22,6 @@ config RT_USING_MODBUS default 10 endif endif - endif + endif endmenu diff --git a/components/vbus/Kconfig b/components/vbus/Kconfig index 3b0f245b5aee1cb7b51031d0a63680e383eddde6..af58f7862418f5fe90c13ed3790bf077f4087a13 100644 --- a/components/vbus/Kconfig +++ b/components/vbus/Kconfig @@ -10,8 +10,8 @@ if RT_USING_VBUS default n help When enable remote file system, the application can visit the remote file system - through VBUS with POSIX file I/O. - + through VBUS with POSIX file I/O. + config RT_USING_VBUS_RSHELL bool "Enable Remote Shell on VBUS" default n