From e20de33f4cc885cd5f954453ecec3887c66175fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= <henrik@tjaders.com> Date: Sat, 30 Nov 2019 23:53:21 +0100 Subject: [PATCH] Add the ARM target --- src/ch2_01_linux_installation.md | 5 +++++ src/ch2_02_windows_installation.md | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/src/ch2_01_linux_installation.md b/src/ch2_01_linux_installation.md index 9d31013..1afea8e 100644 --- a/src/ch2_01_linux_installation.md +++ b/src/ch2_01_linux_installation.md @@ -44,6 +44,11 @@ sudo pacman -S openocd Go to [https://rustup.rs/](https://rustup.rs/) and follow the instructions. +then add the required ARM target: + +``` +rustup target add thumbv7em-none-eabihf +``` ## Cargo tools ``` diff --git a/src/ch2_02_windows_installation.md b/src/ch2_02_windows_installation.md index 2806815..3a98236 100644 --- a/src/ch2_02_windows_installation.md +++ b/src/ch2_02_windows_installation.md @@ -50,6 +50,12 @@ The ordinary C: drive will be found under /mnt/c Go to [https://rustup.rs/](https://rustup.rs/) and follow the instructions, run the command inside WSL. +then add the required ARM target: + +``` +rustup target add thumbv7em-none-eabihf +``` + ##### Cargo tools ``` cargo install cargo-binutils -- GitLab