book: Clarify target notice

This commit is contained in:
CuriouslyCurious 2021-07-29 00:29:34 +02:00
parent 007665eeee
commit e90e6332f6

View file

@ -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`