Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions components/dfs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ endif
int "The maximal number of opened files"
default 16

choice
choice RT_USING_DFS_VERSION
prompt "The version of DFS"
default RT_USING_DFS_V1
default RT_USING_DFS_V2 if RT_USING_SMART
Expand Down Expand Up @@ -74,7 +74,7 @@ endif
bool "Using RT_DFS_ELM_WORD_ACCESS"
default y

choice
choice RT_DFS_ELM_USE_LFN_NAME
prompt "Support long file name"
default RT_DFS_ELM_USE_LFN_3

Expand All @@ -98,7 +98,7 @@ endif
default 2 if RT_DFS_ELM_USE_LFN_2
default 3 if RT_DFS_ELM_USE_LFN_3

choice
choice RT_DFS_ELM_LFN_UNICODE_NAME
prompt "Support unicode for long file name"
default RT_DFS_ELM_LFN_UNICODE_0

Expand Down
4 changes: 2 additions & 2 deletions components/drivers/serial/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ menuconfig RT_USING_SERIAL
default y

if RT_USING_SERIAL
choice
choice RT_USING_SERIAL_VERSION
prompt "Choice Serial version"
default RT_USING_SERIAL_V1
config RT_USING_SERIAL_V1
Expand All @@ -14,7 +14,7 @@ menuconfig RT_USING_SERIAL
bool "RT_USING_SERIAL_V2"
endchoice

choice
choice RT_USING_SERIAL_MODE
prompt "Choice Serial version"
depends on RT_USING_SERIAL_V2
default RT_SERIAL_BUF_STRATEGY_OVERWRITE
Expand Down
8 changes: 4 additions & 4 deletions components/drivers/usb/cherryusb/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if CHERRYUSB
default n

if CHERRYUSB_DEVICE
choice
choice CHERRYUSB_DEVICE_SPEED
prompt "Select usb device speed"
default CHERRYUSB_DEVICE_SPEED_FS
config CHERRYUSB_DEVICE_SPEED_FS
Expand All @@ -21,7 +21,7 @@ if CHERRYUSB
bool "AUTO"
endchoice

choice
choice CHERRYUSB_DEVICE_IP
prompt "Select usb device ip, and some ip need config in usb_config.h, please check"
default CHERRYUSB_DEVICE_CUSTOM
config CHERRYUSB_DEVICE_CUSTOM
Expand Down Expand Up @@ -158,7 +158,7 @@ if CHERRYUSB
prompt "Enable usb cdc ecm device with lwip for lan"
default n

choice
choice CHERRYUSB_DEVICE_TEMPLATE
prompt "Select usb device template, please select class driver first"
default CHERRYUSB_DEVICE_TEMPLATE_NONE
config CHERRYUSB_DEVICE_TEMPLATE_NONE
Expand Down Expand Up @@ -235,7 +235,7 @@ if CHERRYUSB
default n

if CHERRYUSB_HOST
choice
choice CHERRYUSB_HOST_IP
prompt "Select usb host ip, and some ip need config in usb_config.h, please check"
default CHERRYUSB_HOST_CUSTOM
config CHERRYUSB_HOST_CUSTOM
Expand Down
2 changes: 1 addition & 1 deletion components/drivers/virtio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ menuconfig RT_USING_VIRTIO
default n

if RT_USING_VIRTIO
choice
choice RT_USING_VIRTIO_VERSION
prompt "VirtIO Version"
default RT_USING_VIRTIO10

Expand Down
2 changes: 1 addition & 1 deletion components/legacy/usb/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ menu "Using USB legacy version"
config RT_USB_DEVICE_COMPOSITE
bool "Enable composite device"
default n
choice
choice RT_USING_COMPOSITE_DEVICE
prompt "Device type"
default _RT_USB_DEVICE_NONE
depends on !RT_USB_DEVICE_COMPOSITE
Expand Down
2 changes: 1 addition & 1 deletion components/net/lwip/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if RT_USING_LWIP
If don't select this option, both local version and upstream
version can be selected. If select this option, only local version
can be selected.
choice
choice RT_USING_LWIP_VERSION
prompt "lwIP version"
default RT_USING_LWIP203
help
Expand Down
4 changes: 2 additions & 2 deletions components/utilities/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ menuconfig RT_USING_ULOG

if RT_USING_ULOG
if !ULOG_USING_SYSLOG
choice
choice ULOG_OUTPUT_LOG_LEVEL
prompt "The static output log level."
default ULOG_OUTPUT_LVL_D
help
Expand All @@ -42,7 +42,7 @@ menuconfig RT_USING_ULOG
endif

if ULOG_USING_SYSLOG
choice
choice ULOG_OUTPUT_LOG_LEVEL
prompt "The static output log level."
default ULOG_OUTPUT_LVL_DEBUG
help
Expand Down
2 changes: 1 addition & 1 deletion components/utilities/rt-link/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ menuconfig RT_USING_RT_LINK
default n

if RT_USING_RT_LINK
choice
choice RT_LINK_USING_CRC
prompt"use hw crc device or not"
default RT_LINK_USING_SF_CRC

Expand Down
2 changes: 1 addition & 1 deletion libcpu/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ config ARCH_RISCV_VECTOR
bool

if ARCH_RISCV_VECTOR
choice
choice ARCH_VECTOR_VLEN
prompt "RISCV Vector Vlen"
default ARCH_VECTOR_VLEN_128

Expand Down
8 changes: 4 additions & 4 deletions src/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ config RT_USING_AMP
bool "Enable AMP (Asymmetric Multi-Processing)"
default n
if RT_USING_AMP
choice
choice RT_USING_AMP_ROLE
prompt "Select the AMP role"
default RT_AMP_SLAVE

Expand Down Expand Up @@ -89,7 +89,7 @@ config RT_ALIGN_SIZE
help
Alignment size for CPU architecture data access

choice
choice RT_THREAD_PRIORITY_VAL_MAX
prompt "The maximal level value of priority of thread"
default RT_THREAD_PRIORITY_32

Expand Down Expand Up @@ -312,7 +312,7 @@ menu "Memory Management"
default n

if RT_USING_MEMHEAP
choice
choice RT_MEMHEAP_MODE
prompt "Memheap memory allocation mode"
default RT_MEMHEAP_FAST_MODE

Expand All @@ -330,7 +330,7 @@ menu "Memory Management"
endchoice
endif

choice
choice RT_USING_HEAP_TYPE
prompt "System Heap Memory Management"
default RT_USING_SMALL_MEM_AS_HEAP

Expand Down