From e8a3e7caf9a8b551c9a29129e896ae926b989974 Mon Sep 17 00:00:00 2001 From: Petru Cristian Nania <naniacristian26@gmail.com> Date: Wed, 12 Mar 2025 15:36:55 +0200 Subject: [PATCH 1/2] Update instructions for rustup installation on Windows --- website/tutorial/embassy/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/tutorial/embassy/index.md b/website/tutorial/embassy/index.md index d2ad10e..db12481 100644 --- a/website/tutorial/embassy/index.md +++ b/website/tutorial/embassy/index.md @@ -42,6 +42,8 @@ Download the respective executable: :::note You may be prompted to install [Visual Studio C++ Build tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/). If so, follow the instructions from the previous link. + +Even if Visual Studio is already on your machine, `rustup` will not verify if the required components are present. If you experience issues with the `rustup` installation on Windows, please follow [these instructions](https://rust-lang.github.io/rustup/installation/windows-msvc.html#installing-only-the-required-components-optional) to manually add the missing components. ::: The last step is to run `rustup --version` in terminal. If everything went well, you should see an output similar to this: -- GitLab From a06ca9749462441378832923b412503b3e71ab3d Mon Sep 17 00:00:00 2001 From: Petru Cristian Nania <naniacristian26@gmail.com> Date: Wed, 12 Mar 2025 15:42:40 +0200 Subject: [PATCH 2/2] Update deprecated command According to the `probe-rs` documentation, the command for installation has changed. https://probe.rs/docs/getting-started/installation/#installation --- website/tutorial/embassy/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/tutorial/embassy/index.md b/website/tutorial/embassy/index.md index db12481..d8967c1 100644 --- a/website/tutorial/embassy/index.md +++ b/website/tutorial/embassy/index.md @@ -83,7 +83,7 @@ Options: This tool is an embedded debugging and target interaction toolkit. It enables its user to program and debug microcontrollers via a debug probe. ```shell -cargo install probe-rs --features cli --locked +cargo install probe-rs-tools --locked ``` If you are on **Linux** you will also need to add this [`udev`](https://probe.rs/files/69-probe-rs.rules) file in `/etc/udev/rules.d`. Then, run: -- GitLab