aboutsummaryrefslogtreecommitdiff
path: root/book/en/src/by-example/new.md
diff options
context:
space:
mode:
Diffstat (limited to 'book/en/src/by-example/new.md')
-rw-r--r--book/en/src/by-example/new.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/book/en/src/by-example/new.md b/book/en/src/by-example/new.md
index ae49ef2..866a9fa 100644
--- a/book/en/src/by-example/new.md
+++ b/book/en/src/by-example/new.md
@@ -1,6 +1,6 @@
# Starting a new project
-Now that you have learned about the main features of the RTFM framework you can
+Now that you have learned about the main features of the RTIC framework you can
try it out on your hardware by following these instructions.
1. Instantiate the [`cortex-m-quickstart`] template.
@@ -36,20 +36,19 @@ $ cargo add lm3s6965 --vers 0.1.3
$ rm memory.x build.rs
```
-3. Add the `cortex-m-rtfm` crate as a dependency and, if you need it, enable the
- `timer-queue` feature.
+3. Add the `cortex-m-rtic` crate as a dependency.
``` console
-$ cargo add cortex-m-rtfm
+$ cargo add cortex-m-rtic --allow-prerelease
```
-4. Write your RTFM application.
+4. Write your RTIC application.
-Here I'll use the `init` example from the `cortex-m-rtfm` crate.
+Here I'll use the `init` example from the `cortex-m-rtic` crate.
``` console
$ curl \
- -L https://github.com/japaric/cortex-m-rtfm/raw/v0.4.0/examples/init.rs \
+ -L https://github.com/rtic-rs/cortex-m-rtic/raw/v0.5.3/examples/init.rs \
> src/main.rs
```
@@ -64,4 +63,5 @@ $ cargo add panic-semihosting
``` console
$ # NOTE: I have uncommented the `runner` option in `.cargo/config`
$ cargo run
-{{#include ../../../../ci/expected/init.run}}```
+{{#include ../../../../ci/expected/init.run}}
+```