aboutsummaryrefslogtreecommitdiff
path: root/book/en/src/by-example/resources.md
diff options
context:
space:
mode:
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}}
```