Skip to content

Commit

Permalink
Fix up OS specific installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
plaindocs committed Nov 15, 2024
1 parent 479a2fa commit 829e30d
Showing 1 changed file with 8 additions and 26 deletions.
34 changes: 8 additions & 26 deletions exercise-book/src/nrf52-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ To access the USB devices as a non-root user, follow these steps:

To check the permissions again, first disconnect and reconnect the dongle. Then run `lsusb`.

```console
$ lsusb
Bus 001 Device 017: ID 1915:521f Nordic Semiconductor ASA 4-Port USB 2.0 Hub
```console
$ lsusb
Bus 001 Device 017: ID 1915:521f Nordic Semiconductor ASA 4-Port USB 2.0 Hub

$ ls -l /dev/bus/usb/001/017
crw-rw-r--+ 1 root root 189, 16 May 20 12:11 /dev/bus/usb/001/017
```
$ ls -l /dev/bus/usb/001/017
crw-rw-r--+ 1 root root 189, 16 May 20 12:11 /dev/bus/usb/001/017
```

The `+` part in `crw-rw-r--+` indicates the device can be accessed without `root` permissions. If you have permission to access them dongle, then the nRF52-DK should also work because both were listed in the udev rules file.

Expand Down Expand Up @@ -108,18 +108,12 @@ cargo install nrfdfu
cargo install cyme
```

Install `probe-rs` 0.24 pre-compiled binaries on Linux or macOS with:
Install `probe-rs` 0.24 pre-compiled binaries on Linux 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"
```

## Windows

### Install VS Code
Expand Down Expand Up @@ -188,12 +182,6 @@ cargo install nrfdfu
cargo install cyme
```

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
Expand Down Expand Up @@ -241,18 +229,12 @@ cargo install nrfdfu
cargo install cyme
```

Install `probe-rs` 0.24 pre-compiled binaries on Linux or macOS with:
Install `probe-rs` 0.24 pre-compiled binaries on 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
Expand Down

0 comments on commit 829e30d

Please sign in to comment.