diff options
| author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-12-16 21:05:56 +0000 |
|---|---|---|
| committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-12-16 21:05:56 +0000 |
| commit | 3511e915b5261ca11928ced3c05fa5ce1cabb138 (patch) | |
| tree | 46081c204b0424802ed88ce61f6e750105aa91e2 /book/src/by-example/new.md | |
| parent | c2fbb2848851e32b78e79ff9e919538b7d5ab8a0 (diff) | |
| parent | 22140fbc49b16e422652542371d3b389b2a5fbeb (diff) | |
Merge #116
116: v0.4.0 r=japaric a=japaric
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
Diffstat (limited to 'book/src/by-example/new.md')
| -rw-r--r-- | book/src/by-example/new.md | 10 |
1 files changed, 5 insertions, 5 deletions
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 ``` |
