fix: warnings generated by Kconfig.

This commit is contained in:
maosql
2025-08-27 20:40:01 +08:00
committed by R b b666
parent bc4c036942
commit 9567564e86
10 changed files with 20 additions and 20 deletions

View File

@@ -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
@@ -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
@@ -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

View File

@@ -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
@@ -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

View File

@@ -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
@@ -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
@@ -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
@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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
@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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
@@ -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
@@ -314,7 +314,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
@@ -332,7 +332,7 @@ menu "Memory Management"
endchoice
endif
choice
choice RT_USING_HEAP_TYPE
prompt "System Heap Memory Management"
default RT_USING_SMALL_MEM_AS_HEAP