aboutsummaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2018-12-16 21:19:19 +0100
committerJorge Aparicio <jorge@japaric.io>2018-12-16 21:19:19 +0100
commitd98f6c9a61267abe00a827ac6c668b50b2bac714 (patch)
tree3817069397c27d86e8989b037de87955542193be /book
parent34e74f4bb36b0866be94c9bfdb41c11270b448a7 (diff)
v0.4.0
Diffstat (limited to 'book')
-rw-r--r--book/src/by-example/app.md6
-rw-r--r--book/src/by-example/new.md10
-rw-r--r--book/src/preface.md4
3 files changed, 10 insertions, 10 deletions
diff --git a/book/src/by-example/app.md b/book/src/by-example/app.md
index ae0f4b8..26aa03f 100644
--- a/book/src/by-example/app.md
+++ b/book/src/by-example/app.md
@@ -9,9 +9,9 @@ This is the smallest possible RTFM application:
All RTFM applications use the [`app`] attribute (`#[app(..)]`). This attribute
must be applied to a `const` item that contains items. The `app` attribute has
a mandatory `device` argument that takes a *path* as a value. This path must
-point to a *device* crate generated using [`svd2rust`] **v0.14.x**. The `app`
-attribute will expand into a suitable entry point so it's not required to use
-the [`cortex_m_rt::entry`] attribute.
+point to a *peripheral access crate* (PAC) generated using [`svd2rust`]
+**v0.14.x**. The `app` attribute will expand into a suitable entry point so it's
+not required to use the [`cortex_m_rt::entry`] attribute.
[`app`]: ../../api/cortex_m_rtfm_macros/attr.app.html
[`svd2rust`]: https://crates.io/crates/svd2rust
diff --git a/book/src/by-example/new.md b/book/src/by-example/new.md
index b6c4643..b7d18a7 100644
--- a/book/src/by-example/new.md
+++ b/book/src/by-example/new.md
@@ -16,9 +16,9 @@ $ cargo generate \
$ # follow the rest of the instructions
```
-2. Add a device crate that was generated using [`svd2rust`] **v0.14.x**, or a
- board support crate that depends on one such device crate as a dependency.
- Make sure that the `rt` feature of the crate is enabled.
+2. Add a peripheral access crate (PAC) that was generated using [`svd2rust`]
+ **v0.14.x**, or a board support crate that depends on one such PAC as a
+ dependency. Make sure that the `rt` feature of the crate is enabled.
[`svd2rust`]: https://crates.io/crates/svd2rust
@@ -40,7 +40,7 @@ $ rm memory.x build.rs
`timer-queue` feature.
``` console
-$ cargo add cortex-m-rtfm --allow-prerelease --upgrade=none
+$ cargo add cortex-m-rtfm
```
4. Write your RTFM application.
@@ -49,7 +49,7 @@ Here I'll use the `init` example from the `cortex-m-rtfm` crate.
``` console
$ curl \
- -L https://github.com/japaric/cortex-m-rtfm/raw/v0.4.0-beta.1/examples/init.rs \
+ -L https://github.com/japaric/cortex-m-rtfm/raw/v0.4.0/examples/init.rs \
> src/main.rs
```
diff --git a/book/src/preface.md b/book/src/preface.md
index fe4ad62..e64a996 100644
--- a/book/src/preface.md
+++ b/book/src/preface.md
@@ -7,6 +7,6 @@
This book contains user level documentation for the Real Time For the Masses
(RTFM) framework. The API reference can be found [here](../api/rtfm/index.html).
-{{#include ../../README.md:5:55}}
+{{#include ../../README.md:5:46}}
-{{#include ../../README.md:61:}}
+{{#include ../../README.md:52:}}