summaryrefslogtreecommitdiff
path: root/components/net
diff options
context:
space:
mode:
Diffstat (limited to 'components/net')
-rw-r--r--components/net/Kconfig5
-rw-r--r--components/net/SConscript2
2 files changed, 5 insertions, 2 deletions
diff --git a/components/net/Kconfig b/components/net/Kconfig
index 091536680c..8f3b87f055 100644
--- a/components/net/Kconfig
+++ b/components/net/Kconfig
@@ -68,9 +68,12 @@ config RT_USING_LWIP
config RT_USING_LWIP202
bool "lwIP v2.0.2"
+
+ config RT_USING_LWIP210
+ bool "lwIP v2.1.0"
endchoice
- if RT_USING_LWIP202
+ if (RT_USING_LWIP210)
config RT_USING_LWIP_IPV6
bool "IPV6 protocol"
default n
diff --git a/components/net/SConscript b/components/net/SConscript
index 35b5fe46f9..0c59cd1c3c 100644
--- a/components/net/SConscript
+++ b/components/net/SConscript
@@ -8,7 +8,7 @@ cwd = GetCurrentDir()
list = os.listdir(cwd)
# the default version of LWIP is 2.0.2
-if not GetDepend('RT_USING_LWIP141') and not GetDepend('RT_USING_LWIP202'):
+if not GetDepend('RT_USING_LWIP141') and not GetDepend('RT_USING_LWIP202') and not GetDepend('RT_USING_LWIP210'):
AddDepend('RT_USING_LWIP202')
for d in list: