aboutsummaryrefslogtreecommitdiff
path: root/book/en/src/by-example.md
diff options
context:
space:
mode:
Diffstat (limited to 'book/en/src/by-example.md')
-rw-r--r--book/en/src/by-example.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/book/en/src/by-example.md b/book/en/src/by-example.md
index 3a523e5..419a4ba 100644
--- a/book/en/src/by-example.md
+++ b/book/en/src/by-example.md
@@ -30,3 +30,9 @@ Yields this output:
``` console
{{#include ../../../ci/expected/locals.run}}
```
+
+> **NOTE**: You can choose target device by passing a target
+> triple to cargo (e.g. `cargo run --example init --target thumbv7m-none-eabi`) or
+> configure a default target in `.cargo/config.toml`.
+>
+> For running the examples, we use a Cortex M3 emulated in QEMU, so the target is `thumbv7m-none-eabi`. \ No newline at end of file