mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-28 05:37:04 +08:00
[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
This commit is contained in:
parent
c1eb0d8db9
commit
3df75f9e32
@ -5,6 +5,13 @@ menuconfig RT_USING_LWIP
|
|||||||
default n
|
default n
|
||||||
|
|
||||||
if RT_USING_LWIP
|
if RT_USING_LWIP
|
||||||
|
config RT_USING_LWIP_LOCAL_VERSION
|
||||||
|
bool "Use LwIP local version only"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
If don't select this option, both local version and upstream
|
||||||
|
version can be selected. If select this option, only local version
|
||||||
|
can be selected.
|
||||||
choice
|
choice
|
||||||
prompt "lwIP version"
|
prompt "lwIP version"
|
||||||
default RT_USING_LWIP203
|
default RT_USING_LWIP203
|
||||||
@ -20,10 +27,17 @@ if RT_USING_LWIP
|
|||||||
config RT_USING_LWIP212
|
config RT_USING_LWIP212
|
||||||
bool "lwIP v2.1.2"
|
bool "lwIP v2.1.2"
|
||||||
|
|
||||||
|
# online version
|
||||||
|
if !RT_USING_LWIP_LOCAL_VERSION
|
||||||
|
config RT_USING_LWIP_LATEST
|
||||||
|
bool "lwIP latest"
|
||||||
|
select PKG_USING_LWIP
|
||||||
|
endif
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config RT_USING_LWIP_VER_NUM
|
config RT_USING_LWIP_VER_NUM
|
||||||
hex
|
hex
|
||||||
|
default 0x99999 if RT_USING_LWIP_LATEST
|
||||||
default 0x20102 if RT_USING_LWIP212
|
default 0x20102 if RT_USING_LWIP212
|
||||||
default 0x20003 if RT_USING_LWIP203
|
default 0x20003 if RT_USING_LWIP203
|
||||||
default 0x10401 if RT_USING_LWIP141
|
default 0x10401 if RT_USING_LWIP141
|
||||||
|
Loading…
x
Reference in New Issue
Block a user