Skip to content

Commit 19c5249

Browse files
authored
Merge pull request #77 from jannic/probe-rs-install
Update install instructions for probe-rs
2 parents cfde4ea + 0ac2517 commit 19c5249

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ If you aren't using a debugger (or want to use other debugging configurations),
5959
rustup target install thumbv6m-none-eabi
6060
cargo install flip-link
6161
# Installs the probe-rs tools, including probe-rs run, our recommended default runner
62-
cargo install probe-rs --features=cli --locked
62+
cargo install --locked probe-rs-tools
6363
# If you want to use elf2uf2-rs instead, do...
64-
cargo install elf2uf2-rs --locked
64+
cargo install --locked elf2uf2-rs
6565
```
6666
If you get the error ``binary `cargo-embed` already exists`` during installation of probe-rs, run `cargo uninstall cargo-embed` to uninstall your older version of cargo-embed before trying again.
6767

@@ -138,12 +138,12 @@ Some of the options for your `runner` are listed below:
138138
*Step 1* - Install `cargo-embed`. This is part of the [`probe-rs`](https://crates.io/crates/probe-rs) tools:
139139

140140
```console
141-
$ cargo install probe-rs --features=cli --locked
141+
$ cargo install --locked probe-rs-tools
142142
```
143143

144144
*Step 2* - Update settings in [Embed.toml](./Embed.toml)
145145
- The defaults are to flash, reset, and start a defmt logging session
146-
You can find all the settings and their meanings [in the probe-rs repo](https://github.com/probe-rs/probe-rs/blob/c0610e98008cbb34d0dc056fcddff0f2d4f50ad5/probe-rs/src/bin/probe-rs/cmd/cargo_embed/config/default.toml)
146+
You can find all the settings and their meanings [in the probe-rs repo](https://github.com/probe-rs/probe-rs/blob/c435072d0f101ade6fc3fde4a7899b8b5ef69195/probe-rs-tools/src/bin/probe-rs/cmd/cargo_embed/config/default.toml)
147147

148148
*Step 3* - Use the command `cargo embed`, which will compile the code, flash the device
149149
and start running the configuration specified in Embed.toml
@@ -157,7 +157,7 @@ Some of the options for your `runner` are listed below:
157157

158158
*Step 2* - Install `probe-rs`
159159
```console
160-
$ cargo install probe-rs --features=cli --locked
160+
$ cargo install --locked probe-rs-tools
161161
```
162162

163163
*Step 3* - Open this project in VSCode

0 commit comments

Comments
 (0)