Skip to content

Commit b4bb14c

Browse files
authored
Use probe-rs instead of deprecated probe-run (#353)
1 parent 0525d2d commit b4bb14c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[target.thumbv7em-none-eabihf]
1111
# runner = "arm-none-eabi-gdb"
1212
# Chip can be set via `--chip STM32F303VCTx` or `export PROBE_RUN_CHIP=STM32F303VCTx`
13-
runner = "probe-run --chip STM32F303VCTx --connect-under-reset"
13+
runner = "probe-rs run --chip STM32F303VCTx --connect-under-reset"
1414
rustflags = [
1515
"-C", "link-arg=--nmagic",
1616
"-C", "link-arg=-Tlink.x",

testsuite/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44

55
Tests are run via the integration test pattern and are executed on a target
66
chip, rather than on a host system. First, install
7-
[probe-run](https://crates.io/crates/probe-run) via `cargo install probe-run`.
7+
[probe-rs](https://crates.io/crates/probe-rs) via
8+
9+
```sh
10+
cargo install probe-rs --features cli
11+
```
812

913
Currently the tests are written for the `stm32f303xc` with the STM32F3Discovery
1014
Board in mind. They expect that several pins are wired together as hinted in

0 commit comments

Comments
 (0)