517: Fix embassy-net documentation of running examples. r=lulf a=matoushybl

and fix weird indentation.

Co-authored-by: Matous Hybl <hyblmatous@gmail.com>
This commit is contained in:
bors[bot] 2021-12-06 14:39:53 +00:00 committed by GitHub
commit 8b4a247af2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 }