Skip to content

Commit

Permalink
refs #10 Cleanup docs and fix the cross compiler target
Browse files Browse the repository at this point in the history
  • Loading branch information
truedat101 committed Jan 18, 2022
1 parent 0b3e6ef commit ba6194e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,12 @@ function:
- install the cross compile of the target on your system, add the new target to the toolchain and compile with the target flag, all the explication here (https://rust-lang.github.io/rustup/cross-compilation.html)
the target of arm for the rust toolchain are armv7-unknown-linux-gnueabihf or armv7-unknown-linux-musleabihf
### Espressobin Ultra
From the Mac, install:
- brew tap messense/macos-cross-toolchains
- brew install aarch64-unknown-linux-gnu
- rustup target add aarch64-unknown-linux-gnu
- in the chain/.cargo/config file, uncomment both lines
Expand Down
4 changes: 2 additions & 2 deletions chain/.cargo/config
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# [target.arm-linux-gnueabihf]
# linker = "arm-linux-gnueabihf-gcc"
# [target.aarch64-unknown-linux-gnu]
# linker = "aarch64-unknown-linux-gnu-gcc"

0 comments on commit ba6194e

Please sign in to comment.