From 756bfcc5e2ec03cc01e4bb0b73969ba16c44c875 Mon Sep 17 00:00:00 2001 From: bernard Date: Tue, 31 Oct 2017 09:54:23 +0800 Subject: Update Kconfig. 1. Add IPADDR/GWADDR etc; 2. Add Kconfig for libcpu. --- components/net/KConfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'components') diff --git a/components/net/KConfig b/components/net/KConfig index c52c12f7d3..cd758cd33a 100644 --- a/components/net/KConfig +++ b/components/net/KConfig @@ -55,6 +55,20 @@ config RT_USING_LWIP default n endif + if !RT_LWIP_DHCP + config RT_LWIP_IPADDR + string "IPv4: IP address" + default 192.168.1.30 + + config RT_LWIP_GWADDR + string "IPv4: Gateway address" + default 192.168.1.1 + + config RT_LWIP_MSKADDR + string "IPv4: Mask address" + default 255.255.255.0 + endif + config RT_LWIP_UDP bool "UDP protocol" default y -- cgit v1.3.1