diff options
| author | bernard <[email protected]> | 2017-10-31 09:54:23 +0800 |
|---|---|---|
| committer | bernard <[email protected]> | 2017-10-31 09:54:23 +0800 |
| commit | 756bfcc5e2ec03cc01e4bb0b73969ba16c44c875 (patch) | |
| tree | 9a4fa7afba2e6cdbc84243459ebb18c08c4ccefe /components/net | |
| parent | bc2abf69e2677f5c5591ef7d5a9633f6a1661839 (diff) | |
Update Kconfig.
1. Add IPADDR/GWADDR etc;
2. Add Kconfig for libcpu.
Diffstat (limited to 'components/net')
| -rw-r--r-- | components/net/KConfig | 14 |
1 files changed, 14 insertions, 0 deletions
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 |
