From 371da13ee5b3cba377d9dc771b170d2a9ad297f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Buga?= Date: Tue, 13 Aug 2024 17:34:14 +0200 Subject: [PATCH] Update probe-rs (#1939) --- hil-test/README.md | 4 ++-- xtask/src/lib.rs | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/hil-test/README.md b/hil-test/README.md index 58a78ebd8b9..ec8bbc47437 100644 --- a/hil-test/README.md +++ b/hil-test/README.md @@ -21,7 +21,7 @@ We use [probe-rs] for flashing and running the tests on a target device, however ```text cargo install probe-rs-tools \ --git https://github.com/probe-rs/probe-rs \ - --rev bba1bb5 --force --locked + --rev 9bde591 --force --locked ``` Target device **MUST** connected via its USB-Serial-JTAG port, or if unavailable (eg. ESP32, ESP32-C2, ESP32-S2) then you must connect a compatible debug probe such as an [ESP-Prog]. @@ -108,7 +108,7 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-t # Install dependencies sudo apt install -y pkg-config libudev-dev # Install probe-rs -cargo install probe-rs-tools --git https://github.com/probe-rs/probe-rs --rev bba1bb5 --force +cargo install probe-rs-tools --git https://github.com/probe-rs/probe-rs --rev 9bde591 --force # Add the udev rules wget -O - https://probe.rs/files/69-probe-rs.rules | sudo tee /etc/udev/rules.d/69-probe-rs.rules > /dev/null # Add the user to plugdev group diff --git a/xtask/src/lib.rs b/xtask/src/lib.rs index 36ded6ce5b6..d738f836d57 100644 --- a/xtask/src/lib.rs +++ b/xtask/src/lib.rs @@ -240,8 +240,6 @@ pub fn execute_app( .features(&features) .arg(bin); - // probe-rs cannot currently do auto detection, so we need to tell probe-rs run - // which chip we are testing if subcommand == "test" && chip == Chip::Esp32c2 { builder = builder.arg("--").arg("--speed").arg("15000"); }