From 62be475b586eca1fac646f55f9ef5b51f5321a44 Mon Sep 17 00:00:00 2001 From: armaxri Date: Tue, 17 Oct 2023 00:40:20 +0200 Subject: [PATCH] Improved hardware.md chapter. If you follow the documentation blindly, you will end up in a trap with strange compiler warnings. This fix adds a warning about that. --- src/start/hardware.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/start/hardware.md b/src/start/hardware.md index 8166e62e..ba9fe6e7 100644 --- a/src/start/hardware.md +++ b/src/start/hardware.md @@ -64,6 +64,9 @@ target = "thumbv7em-none-eabihf" # Cortex-M4F and Cortex-M7F (with FPU) ``` We'll use `thumbv7em-none-eabihf` as that covers the Cortex-M4F core. +> **NOTE**: As you may remember from the previous chapter, we have to install +> all targets and this is a new one. So don't forget to run the installation +> process `rustup target add thumbv7em-none-eabihf` for this target. The second step is to enter the memory region information into the `memory.x` file.