diff --git a/src/bare-metal/aps/better-uart/using.md b/src/bare-metal/aps/better-uart/using.md index 67ecb4d0..c574f7e0 100644 --- a/src/bare-metal/aps/better-uart/using.md +++ b/src/bare-metal/aps/better-uart/using.md @@ -6,3 +6,9 @@ bytes. ```rust,editable,compile_fail {{#include ../examples/src/main_improved.rs:main}} ``` + +
+ +* Run the example in QEMU with `make qemu` under `src/bare-metal/aps/examples`. + +
diff --git a/src/bare-metal/aps/inline-assembly.md b/src/bare-metal/aps/inline-assembly.md index f1b5d2a9..7224d892 100644 --- a/src/bare-metal/aps/inline-assembly.md +++ b/src/bare-metal/aps/inline-assembly.md @@ -17,6 +17,7 @@ to make an HVC to tell the firmware to powe * The `0 => _` syntax means initialise the register to 0 before running the inline assembly code, and ignore its contents afterwards. We need to use `inout` rather than `in` because the call could potentially clobber the contents of the registers. +* Run the example in QEMU with `make qemu_psci` under `src/bare-metal/aps/examples`. diff --git a/src/bare-metal/aps/logging/using.md b/src/bare-metal/aps/logging/using.md index 2df1fc7b..a2e15005 100644 --- a/src/bare-metal/aps/logging/using.md +++ b/src/bare-metal/aps/logging/using.md @@ -9,5 +9,6 @@ We need to initialise the logger before we use it.
* Note that our panic handler can now log details of panics. +* Run the example in QEMU with `make qemu_logger` under `src/bare-metal/aps/examples`.
diff --git a/src/bare-metal/aps/uart/traits.md b/src/bare-metal/aps/uart/traits.md index b6046348..95b5f749 100644 --- a/src/bare-metal/aps/uart/traits.md +++ b/src/bare-metal/aps/uart/traits.md @@ -9,5 +9,6 @@ We derived the `Debug` trait. It would be useful to implement a few more traits
* Implementing `Write` lets us use the `write!` and `writeln!` macros with our `Uart` type. +* Run the example in QEMU with `make qemu_minimal` under `src/bare-metal/aps/examples`.