[components] format Kconfig
This commit is contained in:
parent
4ca1d03bdf
commit
bd044f674d
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue