From 09fd0d2aad4a38e52d0ba0d9bb218a97c9734c67 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 11 Jan 2023 23:15:48 +0100 Subject: [PATCH] that should do the job --- README.md | 2 +- automation/Dockerfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a5bc65a..a632020 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ is contained within the 1. Set up your Rust cross-compiler if you have not done so yet. See more in the [build chapter](#Building) 2. Create a new binary crate with `cargo init` -3. To ensure that `cargo build` cross-compiles, it is recommended to create a `cargo/config.toml` +3. To ensure that `cargo build` cross-compiles, it is recommended to create a `.cargo/config.toml` file. A sample `.cargo/config.toml` file is provided in this repository as well 4. Copy the `memory.x` file into your project. This file contains information required by the linker. 5. Copy the `blinky.rs` file to the `src/main.rs` file in your binary crate diff --git a/automation/Dockerfile b/automation/Dockerfile index e1a7baf..b789384 100644 --- a/automation/Dockerfile +++ b/automation/Dockerfile @@ -9,4 +9,5 @@ ARG DEBIAN_FRONTEND=noninteractive RUN rustup install nightly && \ rustup target add thumbv6m-none-eabi && \ + rustup +nightly target add thumbv6m-none-eabi && \ rustup component add rustfmt clippy