Fix embassy-net documentation of running examples.

This commit is contained in:
Matous Hybl 2021-12-06 14:59:15 +01:00
parent 7c155c3aba
commit a802fd83aa
2 changed files with 5 additions and 4 deletions

View File

@ -17,10 +17,11 @@ sudo ip -6 route add fe80::/64 dev tap0
sudo ip -6 route add fdaa::/64 dev tap0 sudo ip -6 route add fdaa::/64 dev tap0
``` ```
Then, run it Then run the example located in the `examples` folder:
```sh ```sh
cargo run --bin embassy-net-examples cd $EMBASSY_ROOT/examples/std/
cargo run --bin net
``` ```
## License ## License

View File

@ -15,5 +15,5 @@ log = "0.4.14"
nix = "0.22.1" nix = "0.22.1"
libc = "0.2.101" libc = "0.2.101"
clap = { version = "3.0.0-beta.5", features = ["derive"] } clap = { version = "3.0.0-beta.5", features = ["derive"] }
rand_core = { version = "0.6.3", features = ["std"] } rand_core = { version = "0.6.3", features = ["std"] }
heapless = { version = "0.7.5", default-features = false } heapless = { version = "0.7.5", default-features = false }