book: Add note to remember to choose target

This commit is contained in:
CuriouslyCurious 2021-07-28 13:55:12 +02:00
parent 49d4185e3b
commit 007665eeee

View file

@ -53,6 +53,10 @@ $ cargo run --example init
{{#include ../../../../ci/expected/init.run}} {{#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`.
## `idle` ## `idle`
A function marked with the `idle` attribute can optionally appear in the A function marked with the `idle` attribute can optionally appear in the