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


The following commit(s) were added to refs/heads/master by this push:
     new 2e42672e6 ip: Add wiznet repository
2e42672e6 is described below

commit 2e42672e677d0d5639f86f3e41811985b5cfc252
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Wed Mar 4 12:52:18 2026 +0100

    ip: Add wiznet repository
    
    This adds reference to external repository with
    code that supports W5500 chips with IP stack
    accessible over SPI
    
    Signed-off-by: Jerzy Kasenberg <[email protected]>
---
 net/ip/wiznet/pkg.yml    | 115 +++++++++++++++++++++++++++++++++++++++++++++++
 net/ip/wiznet/syscfg.yml |  58 ++++++++++++++++++++++++
 2 files changed, 173 insertions(+)

diff --git a/net/ip/wiznet/pkg.yml b/net/ip/wiznet/pkg.yml
new file mode 100644
index 000000000..54e515b16
--- /dev/null
+++ b/net/ip/wiznet/pkg.yml
@@ -0,0 +1,115 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#  http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+pkg.name: net/ip/wiznet
+pkg.description: Library for W5500 devices (TCP/IP stack for embedded systems).
+pkg.author: "WIZnet"
+pkg.homepage: "https://wiznet.io";
+pkg.keywords:
+    - ip
+    - ipv6
+    - tcp
+    - udp
+pkg.type: sdk
+
+pkg.include_dirs:
+    - "@wiznet-iolibrary/Ethernet"
+
+pkg.include_dirs.WIZNET_W5500:
+    - "@wiznet-iolibrary/Ethernet/W5500"
+
+pkg.source_dirs.WIZNET_W5500:
+    - "@wiznet-iolibrary/Ethernet/W5500"
+
+pkg.include_dirs.WIZNET_DHCP:
+    - "@wiznet-iolibrary/Internet/DHCP"
+
+pkg.source_dirs.WIZNET_DHCP:
+    - "@wiznet-iolibrary/Internet/DHCP"
+
+pkg.include_dirs.WIZNET_DNS:
+    - "@wiznet-iolibrary/Internet/DNS"
+
+pkg.source_dirs.WIZNET_DNS:
+    - "@wiznet-iolibrary/Internet/DNS"
+
+pkg.include_dirs.WIZNET_MQTT:
+    - "@wiznet-iolibrary/Internet/MQTT"
+
+pkg.source_dirs.WIZNET_MQTT:
+    - "@wiznet-iolibrary/Internet/MQTT"
+
+pkg.include_dirs.WIZNET_SNMP:
+    - "@wiznet-iolibrary/Internet/SNMP"
+
+pkg.source_dirs.WIZNET_SNMP:
+    - "@wiznet-iolibrary/Internet/SNMP"
+
+pkg.include_dirs.WIZNET_SNTP:
+    - "@wiznet-iolibrary/Internet/SNTP"
+
+pkg.source_dirs.WIZNET_SNTP:
+    - "@wiznet-iolibrary/Internet/SNTP"
+
+pkg.include_dirs.WIZNET_TFTP:
+    - "@wiznet-iolibrary/Internet/TFTP"
+
+pkg.source_dirs.WIZNET_TFTP:
+    - "@wiznet-iolibrary/Internet/TFTP"
+
+pkg.include_dirs.WIZNET_FTPCLIENT:
+    - "@wiznet-iolibrary/Internet/FTPClient"
+
+pkg.source_dirs.WIZNET_FTCLIENT:
+    - "@wiznet-iolibrary/Internet/FTPClient"
+
+pkg.include_dirs.WIZNET_FTPSERVER:
+    - "@wiznet-iolibrary/Internet/FTPServer"
+
+pkg.source_dirs.WIZNET_FTPSERVER:
+    - "@wiznet-iolibrary/Internet/FTPServer"
+
+pkg.include_dirs.WIZNET_HTTPSERVER:
+    - "@wiznet-iolibrary/Internet/httpServer"
+
+pkg.source_dirs.HTTPSERVER:
+    - "@wiznet-iolibrary/Internet/httpServer"
+
+pkg.source_files.WIZNET_CONF:
+    - "@wiznet-iolibrary/Ethernet/wizchip_conf.c"
+
+pkg.source_files.WIZNET_SOCKET:
+    - "@wiznet-iolibrary/Ethernet/socket.c"
+
+pkg.include_dirs.WIZNET_APP:
+    - "@wiznet-iolibrary/Application/loopback"
+    - "@wiznet-iolibrary/Application/multicast"
+
+pkg.source_dirs.WIZNET_APP:
+    - "@wiznet-iolibrary/Application/loopback"
+    - "@wiznet-iolibrary/Application/multicast"
+
+pkg.cflags:
+    - -w
+
+repository.wiznet-iolibrary:
+    type: github
+    vers: v3.2.0-commit
+    user: Wiznet
+    repo: ioLibrary_Driver
diff --git a/net/ip/wiznet/syscfg.yml b/net/ip/wiznet/syscfg.yml
new file mode 100644
index 000000000..2b1800e9a
--- /dev/null
+++ b/net/ip/wiznet/syscfg.yml
@@ -0,0 +1,58 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#  http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+syscfg.defs:
+    WIZNET_W5500:
+        description: Enable support for W5500
+        value: 1
+    WIZNET_DHCP:
+        description: Enable support for DHCP
+        value: 1
+    WIZNET_SOCKET:
+        description: Enable support for socket API
+        value: 1
+    WIZNET_CONF:
+        description: Enable default configuration file
+        value: 1
+    WIZNET_APP:
+        description: Enable loopback code
+        value: 1
+    WIZNET_DNS:
+        description: Enable loopback code
+        value: 1
+    WIZNET_MQTT:
+        description: Enable loopback code
+        value: 1
+    WIZNET_SNMP:
+        description: Enable loopback code
+        value: 1
+    WIZNET_SNTP:
+        description: Enable loopback code
+        value: 1
+    WIZNET_TFTP:
+        description: Enable loopback code
+        value: 0
+    WIZNET_FTPCLIENT:
+        description: Enable loopback code
+        value: 1
+    WIZNET_FTPSERVER:
+        description: Enable loopback code
+        value: 1
+    WIZNET_HTTPSERVER:
+        description: Enable loopback code
+        value: 1

Reply via email to