aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2022-06-15 10:44:15 +0200
committerUlf Lilleengen <[email protected]>2022-06-15 10:44:15 +0200
commiteb237337671af5c9be7fc120e5d5235039dc5e5a (patch)
tree32818ec3a94dab4f77fbd06dee561bfaf5ffe9cf
parent72eb16b46dc9ff12ae38b9d9fb94e3ad7a4b2e65 (diff)
Ignore compiling rust code
-rw-r--r--README.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/README.md b/README.md
index eab74bd57..a7a7ccd54 100644
--- a/README.md
+++ b/README.md
@@ -42,7 +42,7 @@ The <a href="https://github.com/embassy-rs/nrf-softdevice">nrf-softdevice</a> cr
42 42
43## Sneak peek 43## Sneak peek
44 44
45```rust 45```rust,ignore
46use defmt::info; 46use defmt::info;
47use embassy::executor::Spawner; 47use embassy::executor::Spawner;
48use embassy::time::{Duration, Timer}; 48use embassy::time::{Duration, Timer};
@@ -93,20 +93,21 @@ Examples are found in the `examples/` folder seperated by the chip manufacturer
93### Running examples 93### Running examples
94 94
95- Setup git submodules (needed for STM32 examples) 95- Setup git submodules (needed for STM32 examples)
96``` 96
97```bash
97git submodule init 98git submodule init
98git submodule update 99git submodule update
99``` 100```
100 101
101- Install `probe-run` with defmt support. 102- Install `probe-run` with defmt support.
102 103
103``` 104```bash
104cargo install probe-run 105cargo install probe-run
105``` 106```
106 107
107- Change directory to the sample's base directory. For example: 108- Change directory to the sample's base directory. For example:
108 109
109``` 110```bash
110cd examples/nrf 111cd examples/nrf
111``` 112```
112 113
@@ -114,7 +115,7 @@ cd examples/nrf
114 115
115For example: 116For example:
116 117
117``` 118```bash
118cargo run --bin blinky 119cargo run --bin blinky
119``` 120```
120 121