Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use probe-rs instead of deprecated probe-run #353

Merged
merged 1 commit into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading