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

Switch the install instructions for probe-rs. #98

Merged
merged 1 commit into from
May 24, 2024
Merged
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
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