Skip to content

Commit

Permalink
🔧 Use arm-none-eabi-ld as linker
Browse files Browse the repository at this point in the history
  • Loading branch information
H1rono committed Sep 2, 2024
1 parent d742c8c commit 32302ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 32302ca

Please sign in to comment.