Update README.md

This commit is contained in:
Johann Hemmann
2021-02-26 09:26:23 +01:00
committed by GitHub
parent 99a17be671
commit 4e9a879cec
+1 -4
View File
@@ -74,13 +74,10 @@ 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. Add the target with `rustup`.
``` console ``` console
$ rustup target add thumbv7em-none-eabihf $ 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.