From e90e6332f69cde78c902ba554b3d2930ab173124 Mon Sep 17 00:00:00 2001 From: CuriouslyCurious Date: Thu, 29 Jul 2021 00:29:34 +0200 Subject: [PATCH] book: Clarify target notice --- book/en/src/by-example/app.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/book/en/src/by-example/app.md b/book/en/src/by-example/app.md index d23c2619aa..e8e1d7a62e 100644 --- a/book/en/src/by-example/app.md +++ b/book/en/src/by-example/app.md @@ -53,9 +53,10 @@ $ cargo run --example init {{#include ../../../../ci/expected/init.run}} ``` -> **NOTE**: Remember to always specify your chosen target device or configure -> one to be used by default in `.cargo/config.toml`. In this case, we use -> a Cortex M3 running in QEMU so the target is `thumbv7m-none-eabi`. +> **NOTE**: Remember to specify your chosen target device by passing a target +> triple to cargo (e.g `cargo run --example init --target thumbv7m-none-eabi`) or +> configure a device to be used by default when building the examples in `.cargo/config.toml`. +> In this case, we use a Cortex M3 emulated in QEMU so the target is `thumbv7m-none-eabi`. ## `idle`