diff options
| author | Yuri Astrakhan <[email protected]> | 2025-05-02 17:56:32 -0400 |
|---|---|---|
| committer | Yuri Astrakhan <[email protected]> | 2025-05-02 17:56:32 -0400 |
| commit | e5c03e1e791bf3460fe6e0af65a02f2259763eaa (patch) | |
| tree | 2845c94a0fa88fc20ea68b9ebb9551aefef5abac | |
| parent | 716160e9abe7591b171250a9029bad5ec656ac6d (diff) | |
chore: use `probe-rs` instead of `probe-run`
I found a few remaining deprecated `probe-run` cases.
| -rw-r--r-- | docs/examples/basic/.cargo/config.toml | 4 | ||||
| -rw-r--r-- | docs/examples/layer-by-layer/.cargo/config.toml | 3 | ||||
| -rw-r--r-- | docs/pages/getting_started.adoc | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/docs/examples/basic/.cargo/config.toml b/docs/examples/basic/.cargo/config.toml index 8ca28df39..17616a054 100644 --- a/docs/examples/basic/.cargo/config.toml +++ b/docs/examples/basic/.cargo/config.toml | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | [target.'cfg(all(target_arch = "arm", target_os = "none"))'] | 1 | [target.'cfg(all(target_arch = "arm", target_os = "none"))'] |
| 2 | # replace nRF82840_xxAA with your chip as listed in `probe-run --list-chips` | 2 | # replace nRF82840_xxAA with your chip as listed in `probe-rs chip list` |
| 3 | runner = "probe-run --chip nRF52840_xxAA" | 3 | runner = "probe-rs run --chip nRF52840_xxAA" |
| 4 | 4 | ||
| 5 | [build] | 5 | [build] |
| 6 | target = "thumbv7em-none-eabi" | 6 | target = "thumbv7em-none-eabi" |
diff --git a/docs/examples/layer-by-layer/.cargo/config.toml b/docs/examples/layer-by-layer/.cargo/config.toml index 3012f05dc..f30d9e446 100644 --- a/docs/examples/layer-by-layer/.cargo/config.toml +++ b/docs/examples/layer-by-layer/.cargo/config.toml | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | [target.'cfg(all(target_arch = "arm", target_os = "none"))'] | 1 | [target.'cfg(all(target_arch = "arm", target_os = "none"))'] |
| 2 | runner = "probe-run --chip STM32L475VG" | 2 | # replace your chip as listed in `probe-rs chip list` |
| 3 | runner = "probe-rs run --chip STM32L475VG" | ||
| 3 | 4 | ||
| 4 | rustflags = [ | 5 | rustflags = [ |
| 5 | "-C", "link-arg=--nmagic", | 6 | "-C", "link-arg=--nmagic", |
diff --git a/docs/pages/getting_started.adoc b/docs/pages/getting_started.adoc index 954f3fd28..d1f65a885 100644 --- a/docs/pages/getting_started.adoc +++ b/docs/pages/getting_started.adoc | |||
| @@ -66,7 +66,7 @@ If everything worked correctly, you should see a blinking LED on your board, and | |||
| 66 | [source] | 66 | [source] |
| 67 | ---- | 67 | ---- |
| 68 | Finished dev [unoptimized + debuginfo] target(s) in 1m 56s | 68 | Finished dev [unoptimized + debuginfo] target(s) in 1m 56s |
| 69 | Running `probe-run --chip STM32F407VGTx target/thumbv7em-none-eabi/debug/blinky` | 69 | Running `probe-rs run --chip STM32F407VGTx target/thumbv7em-none-eabi/debug/blinky` |
| 70 | (HOST) INFO flashing program (71.36 KiB) | 70 | (HOST) INFO flashing program (71.36 KiB) |
| 71 | (HOST) INFO success! | 71 | (HOST) INFO success! |
| 72 | ──────────────────────────────────────────────────────────────────────────────── | 72 | ──────────────────────────────────────────────────────────────────────────────── |
