diff options
| author | Henrik Tjäder <henrik@tjaders.com> | 2020-11-12 17:45:12 +0000 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2020-11-12 17:45:12 +0000 |
| commit | 95a020c8af529dc5f27bc78ac234239783709493 (patch) | |
| tree | 9978ba6d598f7b2f70e64b6177ef7c13e5a9ba89 /book | |
| parent | 1709d1c9c63f17cb634b3e1a6f39cd22b3bfea7f (diff) | |
Fixup app/new
Diffstat (limited to 'book')
| -rw-r--r-- | book/en/src/by-example/new.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/book/en/src/by-example/new.md b/book/en/src/by-example/new.md index 82681bf..59a8531 100644 --- a/book/en/src/by-example/new.md +++ b/book/en/src/by-example/new.md @@ -46,10 +46,11 @@ $ cargo add cortex-m-rtic --allow-prerelease 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 -$ curl \ - -L https://github.com/rtic-rs/cortex-m-rtic/raw/v0.5.3/examples/init.rs \ - > src/main.rs +{{#include ../../../../examples/init.rs}} ``` The `init` example uses the `lm3s6965` device. Remember to adjust the `device` |
