Skip to content

Commit

Permalink
Use probe-rs as cargo runner
Browse files Browse the repository at this point in the history
probe-run is deprecated in favor of probe-rs. See
https://ferrous-systems.com/blog/probe-run-deprecation
  • Loading branch information
kesyog committed Oct 13, 2023
1 parent ac2d2a8 commit e751057
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .cargo/config
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ rustflags = [
"-C", "link-arg=-Tdefmt.x",
]
# seems to also work with nRF52840
runner = "probe-run --chip nRF52832_xxAA"
runner = "probe-rs run --chip nRF52832_xxAA"

[target.thumbv7em-none-eabihf]
rustflags = [
"-C", "link-arg=-Tlink.x",
"-C", "link-arg=-Tdefmt.x",
]
# seems to also work with nRF52840
runner = "probe-run --chip nRF52832_xxAA"
runner = "probe-rs run --chip nRF52832_xxAA"

[build]
target = "thumbv7em-none-eabihf" # Cortex-M4F and Cortex-M7F (with FPU)
Expand Down

0 comments on commit e751057

Please sign in to comment.