Skip to content

Commit 3df75f9

Browse files
authored
[lwip] add lwip latest version (#5629)
* [lwip] 增加LWIP上游同步版本 * move pkgs to package repo * add RT_USING_LWIP_LOCAL_VERSION to let users to decide whether can use upstream version of LwIP * Update Kconfig
1 parent c1eb0d8 commit 3df75f9

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

components/net/lwip/Kconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ menuconfig RT_USING_LWIP
55
default n
66

77
if RT_USING_LWIP
8+
config RT_USING_LWIP_LOCAL_VERSION
9+
bool "Use LwIP local version only"
10+
default n
11+
help
12+
If don't select this option, both local version and upstream
13+
version can be selected. If select this option, only local version
14+
can be selected.
815
choice
916
prompt "lwIP version"
1017
default RT_USING_LWIP203
@@ -20,10 +27,17 @@ if RT_USING_LWIP
2027
config RT_USING_LWIP212
2128
bool "lwIP v2.1.2"
2229

30+
# online version
31+
if !RT_USING_LWIP_LOCAL_VERSION
32+
config RT_USING_LWIP_LATEST
33+
bool "lwIP latest"
34+
select PKG_USING_LWIP
35+
endif
2336
endchoice
2437

2538
config RT_USING_LWIP_VER_NUM
2639
hex
40+
default 0x99999 if RT_USING_LWIP_LATEST
2741
default 0x20102 if RT_USING_LWIP212
2842
default 0x20003 if RT_USING_LWIP203
2943
default 0x10401 if RT_USING_LWIP141

0 commit comments

Comments
 (0)