#w5500 #smoltcp #chip #mode #driver #devices #cotton

no-std cotton-w5500

smoltcp driver for Wiznet W5500 SPI-to-Ethernet chip in MACRAW mode

2 unstable releases

new 0.2.0 Feb 15, 2025
0.1.0 Jul 10, 2024

#6 in #smoltcp

Download history 3/week @ 2024-11-03

76 downloads per month

CC0 license

20KB
332 lines

CI status codecov dependency status Crates.io Crates.io docs.rs License: CC0-1.0

cotton-w5500

Part of the Cotton project.

A Wiznet W5500 driver for smoltcp

This crate includes an implementation of smoltcp::phy::Device which uses the W5500 crate to target smoltcp to the Wiznet W5500 SPI-to-Ethernet chip, as found on the W5500-EVB-Pico board (and in many other places). The W5500 is operated in "MACRAW" (raw packet) mode, which allows more flexible networking (via smoltcp) than is possible using the W5500's onboard TCP/UDP mode -- for instance, it enables IPv6 support, which would otherwise require the somewhat rarer W6100 chip.

Although cotton-w5500 works well with cotton-unique, it is relatively stand-alone: it does not depend on cotton-unique nor on any other part of the Cotton project.

Library documentation is on docs.rs.

Dependencies

~4–5.5MB
~121K SLoC