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:
bors[bot] 2020-11-12 18:29:58 +00:00 committed by GitHub
commit 65d0ee1f8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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`