.github
.vscode
cyw43
cyw43-firmware
cyw43-pio
docs
embassy-boot
embassy-embedded-hal
embassy-executor
embassy-futures
embassy-hal-internal
embassy-lora
embassy-macros
embassy-net
embassy-net-adin1110
embassy-net-driver
embassy-net-driver-channel
embassy-net-enc28j60
embassy-net-esp-hosted
embassy-net-ppp
embassy-net-tuntap
embassy-net-wiznet
embassy-nrf
embassy-rp
embassy-stm32
embassy-stm32-wpan
embassy-sync
embassy-time
embassy-usb
embassy-usb-driver
embassy-usb-logger
examples
.cargo
boot
nrf-rtos-trace
nrf52840
nrf52840-rtic
nrf5340
rp
std
src
Cargo.toml
README.md
stm32c0
stm32f0
stm32f1
stm32f2
stm32f3
stm32f334
stm32f4
stm32f7
stm32g0
stm32g4
stm32h5
stm32h7
stm32l0
stm32l1
stm32l4
stm32l5
stm32u5
stm32wb
stm32wba
stm32wl
wasm
tests
.gitattributes
.gitignore
LICENSE-APACHE
LICENSE-MIT
NOTICE.md
README.md
ci.sh
ci_stable.sh
rust-toolchain.toml
rustfmt.toml
Running the embassy-net
examples
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
Second, have something listening there. For example nc -l 8000
Then run the example located in the examples
folder:
cd $EMBASSY_ROOT/examples/std/
cargo run --bin net -- --static-ip