mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-25 21:19:35 +01:00
.toml and note aboute target
This commit is contained in:
parent
b87fca3d21
commit
ccbaea82aa
3 changed files with 6 additions and 6 deletions
|
@ -30,3 +30,9 @@ Yields this output:
|
||||||
``` console
|
``` console
|
||||||
{{#include ../../../ci/expected/locals.run}}
|
{{#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`.
|
|
@ -28,9 +28,3 @@ Running the example will print `init` to the console and then exit the QEMU proc
|
||||||
$ cargo run --target thumbv7m-none-eabi --example init
|
$ cargo run --target thumbv7m-none-eabi --example init
|
||||||
{{#include ../../../../ci/expected/init.run}}
|
{{#include ../../../../ci/expected/init.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`.
|
|
||||||
|
|
Loading…
Reference in a new issue