chore: use probe-rs instead of probe-run
I found a few remaining deprecated `probe-run` cases.
This commit is contained in:
parent
716160e9ab
commit
e5c03e1e79
@ -1,6 +1,6 @@
|
|||||||
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
|
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
|
||||||
# replace nRF82840_xxAA with your chip as listed in `probe-run --list-chips`
|
# replace nRF82840_xxAA with your chip as listed in `probe-rs chip list`
|
||||||
runner = "probe-run --chip nRF52840_xxAA"
|
runner = "probe-rs run --chip nRF52840_xxAA"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
target = "thumbv7em-none-eabi"
|
target = "thumbv7em-none-eabi"
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
|
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
|
||||||
runner = "probe-run --chip STM32L475VG"
|
# replace your chip as listed in `probe-rs chip list`
|
||||||
|
runner = "probe-rs run --chip STM32L475VG"
|
||||||
|
|
||||||
rustflags = [
|
rustflags = [
|
||||||
"-C", "link-arg=--nmagic",
|
"-C", "link-arg=--nmagic",
|
||||||
|
|||||||
@ -66,7 +66,7 @@ If everything worked correctly, you should see a blinking LED on your board, and
|
|||||||
[source]
|
[source]
|
||||||
----
|
----
|
||||||
Finished dev [unoptimized + debuginfo] target(s) in 1m 56s
|
Finished dev [unoptimized + debuginfo] target(s) in 1m 56s
|
||||||
Running `probe-run --chip STM32F407VGTx target/thumbv7em-none-eabi/debug/blinky`
|
Running `probe-rs run --chip STM32F407VGTx target/thumbv7em-none-eabi/debug/blinky`
|
||||||
(HOST) INFO flashing program (71.36 KiB)
|
(HOST) INFO flashing program (71.36 KiB)
|
||||||
(HOST) INFO success!
|
(HOST) INFO success!
|
||||||
────────────────────────────────────────────────────────────────────────────────
|
────────────────────────────────────────────────────────────────────────────────
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user