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

no-std cotton-w5500

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

1 unstable release

0.1.0 Jul 10, 2024

#6 in #smoltcp

CC0 license

19KB
318 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

~3–5MB
~102K SLoC