Skip to content

Commit

Permalink
Switch the install instructions for probe-rs.
Browse files Browse the repository at this point in the history
The old instructions don't work with the new 0.24 version of probe-rs.
  • Loading branch information
jonathanpallant authored and listochkin committed May 24, 2024
1 parent 057d9e8 commit f5d543a
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions exercise-book/src/nrf52-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,9 @@ rustup +stable component add llvm-tools

### General purpose tools

Install the [`flip-link`](https://crates.io/crates/flip-link), [`probe-rs`](https://crates.io/crates/probe-rs) and [`nrf-dfu`](https://crates.io/crates/nrfdfu) tools using the following Cargo commands:
Install the [`flip-link`](https://crates.io/crates/flip-link) and [`nrf-dfu`](https://crates.io/crates/nrfdfu) tools from source using the following Cargo commands:

```console

$ cargo install probe-rs --features=cli
(..)
Installed package `probe-rs v0.22.0` (executables `cargo-embed`, `cargo-flash`, `probe-rs`)

$ cargo install flip-link
(..)
Installed package `flip-link v0.1.7` (..)
Expand All @@ -144,6 +139,18 @@ $ cargo install nrfdfu
Installed package `nrfdfu v0.1.3` (..)
```

Install `probe-rs` 0.24 pre-compiled binaries on Linux or macOS with:

```bash
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/probe-rs/probe-rs/releases/download/v0.24.0/probe-rs-tools-installer.sh | sh
```

Install `probe-rs` 0.24 pre-compiled binaries on Windows with:

```bash
powershell -c "irm https://github.com/probe-rs/probe-rs/releases/download/v0.24.0/probe-rs-tools-installer.ps1 | iex"
```

## Setup check

✅ Let's check that you have installed all the tools listed in the previous section.
Expand Down

0 comments on commit f5d543a

Please sign in to comment.