Merge pull request #4160 from nyurik/probe-rs

chore: use `probe-rs` instead of `probe-run`
This commit is contained in:
Dario Nieuwenhuis 2025-05-02 23:18:47 +00:00 committed by GitHub
commit 7a97825427
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 4 deletions

View File

@ -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"

View File

@ -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",

View File

@ -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!
──────────────────────────────────────────────────────────────────────────────── ────────────────────────────────────────────────────────────────────────────────