This is an automated email from the ASF dual-hosted git repository.

jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit 01c160f1e84c0bbcdec01857d504b52e577f3a5b
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Fri Feb 20 09:41:35 2026 +0100

    net/lwip: Add external repository
    
    Copy of the lwip code that was put in lwip_base
    is now removed and external repository is added.
    
    Signed-off-by: Jerzy Kasenberg <[email protected]>
---
 net/ip/{lwip_mn => lwip}/pkg.yml | 45 +++++++++++++++++++++++++++++-----------
 net/ip/lwip_mn/pkg.yml           |  2 +-
 2 files changed, 34 insertions(+), 13 deletions(-)

diff --git a/net/ip/lwip_mn/pkg.yml b/net/ip/lwip/pkg.yml
similarity index 55%
copy from net/ip/lwip_mn/pkg.yml
copy to net/ip/lwip/pkg.yml
index 0cc4c9256..1d58667e4 100644
--- a/net/ip/lwip_mn/pkg.yml
+++ b/net/ip/lwip/pkg.yml
@@ -17,23 +17,44 @@
 # under the License.
 #
 
-pkg.name: net/ip/lwip_mn
-pkg.description: LwIP adaptation to Mynewt
+pkg.name: net/ip/lwip
+pkg.description: LwIP repository
 pkg.author: "Apache Mynewt <[email protected]>"
-pkg.homepage:
+pkg.homepage: "http://savannah.nongnu.org/git/?group=lwip";
 pkg.keywords:
     - lwip
+    - ip
+    - ipv6
+    - tcp
+    - udp
+
+pkg.type: sdk
+
+pkg.include_dirs:
+    - "@lwip/src/include"
+
+pkg.source_dirs:
+    - "@lwip/src/api"
+    - "@lwip/src/core"
+    - "@lwip/src/core/ipv4"
+    - "@lwip/src/netif"
+    - "@lwip/src/core/ipv6"
+    - "@lwip/src/netif/ppp"
+    - "@lwip/src/netif/ppp/polarssl"
 
 pkg.deps:
-    - "@apache-mynewt-core/kernel/os"
-    - "@apache-mynewt-core/net/ip/lwip_base"
-    - "@apache-mynewt-core/net/ip/mn_socket"
+    - "@apache-mynewt-core/net/ip"
 
-pkg.deps.LWIP_CLI:
-    - "@apache-mynewt-core/sys/shell"
+pkg.cflags:
+    - -Wno-unused
+    - -Wno-error=address
+    - -DLWIP_HTTPD_STRNSTR_PRIVATE=0
 
-pkg.deps.STD_LWIPOPTS:
-    - "@apache-mynewt-core/net/ip/lwip_mn/lwipopts"
+pkg.cflags.LWIP_PPP:
+    - -DPPP_SUPPORT=1
 
-pkg.init:
-    ip_init: 'MYNEWT_VAL(IP_SYSINIT_STAGE)'
+repository.lwip:
+    type: github
+    vers: STABLE-2_1_2_RELEASE-commit
+    user: lwip-tcpip
+    repo: lwip
diff --git a/net/ip/lwip_mn/pkg.yml b/net/ip/lwip_mn/pkg.yml
index 0cc4c9256..3460dc91f 100644
--- a/net/ip/lwip_mn/pkg.yml
+++ b/net/ip/lwip_mn/pkg.yml
@@ -26,7 +26,7 @@ pkg.keywords:
 
 pkg.deps:
     - "@apache-mynewt-core/kernel/os"
-    - "@apache-mynewt-core/net/ip/lwip_base"
+    - "@apache-mynewt-core/net/ip/lwip"
     - "@apache-mynewt-core/net/ip/mn_socket"
 
 pkg.deps.LWIP_CLI:

Reply via email to