mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-01-09 15:55:37 +00:00
Merge pull request #100 from ferrous-systems/update-probe-run
move to thumbv7em-none-eabi**hf** now that probe-run supports it
This commit is contained in:
commit
4ac3e7970c
4 changed files with 6 additions and 6 deletions
2
.github/workflows/rust.yml
vendored
2
.github/workflows/rust.yml
vendored
|
@ -47,7 +47,7 @@ jobs:
|
||||||
- name: install all dependencies
|
- name: install all dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install libudev-dev libusb-1.0-0-dev
|
sudo apt-get install libudev-dev libusb-1.0-0-dev
|
||||||
rustup +stable target add thumbv7em-none-eabi
|
rustup +stable target add thumbv7em-none-eabihf
|
||||||
|
|
||||||
- name: build tools
|
- name: build tools
|
||||||
working-directory: ./tools
|
working-directory: ./tools
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
[target.thumbv7em-none-eabi]
|
[target.thumbv7em-none-eabihf]
|
||||||
runner = "probe-run --chip nRF52840_xxAA"
|
runner = "probe-run --chip nRF52840_xxAA"
|
||||||
rustflags = [
|
rustflags = [
|
||||||
"-C", "link-arg=-Tlink.x",
|
"-C", "link-arg=-Tlink.x",
|
||||||
]
|
]
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
target = "thumbv7em-none-eabi"
|
target = "thumbv7em-none-eabihf"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
[target.thumbv7em-none-eabi]
|
[target.thumbv7em-none-eabihf]
|
||||||
runner = "probe-run --chip nRF52840_xxAA"
|
runner = "probe-run --chip nRF52840_xxAA"
|
||||||
rustflags = [
|
rustflags = [
|
||||||
"-C", "link-arg=-Tlink.x",
|
"-C", "link-arg=-Tlink.x",
|
||||||
]
|
]
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
target = "thumbv7em-none-eabi" # = ARM Cortex-M4
|
target = "thumbv7em-none-eabihf" # = ARM Cortex-M4
|
|
@ -150,7 +150,7 @@ Installed package `cargo-bloat v0.9.3` (..)
|
||||||
|
|
||||||
$ cargo install probe-run
|
$ cargo install probe-run
|
||||||
(..)
|
(..)
|
||||||
Installed package `probe-run v0.1.0` (..)
|
Installed package `probe-run v0.1.3` (..)
|
||||||
```
|
```
|
||||||
|
|
||||||
## Python
|
## Python
|
||||||
|
|
Loading…
Reference in a new issue