Repository navigation
Conversation
|
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Configuration changes can silently retain the unauthenticated console and watchdog, while static-IP builds and documented UDP socket overrides fail under -Werror.
6 open issues
Allow callers to override the default UDP socket limit · New Track build configuration changes in object prerequisites · New Guard or remove the unused DHCP configuration variable · New Retry accepting queued clients when a server slot becomes free · New Refresh network services when DHCP changes the address · New Release wolfIP I/O slots when freeing sessions · New
What changed in this PR
Adds a bare-metal W5100S-EVB-Pico port, using the W5100S as an Ethernet MAC/PHY with wolfIP providing the network stack.
Changes:
- Adds a reusable W5100S driver and RP2040 platform support.
- Provides echo demos, optional TLS and wolfBoot-backed TFTP updates.
- Optimizes checksum reads and adds firmware tooling, CI and memory reporting.
| File | Description |
|---|---|
| src/wolfip.c | Uses byte loads in checksum loops. |
| src/port/wiznet/w5100s.h | Defines the driver interface. |
| src/port/wiznet/w5100s.c | Implements MACRAW Ethernet operations. |
| src/port/rp2350_cyw43439/tools/elf2uf2.py | Adds RP2040 and raw-binary support. |
| src/port/rp2040_w5100s/user_settings.h | Configures wolfSSL. |
| src/port/rp2040_w5100s/tools/boot2_pad.py | Pads and checksums boot images. |
| src/port/rp2040_w5100s/tls_echo.h | Declares TLS echo operations. |
| src/port/rp2040_w5100s/tls_echo.c | Implements polled TLS echo. |
| src/port/rp2040_w5100s/tftp_update.h | Declares firmware-update operations. |
| src/port/rp2040_w5100s/tftp_update.c | Downloads updates into flash. |
| src/port/rp2040_w5100s/target.ld.in | Defines firmware memory layouts. |
| src/port/rp2040_w5100s/syscalls.c | Supplies newlib platform stubs. |
| src/port/rp2040_w5100s/startup.c | Adds reset handling and vectors. |
| src/port/rp2040_w5100s/rp2040.h | Declares platform helpers and registers. |
| src/port/rp2040_w5100s/rp2040_xip.c | Enables optional quad-flash reads. |
| src/port/rp2040_w5100s/rp2040_periph.c | Implements UART, SPI and utility routines. |
| src/port/rp2040_w5100s/rp2040_flash.c | Implements flash erase and programming. |
| src/port/rp2040_w5100s/rp2040_clocks.c | Initializes clocks, timers and GPIO. |
| src/port/rp2040_w5100s/README.md | Documents setup, variants and limitations. |
| src/port/rp2040_w5100s/Makefile | Builds firmware and signed images. |
| src/port/rp2040_w5100s/main.c | Integrates networking demos and consoles. |
| src/port/rp2040_w5100s/config.h | Sets network and memory defaults. |
| src/port/rp2040_w5100s/boot2.S | Adds second-stage flash boot. |
| src/port/rp2040_w5100s/board.h | Defines board pins and clock settings. |
| src/port/rp2040_w5100s/.gitignore | Excludes generated artifacts. |
| .github/workflows/rp2040_w5100s.yml | Builds default and throughput variants. |
| .github/membrowse-targets.json | Adds the memory-reporting target. |
Review effort: Balanced
dgarske
force-pushed
the
w5100s_evb_pico
branch
from
December 2, 2026 02:11
4a60e73 to
eb037a1
Compare
dgarske
force-pushed
the
w5100s_evb_pico
branch
from
December 2, 2026 19:31
eb037a1 to
6c48955
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Bare-metal wolfIP port for the WIZnet W5100S-EVB-Pico (RP2040 Cortex-M0+ with a W5100S Ethernet controller on SPI). No pico-sdk. The W5100S is used as a plain MAC/PHY in MACRAW mode.
src/port/wiznet/w5100s.c- bus-agnostic MACRAW link driversrc/port/rp2040_w5100s/- second-stage boot, startup, clocks, UART, SPI, DHCP + TCP/UDP echo demo, README; optional TLS 1.3 echo and TFTP firmware update under wolfBootsrc/wolfip.c- the checksum loops read each 16-bit word with two byte loads instead of a 2-bytememcpy, which Thumb-1 GCC does not inlinesrc/port/rp2350_cyw43439/tools/elf2uf2.py- RP2040 family ID and a--baseoptionValidated on a W5100S-EVB-Pico: DHCP, ping, TCP/UDP echo, TLS 1.3 echo, and a TFTP update under wolfBoot. The UART console was not run on hardware; testing used
NET_CONSOLE=1.WOLFBOOT=1builds need the wolfBootTARGET=rp2040PR.