mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
Merge #408
408: Fixup app/new r=perlindgren a=AfoHT Reference the current example Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
This commit is contained in:
commit
65d0ee1f8e
1 changed files with 4 additions and 3 deletions
|
@ -46,10 +46,11 @@ $ cargo add cortex-m-rtic --allow-prerelease
|
||||||
|
|
||||||
Here I'll use the `init` example from the `cortex-m-rtic` crate.
|
Here I'll use the `init` example from the `cortex-m-rtic` crate.
|
||||||
|
|
||||||
|
The examples are found in the `examples` folder, and the contents
|
||||||
|
of `init.rs` is shown here:
|
||||||
|
|
||||||
``` console
|
``` console
|
||||||
$ curl \
|
{{#include ../../../../examples/init.rs}}
|
||||||
-L https://github.com/rtic-rs/cortex-m-rtic/raw/v0.5.3/examples/init.rs \
|
|
||||||
> src/main.rs
|
|
||||||
```
|
```
|
||||||
|
|
||||||
The `init` example uses the `lm3s6965` device. Remember to adjust the `device`
|
The `init` example uses the `lm3s6965` device. Remember to adjust the `device`
|
||||||
|
|
Loading…
Reference in a new issue