From d35f8e24cfcb4f7a2fd222cb376cf3ee1def560b Mon Sep 17 00:00:00 2001 From: Lotte Steenbrink Date: Mon, 21 Dec 2020 11:56:13 +0100 Subject: [PATCH] move tool installation out of tooling check, clarify cd tools --- embedded-workshop-book/src/installation.md | 34 ++++++++++++++++++++- embedded-workshop-book/src/tooling-check.md | 15 ++++----- 2 files changed, 39 insertions(+), 10 deletions(-) diff --git a/embedded-workshop-book/src/installation.md b/embedded-workshop-book/src/installation.md index e8d0771..35d6694 100644 --- a/embedded-workshop-book/src/installation.md +++ b/embedded-workshop-book/src/installation.md @@ -150,9 +150,41 @@ Installed package `cargo-bloat v0.9.3` (..) $ cargo install probe-run (..) -Installed package `probe-run v0.1.3` (..) +Installed package `probe-run v0.1.8` (..) ``` +### Workshop tools + +The workshop git repository contains custom crates that help you with flashing and debugging the workshops. Depending on the workshop you're attending, you need to install all or some of them. + +#### Beginner workshop + +Change to the `tools` folder and run these commands *from different terminals so they'll run in parallel*: + +```console +$ cd embedded-trainings-2020/tools +$ cargo install --path usb-list +$ # in a new terminal, for parallelization +$ cargo install --path dongle-flash +$ # in a new terminal, for parallelization +$ cargo install --path serial-term +$ # in a new terminal, for parallelization +$ cargo install --path change-channel +``` + +Leave the processes running in the background. + +#### Advanced workshop + +Change to the `tools` folder and run these commands: + +```console +$ cd embedded-trainings-2020/tools +$ cargo install --path usb-list +``` + +Leave the process running in the background. + ## Python **Windows**: Go to [https://www.python.org/downloads/](https://www.python.org/downloads/) and run the Python *3* installer diff --git a/embedded-workshop-book/src/tooling-check.md b/embedded-workshop-book/src/tooling-check.md index 79810a8..a32d5a0 100644 --- a/embedded-workshop-book/src/tooling-check.md +++ b/embedded-workshop-book/src/tooling-check.md @@ -22,18 +22,15 @@ nrfutil version 6.1.0 ## More tools -✅ Now let's install some tools shipped with the workshop material. +✅ Now let's make sure you've installed the tools shipped with the workshop material. ### Beginner workshop -From the `tools` folder run these commands *from different terminals so they'll run in parallel*: - -- `cargo install --path usb-list` -- `cargo install --path dongle-flash` -- `cargo install --path serial-term` -- `cargo install --path change-channel` - -Leave the processes running in the background. +```console +$ usb-list +Bus 020 Device 007: ID 1b1c:0a42 +Bus 020 Device 006: ID 1fc9:0132 +``` ### Advanced workshop