Merge pull request #104 from dhylands/fix-installation-target

Update cross compilation target
This commit is contained in:
Jonas Schievink 2020-09-17 12:00:20 +02:00 committed by GitHub
commit 8d4ebe064e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -1,8 +1,8 @@
[target.thumbv7em-none-eabi]
[target.thumbv7em-none-eabihf]
runner = "dongle-flash"
rustflags = [
"-C", "link-arg=-Tlink.x",
]
[build]
target = "thumbv7em-none-eabi"
target = "thumbv7em-none-eabihf"

View file

@ -114,7 +114,7 @@ Go to [https://rustup.rs](https://rustup.rs/) and follow the instructions.
**All**: Run this command in a terminal:
``` console
$ rustup +stable target add thumbv7em-none-eabi
$ rustup +stable target add thumbv7em-none-eabihf
```
### ELF analysis tools

View file

@ -7,7 +7,7 @@ You may get one of these errors:
``` console
$ cargo run --bin usb-4
Running `probe-run target/thumbv7em-none-eabi/debug/usb-4`
Running `probe-run target/thumbv7em-none-eabihf/debug/usb-4`
Error: An error specific to a probe type occured: USB error while taking control over USB device: Access denied (insufficient permissions)
Caused by:
@ -16,7 +16,7 @@ Caused by:
``` console
$ cargo run --bin usb-4
Running `probe-run target/thumbv7em-none-eabi/debug/usb-4`
Running `probe-run target/thumbv7em-none-eabihf/debug/usb-4`
Error: An error specific to a probe type occured: USB error while taking control over USB device: Resource busy
Caused by: