Skip to content

Commit

Permalink
Use probe-rs instead of deprecated probe-run (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sh3Rm4n authored Nov 28, 2023
1 parent 0525d2d commit b4bb14c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[target.thumbv7em-none-eabihf]
# runner = "arm-none-eabi-gdb"
# Chip can be set via `--chip STM32F303VCTx` or `export PROBE_RUN_CHIP=STM32F303VCTx`
runner = "probe-run --chip STM32F303VCTx --connect-under-reset"
runner = "probe-rs run --chip STM32F303VCTx --connect-under-reset"
rustflags = [
"-C", "link-arg=--nmagic",
"-C", "link-arg=-Tlink.x",
Expand Down
6 changes: 5 additions & 1 deletion testsuite/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@

Tests are run via the integration test pattern and are executed on a target
chip, rather than on a host system. First, install
[probe-run](https://crates.io/crates/probe-run) via `cargo install probe-run`.
[probe-rs](https://crates.io/crates/probe-rs) via

```sh
cargo install probe-rs --features cli
```

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

0 comments on commit b4bb14c

Please sign in to comment.