summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2023-12-25 20:00:00 +0800
committerMeco Man <[email protected]>2023-12-25 20:28:46 +0800
commit4657312f9debec8b5efb0caa124a945ead94f146 (patch)
treeb724007c5d1bab158016ba19e1eec7b655f703d0 /components
parent18c44e6cee33d524c0c1621ed53241853854ba69 (diff)
[kconfig] fix Kconfig warnings
Diffstat (limited to 'components')
-rwxr-xr-xcomponents/drivers/Kconfig16
-rw-r--r--components/net/lwip/Kconfig10
-rw-r--r--components/vbus/Kconfig4
3 files changed, 14 insertions, 16 deletions
diff --git a/components/drivers/Kconfig b/components/drivers/Kconfig
index cb3e9a0e09..0a1db41bf9 100755
--- a/components/drivers/Kconfig
+++ b/components/drivers/Kconfig
@@ -159,7 +159,7 @@ if RT_USING_I2C
default 2
config RT_SOFT_I2C1_BUS_NAME
string "Bus name"
- default i2c1
+ default "i2c1"
config RT_SOFT_I2C1_TIMING_DELAY
int "Timing delay (us)"
range 0 32767
@@ -183,7 +183,7 @@ if RT_USING_I2C
default 4
config RT_SOFT_I2C2_BUS_NAME
string "Bus name"
- default i2c2
+ default "i2c2"
config RT_SOFT_I2C2_TIMING_DELAY
int "Timing delay (us)"
range 0 32767
@@ -207,7 +207,7 @@ if RT_USING_I2C
default 6
config RT_SOFT_I2C3_BUS_NAME
string "Bus name"
- default i2c3
+ default "i2c3"
config RT_SOFT_I2C3_TIMING_DELAY
int "Timing delay (us)"
range 0 32767
@@ -231,7 +231,7 @@ if RT_USING_I2C
default 8
config RT_SOFT_I2C4_BUS_NAME
string "Bus name"
- default i2c4
+ default "i2c4"
config RT_SOFT_I2C4_TIMING_DELAY
int "Timing delay (us)"
range 0 32767
@@ -255,7 +255,7 @@ if RT_USING_I2C
default 10
config RT_SOFT_I2C5_BUS_NAME
string "Bus name"
- default i2c5
+ default "i2c5"
config RT_SOFT_I2C5_TIMING_DELAY
int "Timing delay (us)"
range 0 32767
@@ -279,7 +279,7 @@ if RT_USING_I2C
default 12
config RT_SOFT_I2C6_BUS_NAME
string "Bus name"
- default i2c6
+ default "i2c6"
config RT_SOFT_I2C6_TIMING_DELAY
int "Timing delay (us)"
range 0 32767
@@ -303,7 +303,7 @@ if RT_USING_I2C
default 14
config RT_SOFT_I2C7_BUS_NAME
string "Bus name"
- default i2c7
+ default "i2c7"
config RT_SOFT_I2C7_TIMING_DELAY
int "Timing delay (us)"
range 0 32767
@@ -327,7 +327,7 @@ if RT_USING_I2C
default 16
config RT_SOFT_I2C8_BUS_NAME
string "Bus name"
- default i2c8
+ default "i2c8"
config RT_SOFT_I2C8_TIMING_DELAY
int "Timing delay (us)"
range 0 32767
diff --git a/components/net/lwip/Kconfig b/components/net/lwip/Kconfig
index 0609a497e1..883c14a4d1 100644
--- a/components/net/lwip/Kconfig
+++ b/components/net/lwip/Kconfig
@@ -92,15 +92,15 @@ if RT_USING_LWIP
menu "Static IPv4 Address"
config RT_LWIP_IPADDR
string "IPv4: IP address"
- default 192.168.1.30
+ default "192.168.1.30"
config RT_LWIP_GWADDR
string "IPv4: Gateway address"
- default 192.168.1.1
+ default "192.168.1.1"
config RT_LWIP_MSKADDR
string "IPv4: Mask address"
- default 255.255.255.0
+ default "255.255.255.0"
endmenu
config RT_LWIP_UDP
@@ -265,7 +265,7 @@ if RT_USING_LWIP
if LWIP_USING_DHCPD
config DHCPD_SERVER_IP
string "DHCPD SERVER IP address"
- default 192.168.169.1
+ default "192.168.169.1"
config DHCPD_USING_ROUTER
bool "alloc gateway ip for router"
@@ -277,7 +277,7 @@ if RT_USING_LWIP
if LWIP_USING_CUSTOMER_DNS_SERVER
config DHCP_DNS_SERVER_IP
string "Custom DNS server IP address"
- default 1.1.1.1
+ default "1.1.1.1"
endif
endif
diff --git a/components/vbus/Kconfig b/components/vbus/Kconfig
index 74a891d2a0..d7605f595d 100644
--- a/components/vbus/Kconfig
+++ b/components/vbus/Kconfig
@@ -18,7 +18,7 @@ if RT_USING_VBUS
Operating System.
config RT_VBUS_USING_TESTS
- bool "Enable tests on VBus "
+ bool "Enable tests on VBus"
default n
config _RT_VBUS_RING_BASE
@@ -34,8 +34,6 @@ if RT_USING_VBUS
config RT_VBUS_GUEST_VIRQ
int "RT_VBUS_GUEST_VIRQ"
help
- RT_VBUS_GUEST_VIRQ
- help
The interrupt number used to notify the client on a particular system.
config RT_VBUS_HOST_VIRQ