Skip to content

Commit 9567564

Browse files
maosqlRbb666
authored andcommitted
fix: warnings generated by Kconfig.
1 parent bc4c036 commit 9567564

File tree

10 files changed

+20
-20
lines changed

10 files changed

+20
-20
lines changed

components/dfs/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ endif
3434
int "The maximal number of opened files"
3535
default 16
3636

37-
choice
37+
choice RT_USING_DFS_VERSION
3838
prompt "The version of DFS"
3939
default RT_USING_DFS_V1
4040
default RT_USING_DFS_V2 if RT_USING_SMART
@@ -74,7 +74,7 @@ endif
7474
bool "Using RT_DFS_ELM_WORD_ACCESS"
7575
default y
7676

77-
choice
77+
choice RT_DFS_ELM_USE_LFN_NAME
7878
prompt "Support long file name"
7979
default RT_DFS_ELM_USE_LFN_3
8080

@@ -98,7 +98,7 @@ endif
9898
default 2 if RT_DFS_ELM_USE_LFN_2
9999
default 3 if RT_DFS_ELM_USE_LFN_3
100100

101-
choice
101+
choice RT_DFS_ELM_LFN_UNICODE_NAME
102102
prompt "Support unicode for long file name"
103103
default RT_DFS_ELM_LFN_UNICODE_0
104104

components/drivers/serial/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ menuconfig RT_USING_SERIAL
55
default y
66

77
if RT_USING_SERIAL
8-
choice
8+
choice RT_USING_SERIAL_VERSION
99
prompt "Choice Serial version"
1010
default RT_USING_SERIAL_V1
1111
config RT_USING_SERIAL_V1
@@ -14,7 +14,7 @@ menuconfig RT_USING_SERIAL
1414
bool "RT_USING_SERIAL_V2"
1515
endchoice
1616

17-
choice
17+
choice RT_USING_SERIAL_MODE
1818
prompt "Choice Serial version"
1919
depends on RT_USING_SERIAL_V2
2020
default RT_SERIAL_BUF_STRATEGY_OVERWRITE

components/drivers/usb/cherryusb/Kconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if CHERRYUSB
1010
default n
1111

1212
if CHERRYUSB_DEVICE
13-
choice
13+
choice CHERRYUSB_DEVICE_SPEED
1414
prompt "Select usb device speed"
1515
default CHERRYUSB_DEVICE_SPEED_FS
1616
config CHERRYUSB_DEVICE_SPEED_FS
@@ -21,7 +21,7 @@ if CHERRYUSB
2121
bool "AUTO"
2222
endchoice
2323

24-
choice
24+
choice CHERRYUSB_DEVICE_IP
2525
prompt "Select usb device ip, and some ip need config in usb_config.h, please check"
2626
default CHERRYUSB_DEVICE_CUSTOM
2727
config CHERRYUSB_DEVICE_CUSTOM
@@ -158,7 +158,7 @@ if CHERRYUSB
158158
prompt "Enable usb cdc ecm device with lwip for lan"
159159
default n
160160

161-
choice
161+
choice CHERRYUSB_DEVICE_TEMPLATE
162162
prompt "Select usb device template, please select class driver first"
163163
default CHERRYUSB_DEVICE_TEMPLATE_NONE
164164
config CHERRYUSB_DEVICE_TEMPLATE_NONE
@@ -235,7 +235,7 @@ if CHERRYUSB
235235
default n
236236

237237
if CHERRYUSB_HOST
238-
choice
238+
choice CHERRYUSB_HOST_IP
239239
prompt "Select usb host ip, and some ip need config in usb_config.h, please check"
240240
default CHERRYUSB_HOST_CUSTOM
241241
config CHERRYUSB_HOST_CUSTOM

components/drivers/virtio/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ menuconfig RT_USING_VIRTIO
33
default n
44

55
if RT_USING_VIRTIO
6-
choice
6+
choice RT_USING_VIRTIO_VERSION
77
prompt "VirtIO Version"
88
default RT_USING_VIRTIO10
99

components/legacy/usb/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ menu "Using USB legacy version"
5050
config RT_USB_DEVICE_COMPOSITE
5151
bool "Enable composite device"
5252
default n
53-
choice
53+
choice RT_USING_COMPOSITE_DEVICE
5454
prompt "Device type"
5555
default _RT_USB_DEVICE_NONE
5656
depends on !RT_USB_DEVICE_COMPOSITE

components/net/lwip/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if RT_USING_LWIP
1313
If don't select this option, both local version and upstream
1414
version can be selected. If select this option, only local version
1515
can be selected.
16-
choice
16+
choice RT_USING_LWIP_VERSION
1717
prompt "lwIP version"
1818
default RT_USING_LWIP203
1919
help

components/utilities/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ menuconfig RT_USING_ULOG
2121

2222
if RT_USING_ULOG
2323
if !ULOG_USING_SYSLOG
24-
choice
24+
choice ULOG_OUTPUT_LOG_LEVEL
2525
prompt "The static output log level."
2626
default ULOG_OUTPUT_LVL_D
2727
help
@@ -42,7 +42,7 @@ menuconfig RT_USING_ULOG
4242
endif
4343

4444
if ULOG_USING_SYSLOG
45-
choice
45+
choice ULOG_OUTPUT_LOG_LEVEL
4646
prompt "The static output log level."
4747
default ULOG_OUTPUT_LVL_DEBUG
4848
help

components/utilities/rt-link/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ menuconfig RT_USING_RT_LINK
44
default n
55

66
if RT_USING_RT_LINK
7-
choice
7+
choice RT_LINK_USING_CRC
88
prompt"use hw crc device or not"
99
default RT_LINK_USING_SF_CRC
1010

libcpu/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ config ARCH_RISCV_VECTOR
228228
bool
229229

230230
if ARCH_RISCV_VECTOR
231-
choice
231+
choice ARCH_VECTOR_VLEN
232232
prompt "RISCV Vector Vlen"
233233
default ARCH_VECTOR_VLEN_128
234234

src/Kconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ config RT_USING_AMP
5555
bool "Enable AMP (Asymmetric Multi-Processing)"
5656
default n
5757
if RT_USING_AMP
58-
choice
58+
choice RT_USING_AMP_ROLE
5959
prompt "Select the AMP role"
6060
default RT_AMP_SLAVE
6161

@@ -89,7 +89,7 @@ config RT_ALIGN_SIZE
8989
help
9090
Alignment size for CPU architecture data access
9191

92-
choice
92+
choice RT_THREAD_PRIORITY_VAL_MAX
9393
prompt "The maximal level value of priority of thread"
9494
default RT_THREAD_PRIORITY_32
9595

@@ -314,7 +314,7 @@ menu "Memory Management"
314314
default n
315315

316316
if RT_USING_MEMHEAP
317-
choice
317+
choice RT_MEMHEAP_MODE
318318
prompt "Memheap memory allocation mode"
319319
default RT_MEMHEAP_FAST_MODE
320320

@@ -332,7 +332,7 @@ menu "Memory Management"
332332
endchoice
333333
endif
334334

335-
choice
335+
choice RT_USING_HEAP_TYPE
336336
prompt "System Heap Memory Management"
337337
default RT_USING_SMALL_MEM_AS_HEAP
338338

0 commit comments

Comments
 (0)