Skip to content

Commit

Permalink
[kconfig] fix Kconfig warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mysterywolf committed Dec 25, 2023
1 parent 18c44e6 commit 4657312
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 16 deletions.
16 changes: 8 additions & 8 deletions components/drivers/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
10 changes: 5 additions & 5 deletions components/net/lwip/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand All @@ -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

Expand Down
4 changes: 1 addition & 3 deletions components/vbus/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -33,8 +33,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.

Expand Down

0 comments on commit 4657312

Please sign in to comment.