that should do the job
Rust/va108xx-hal/pipeline/head This commit looks good Details

This commit is contained in:
Robin Müller 2023-01-11 23:15:48 +01:00
parent b776bd2823
commit 09fd0d2aad
No known key found for this signature in database
GPG Key ID: BE6480244DFE612C
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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