diff options
| author | CuriouslyCurious <thecuriouslycurious@protonmail.com> | 2021-07-29 00:29:34 +0200 |
|---|---|---|
| committer | CuriouslyCurious <thecuriouslycurious@protonmail.com> | 2021-07-29 00:29:34 +0200 |
| commit | e90e6332f69cde78c902ba554b3d2930ab173124 (patch) | |
| tree | 483bebaaa76d35917138890cc93fe9a3f74c11ed /book/en/src/by-example/app.md | |
| parent | 007665eeee37cb9ef6f6bd9ef9a477fbf83fd520 (diff) | |
book: Clarify target notice
Diffstat (limited to 'book/en/src/by-example/app.md')
| -rw-r--r-- | book/en/src/by-example/app.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/book/en/src/by-example/app.md b/book/en/src/by-example/app.md index d23c261..e8e1d7a 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` |
