From 89632f9b22d33bef08b2f98554e263c8a1d7cfa0 Mon Sep 17 00:00:00 2001 From: Per Lindgren Date: Wed, 1 Feb 2023 19:46:58 +0100 Subject: book polish --- book/en/src/by-example/resources.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'book/en/src/by-example/resources.md') 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}} ``` -- cgit v1.2.3