Merge pull request #48 from afajl/main

Document that compilation target must be added with rustup
This commit is contained in:
Jorge Aparicio
2021-02-26 14:05:38 +01:00
committed by GitHub
+6
View File
@@ -74,6 +74,12 @@ In `.cargo/config.toml`, pick the right compilation target for your board.
+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
In `Cargo.toml`, list the Hardware Abstraction Layer (HAL) for your board as a dependency.