[kconfig] fix Kconfig warnings
This commit is contained in:
parent
18c44e6cee
commit
4657312f9d
|
@ -159,7 +159,7 @@ if RT_USING_I2C
|
||||||
default 2
|
default 2
|
||||||
config RT_SOFT_I2C1_BUS_NAME
|
config RT_SOFT_I2C1_BUS_NAME
|
||||||
string "Bus name"
|
string "Bus name"
|
||||||
default i2c1
|
default "i2c1"
|
||||||
config RT_SOFT_I2C1_TIMING_DELAY
|
config RT_SOFT_I2C1_TIMING_DELAY
|
||||||
int "Timing delay (us)"
|
int "Timing delay (us)"
|
||||||
range 0 32767
|
range 0 32767
|
||||||
|
@ -183,7 +183,7 @@ if RT_USING_I2C
|
||||||
default 4
|
default 4
|
||||||
config RT_SOFT_I2C2_BUS_NAME
|
config RT_SOFT_I2C2_BUS_NAME
|
||||||
string "Bus name"
|
string "Bus name"
|
||||||
default i2c2
|
default "i2c2"
|
||||||
config RT_SOFT_I2C2_TIMING_DELAY
|
config RT_SOFT_I2C2_TIMING_DELAY
|
||||||
int "Timing delay (us)"
|
int "Timing delay (us)"
|
||||||
range 0 32767
|
range 0 32767
|
||||||
|
@ -207,7 +207,7 @@ if RT_USING_I2C
|
||||||
default 6
|
default 6
|
||||||
config RT_SOFT_I2C3_BUS_NAME
|
config RT_SOFT_I2C3_BUS_NAME
|
||||||
string "Bus name"
|
string "Bus name"
|
||||||
default i2c3
|
default "i2c3"
|
||||||
config RT_SOFT_I2C3_TIMING_DELAY
|
config RT_SOFT_I2C3_TIMING_DELAY
|
||||||
int "Timing delay (us)"
|
int "Timing delay (us)"
|
||||||
range 0 32767
|
range 0 32767
|
||||||
|
@ -231,7 +231,7 @@ if RT_USING_I2C
|
||||||
default 8
|
default 8
|
||||||
config RT_SOFT_I2C4_BUS_NAME
|
config RT_SOFT_I2C4_BUS_NAME
|
||||||
string "Bus name"
|
string "Bus name"
|
||||||
default i2c4
|
default "i2c4"
|
||||||
config RT_SOFT_I2C4_TIMING_DELAY
|
config RT_SOFT_I2C4_TIMING_DELAY
|
||||||
int "Timing delay (us)"
|
int "Timing delay (us)"
|
||||||
range 0 32767
|
range 0 32767
|
||||||
|
@ -255,7 +255,7 @@ if RT_USING_I2C
|
||||||
default 10
|
default 10
|
||||||
config RT_SOFT_I2C5_BUS_NAME
|
config RT_SOFT_I2C5_BUS_NAME
|
||||||
string "Bus name"
|
string "Bus name"
|
||||||
default i2c5
|
default "i2c5"
|
||||||
config RT_SOFT_I2C5_TIMING_DELAY
|
config RT_SOFT_I2C5_TIMING_DELAY
|
||||||
int "Timing delay (us)"
|
int "Timing delay (us)"
|
||||||
range 0 32767
|
range 0 32767
|
||||||
|
@ -279,7 +279,7 @@ if RT_USING_I2C
|
||||||
default 12
|
default 12
|
||||||
config RT_SOFT_I2C6_BUS_NAME
|
config RT_SOFT_I2C6_BUS_NAME
|
||||||
string "Bus name"
|
string "Bus name"
|
||||||
default i2c6
|
default "i2c6"
|
||||||
config RT_SOFT_I2C6_TIMING_DELAY
|
config RT_SOFT_I2C6_TIMING_DELAY
|
||||||
int "Timing delay (us)"
|
int "Timing delay (us)"
|
||||||
range 0 32767
|
range 0 32767
|
||||||
|
@ -303,7 +303,7 @@ if RT_USING_I2C
|
||||||
default 14
|
default 14
|
||||||
config RT_SOFT_I2C7_BUS_NAME
|
config RT_SOFT_I2C7_BUS_NAME
|
||||||
string "Bus name"
|
string "Bus name"
|
||||||
default i2c7
|
default "i2c7"
|
||||||
config RT_SOFT_I2C7_TIMING_DELAY
|
config RT_SOFT_I2C7_TIMING_DELAY
|
||||||
int "Timing delay (us)"
|
int "Timing delay (us)"
|
||||||
range 0 32767
|
range 0 32767
|
||||||
|
@ -327,7 +327,7 @@ if RT_USING_I2C
|
||||||
default 16
|
default 16
|
||||||
config RT_SOFT_I2C8_BUS_NAME
|
config RT_SOFT_I2C8_BUS_NAME
|
||||||
string "Bus name"
|
string "Bus name"
|
||||||
default i2c8
|
default "i2c8"
|
||||||
config RT_SOFT_I2C8_TIMING_DELAY
|
config RT_SOFT_I2C8_TIMING_DELAY
|
||||||
int "Timing delay (us)"
|
int "Timing delay (us)"
|
||||||
range 0 32767
|
range 0 32767
|
||||||
|
|
|
@ -92,15 +92,15 @@ if RT_USING_LWIP
|
||||||
menu "Static IPv4 Address"
|
menu "Static IPv4 Address"
|
||||||
config RT_LWIP_IPADDR
|
config RT_LWIP_IPADDR
|
||||||
string "IPv4: IP address"
|
string "IPv4: IP address"
|
||||||
default 192.168.1.30
|
default "192.168.1.30"
|
||||||
|
|
||||||
config RT_LWIP_GWADDR
|
config RT_LWIP_GWADDR
|
||||||
string "IPv4: Gateway address"
|
string "IPv4: Gateway address"
|
||||||
default 192.168.1.1
|
default "192.168.1.1"
|
||||||
|
|
||||||
config RT_LWIP_MSKADDR
|
config RT_LWIP_MSKADDR
|
||||||
string "IPv4: Mask address"
|
string "IPv4: Mask address"
|
||||||
default 255.255.255.0
|
default "255.255.255.0"
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
config RT_LWIP_UDP
|
config RT_LWIP_UDP
|
||||||
|
@ -265,7 +265,7 @@ if RT_USING_LWIP
|
||||||
if LWIP_USING_DHCPD
|
if LWIP_USING_DHCPD
|
||||||
config DHCPD_SERVER_IP
|
config DHCPD_SERVER_IP
|
||||||
string "DHCPD SERVER IP address"
|
string "DHCPD SERVER IP address"
|
||||||
default 192.168.169.1
|
default "192.168.169.1"
|
||||||
|
|
||||||
config DHCPD_USING_ROUTER
|
config DHCPD_USING_ROUTER
|
||||||
bool "alloc gateway ip for router"
|
bool "alloc gateway ip for router"
|
||||||
|
@ -277,7 +277,7 @@ if RT_USING_LWIP
|
||||||
if LWIP_USING_CUSTOMER_DNS_SERVER
|
if LWIP_USING_CUSTOMER_DNS_SERVER
|
||||||
config DHCP_DNS_SERVER_IP
|
config DHCP_DNS_SERVER_IP
|
||||||
string "Custom DNS server IP address"
|
string "Custom DNS server IP address"
|
||||||
default 1.1.1.1
|
default "1.1.1.1"
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ if RT_USING_VBUS
|
||||||
Operating System.
|
Operating System.
|
||||||
|
|
||||||
config RT_VBUS_USING_TESTS
|
config RT_VBUS_USING_TESTS
|
||||||
bool "Enable tests on VBus "
|
bool "Enable tests on VBus"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config _RT_VBUS_RING_BASE
|
config _RT_VBUS_RING_BASE
|
||||||
|
@ -33,8 +33,6 @@ if RT_USING_VBUS
|
||||||
|
|
||||||
config RT_VBUS_GUEST_VIRQ
|
config RT_VBUS_GUEST_VIRQ
|
||||||
int "RT_VBUS_GUEST_VIRQ"
|
int "RT_VBUS_GUEST_VIRQ"
|
||||||
help
|
|
||||||
RT_VBUS_GUEST_VIRQ
|
|
||||||
help
|
help
|
||||||
The interrupt number used to notify the client on a particular system.
|
The interrupt number used to notify the client on a particular system.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue