From b6fef984a65bc5b49727eafed54c61432a40f34c Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Mon, 11 Dec 2017 19:14:52 +0800 Subject: [lwIP] update Kconfig for DHCP/PPP --- components/net/Kconfig | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'components') 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 -- cgit v1.3.1