aboutsummaryrefslogtreecommitdiff
path: root/book/en/src/by-example/resources.md
diff options
context:
space:
mode:
authorPer Lindgren <per.lindgren@ltu.se>2023-02-01 19:46:58 +0100
committerHenrik Tjäder <henrik@tjaders.com>2023-03-01 00:35:04 +0100
commit89632f9b22d33bef08b2f98554e263c8a1d7cfa0 (patch)
treeb17278b5507b88ea09e86d9859292d904e89b8f0 /book/en/src/by-example/resources.md
parent14fdca130f8c3ab598b30cfb7e70f8712ea42fb8 (diff)
book polish
Diffstat (limited to 'book/en/src/by-example/resources.md')
-rw-r--r--book/en/src/by-example/resources.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/book/en/src/by-example/resources.md b/book/en/src/by-example/resources.md
index 2dd7cb7..0bf5d11 100644
--- a/book/en/src/by-example/resources.md
+++ b/book/en/src/by-example/resources.md
@@ -33,6 +33,9 @@ Running the example:
``` console
$ cargo run --target thumbv7m-none-eabi --example locals
+```
+
+``` console
{{#include ../../../../rtic/ci/expected/locals.run}}
```
@@ -79,6 +82,9 @@ In the example below we have three interrupt handlers with priorities ranging fr
``` console
$ cargo run --target thumbv7m-none-eabi --example lock
+```
+
+``` console
{{#include ../../../../rtic/ci/expected/lock.run}}
```
@@ -94,6 +100,9 @@ As an extension to `lock`, and to reduce rightward drift, locks can be taken as
``` console
$ cargo run --target thumbv7m-none-eabi --example multilock
+```
+
+``` console
{{#include ../../../../rtic/ci/expected/multilock.run}}
```
@@ -113,6 +122,9 @@ In the example below a key (e.g. a cryptographic key) is loaded (or created) at
``` console
$ cargo run --target thumbv7m-none-eabi --example only-shared-access
+```
+
+``` console
{{#include ../../../../rtic/ci/expected/only-shared-access.run}}
```
@@ -136,5 +148,8 @@ Using `#[lock_free]` on resources shared by tasks running at different prioritie
``` console
$ cargo run --target thumbv7m-none-eabi --example lock-free
+```
+
+``` console
{{#include ../../../../rtic/ci/expected/lock-free.run}}
```