aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Jacobsson <01joja@gmail.com> 2022-09-27 15:29:03 +0000
committerGravatar Jonas Jacobsson <01joja@gmail.com> 2022-09-27 15:29:03 +0000
commitccbaea82aa6a55f6774b6eccad975382900f86d9 (patch)
tree0657a1d117372cb31637bfdc8e63de59bdcd1847
parentb87fca3d21d92018ac4d50b200cf8e77cb577028 (diff)
downloadrtic-ccbaea82aa6a55f6774b6eccad975382900f86d9.tar.gz
rtic-ccbaea82aa6a55f6774b6eccad975382900f86d9.tar.zst
rtic-ccbaea82aa6a55f6774b6eccad975382900f86d9.zip
.toml and note aboute target
-rw-r--r--.cargo/config.toml (renamed from .cargo/config)0
-rw-r--r--book/en/src/by-example.md6
-rw-r--r--book/en/src/by-example/app_init.md6
3 files changed, 6 insertions, 6 deletions
diff --git a/.cargo/config b/.cargo/config.toml
index d70faef4..d70faef4 100644
--- a/.cargo/config
+++ b/.cargo/config.toml
diff --git a/book/en/src/by-example.md b/book/en/src/by-example.md
index 3a523e51..419a4bae 100644
--- a/book/en/src/by-example.md
+++ b/book/en/src/by-example.md
@@ -30,3 +30,9 @@ Yields this output:
``` console
{{#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`. \ No newline at end of file
diff --git a/book/en/src/by-example/app_init.md b/book/en/src/by-example/app_init.md
index 615c2991..22c4a28a 100644
--- a/book/en/src/by-example/app_init.md
+++ b/book/en/src/by-example/app_init.md
@@ -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
{{#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`.