diff --git a/.cargo/config.toml b/.cargo/config.toml index fcf5008..627be31 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -9,6 +9,7 @@ target = "thumbv7em-none-eabihf" [target.thumbv7em-none-eabihf] # https://probe.rs/docs/tools/probe-rs/#run runner = "probe-rs run --chip STM32F303K8Tx" +linker = "arm-none-eabi-ld" # https://defmt.ferrous-systems.com/setup#linker-script rustflags = [ "-Clink-arg=-Tdefmt.x" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 49aabda..04cb073 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,6 +14,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: Swatinem/rust-cache@v2 + - run: sudo apt-get -qq install 'gcc-arm-none-eabi=15:10.3*' - run: cargo build - run: cargo fmt --all -- --check - run: cargo clippy --all-features -- -D warnings