diff --git a/components/net/lwip/Kconfig b/components/net/lwip/Kconfig index 2566870d6e0..f75e357f57c 100644 --- a/components/net/lwip/Kconfig +++ b/components/net/lwip/Kconfig @@ -20,10 +20,34 @@ if RT_USING_LWIP config RT_USING_LWIP212 bool "lwIP v2.1.2" + config RT_USING_LWIP_LATEST + bool "lwIP latest" + select PKG_USING_LWIP + endchoice + # ---- auxiliary package ------ + # https://github.com/RT-Thread-packages/lwip + + config PKG_USING_LWIP + bool + default n + + if PKG_USING_LWIP + config PKG_LWIP_PATH + string + default "/packages/iot/lwip" + + config PKG_LWIP_VER + string + default "latest" if RT_USING_LWIP_LATEST + endif + + # ----------------------------- + config RT_USING_LWIP_VER_NUM hex + default 0x99999 if RT_USING_LWIP_LATEST default 0x20102 if RT_USING_LWIP212 default 0x20003 if RT_USING_LWIP203 default 0x10401 if RT_USING_LWIP141