diff options
author | 2020-10-02 20:43:52 +1000 | |
---|---|---|
committer | 2020-10-02 20:43:52 +1000 | |
commit | 3d6a0ea64fb2661ee1150a84425f50c18c2de9ad (patch) | |
tree | 57fd8f5632c7b5013d8cf8f4d0a4902d2d8c24a7 | |
parent | 91c2d4850e31da1bbd49fc668ae79533e7ac3ab4 (diff) | |
download | rtic-3d6a0ea64fb2661ee1150a84425f50c18c2de9ad.tar.gz rtic-3d6a0ea64fb2661ee1150a84425f50c18c2de9ad.tar.zst rtic-3d6a0ea64fb2661ee1150a84425f50c18c2de9ad.zip |
minor markdownlints
-rw-r--r-- | book/en/src/by-example/resources.md | 2 | ||||
-rw-r--r-- | book/en/src/by-example/tips.md | 1 | ||||
-rw-r--r-- | book/en/src/migration.md | 3 | ||||
-rw-r--r-- | book/en/src/migration_rtic.md | 4 |
4 files changed, 3 insertions, 7 deletions
diff --git a/book/en/src/by-example/resources.md b/book/en/src/by-example/resources.md index 9831e55b..9b6e5a80 100644 --- a/book/en/src/by-example/resources.md +++ b/book/en/src/by-example/resources.md @@ -1,4 +1,4 @@ -## Resources +# Resources The framework provides an abstraction to share data between any of the contexts we saw in the previous section (task handlers, `init` and `idle`): resources. diff --git a/book/en/src/by-example/tips.md b/book/en/src/by-example/tips.md index 5a447088..98c1abbf 100644 --- a/book/en/src/by-example/tips.md +++ b/book/en/src/by-example/tips.md @@ -116,6 +116,7 @@ Here's an example where `heapless::Pool` is used to "box" buffers of 128 bytes. ``` rust {{#include ../../../../examples/pool.rs}} ``` + ``` console $ cargo run --example pool {{#include ../../../../ci/expected/pool.run}} diff --git a/book/en/src/migration.md b/book/en/src/migration.md index 6cca64db..d382db17 100644 --- a/book/en/src/migration.md +++ b/book/en/src/migration.md @@ -8,7 +8,6 @@ the version v0.5.0 of the framework. First, the version of the `cortex-m-rtic` dependency needs to be updated to `"0.5.0"`. The `timer-queue` feature needs to be removed. - ``` toml [dependencies.cortex-m-rtic] # change this @@ -194,7 +193,7 @@ Also, the `Duration` and `Instant` types and the `U32Ext` trait have been moved into the `rtic::cyccnt` module. This module is only available on ARMv7-M+ devices. The removal of the `timer-queue` also brings back the `DWT` peripheral inside the core peripherals struct, this will need to be enabled by the application -inside `init`. +inside `init`. Change this: diff --git a/book/en/src/migration_rtic.md b/book/en/src/migration_rtic.md index 555f1bb7..c027da35 100644 --- a/book/en/src/migration_rtic.md +++ b/book/en/src/migration_rtic.md @@ -8,14 +8,11 @@ change. [RFC #33]: https://github.com/rtic-rs/rfcs/pull/33 - - ## `Cargo.toml` First, the `cortex-m-rtfm` dependency needs to be updated to `cortex-m-rtic`. - ``` toml [dependencies] # change this @@ -51,4 +48,3 @@ const APP: () = { }; ``` - |