From 99a17be67107c7b77b1e175d85392c6f5e40a403 Mon Sep 17 00:00:00 2001 From: Paul Diaconescu Date: Thu, 25 Feb 2021 23:03:14 +0100 Subject: [PATCH] Document that compilation target must be added with rustup --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 18affb9..1900658 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,13 @@ 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.