[components][net] Fix the bug that missing define RT_LWIP_IPADDR/MASKADDR/GWADDR when disable DHCP.
This commit is contained in:
parent
b2057f506a
commit
9ba62ab5e6
@ -55,7 +55,7 @@ config RT_USING_LWIP
|
|||||||
default n
|
default n
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if !RT_LWIP_DHCP
|
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
|
||||||
@ -67,7 +67,7 @@ config RT_USING_LWIP
|
|||||||
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
|
||||||
endif
|
endmenu
|
||||||
|
|
||||||
config RT_LWIP_UDP
|
config RT_LWIP_UDP
|
||||||
bool "UDP protocol"
|
bool "UDP protocol"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user