diff options
| author | Bernard Xiong <[email protected]> | 2017-12-11 19:14:52 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2017-12-11 19:14:52 +0800 |
| commit | b6fef984a65bc5b49727eafed54c61432a40f34c (patch) | |
| tree | 106f25a86dff095076ac1cd4c8c432e427311ae4 /components | |
| parent | 616ce9f1519f86b96c7567f79088b23fb08440f4 (diff) | |
[lwIP] update Kconfig for DHCP/PPP
Diffstat (limited to 'components')
| -rw-r--r-- | components/net/Kconfig | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/components/net/Kconfig b/components/net/Kconfig index 3220d5e786..e81b966093 100644 --- a/components/net/Kconfig +++ b/components/net/Kconfig @@ -55,10 +55,6 @@ config RT_USING_LWIP config IP_SOF_BROADCAST_RECV int "SOF broadcast recv" default 1 - - config LWIP_USING_DHCPD - bool "Enable DHCP server" - default n endif menu "Static IPv4 Address" @@ -91,14 +87,16 @@ config RT_USING_LWIP bool "PPP protocol" default n - config RT_LWIP_PPPOE - bool "PPPoE protocol" - default n - - config RT_LWIP_PPPOS - bool "PPPoS protocol" - default n - + if RT_LWIP_PPP + config RT_LWIP_PPPOE + bool "PPPoE protocol" + default n + + config RT_LWIP_PPPOS + bool "PPPoS protocol" + default n + endif + config RT_LWIP_PBUF_NUM int "the number of PBUF" default 16 @@ -183,6 +181,11 @@ endmenu source "$RTT_DIR/components/net/freemodbus/Kconfig" if RT_USING_LWIP + +config LWIP_USING_DHCPD + bool "Enable DHCP server" + default n + config RT_USING_NETUTILS bool "Enable net utils" default n |
