Modern embedded framework, using Rust and async.
Find a file
2021-04-12 18:13:22 +02:00
.github/workflows Update embassy 2021-03-02 21:20:00 +01:00
.vscode Update embassy 2021-03-02 21:20:00 +01:00
embassy-net derive Eq for config 2021-04-12 18:13:22 +02:00
embassy-net-examples Update to latest embassy, atomic-pool, smoltcp 2021-04-07 19:06:45 +02:00
.gitignore 🌈 2021-02-03 05:09:37 +01:00
Cargo.toml Update to latest embassy, atomic-pool, smoltcp 2021-04-07 19:06:45 +02:00
ci.sh Update embassy 2021-03-02 21:20:00 +01:00
LICENSE-APACHE 🌈 2021-02-03 05:09:37 +01:00
LICENSE-MIT 🌈 2021-02-03 05:09:37 +01:00
README.md 🌈 2021-02-03 05:09:37 +01:00

embassy-net

embassy-net contains an async network API based on smoltcp and embassy, designed for embedded systems.

Running the example

First, create the tap0 interface. You only need to do this once.

sudo ip tuntap add name tap0 mode tap user $USER
sudo ip link set tap0 up
sudo ip addr add 192.168.69.100/24 dev tap0
sudo ip -6 addr add fe80::100/64 dev tap0
sudo ip -6 addr add fdaa::100/64 dev tap0
sudo ip -6 route add fe80::/64 dev tap0
sudo ip -6 route add fdaa::/64 dev tap0

Then, run it

cargo run --bin embassy-net-examples

License

This work is licensed under either of

at your option.