Skip to content

Commit

Permalink
Configure arm cross compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
aschaeffer committed May 9, 2023
1 parent 4b3f2b2 commit 9bdbcbe
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[target.aarch64-unknown-linux-gnu]
objcopy = { path ="aarch64-linux-gnu-objcopy" }
strip = { path ="aarch64-linux-gnu-strip" }
linker = "aarch64-linux-gnu-gcc"

[target.armv7-unknown-linux-gnueabihf]
objcopy = { path ="arm-none-eabi-objcopy" }
strip = { path ="arm-none-eabi-strip" }
linker = "arm-linux-gnueabihf-gcc"

0 comments on commit 9bdbcbe

Please sign in to comment.