Merge pull request #48 from afajl/main
Document that compilation target must be added with rustup
This commit is contained in:
@@ -74,6 +74,12 @@ In `.cargo/config.toml`, pick the right compilation target for your board.
|
|||||||
+target = "thumbv7em-none-eabihf" # Cortex-M4F (with FPU)
|
+target = "thumbv7em-none-eabihf" # Cortex-M4F (with FPU)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Add the target with `rustup`.
|
||||||
|
|
||||||
|
``` console
|
||||||
|
$ rustup target add thumbv7em-none-eabihf
|
||||||
|
```
|
||||||
|
|
||||||
#### 4. Add a HAL as a dependency
|
#### 4. Add a HAL as a dependency
|
||||||
|
|
||||||
In `Cargo.toml`, list the Hardware Abstraction Layer (HAL) for your board as a dependency.
|
In `Cargo.toml`, list the Hardware Abstraction Layer (HAL) for your board as a dependency.
|
||||||
|
|||||||
Reference in New Issue
Block a user