Enable gpio::test_gpio_interrupt for Xtensa targets. (#1555)

* docs: Update probe-rs

* tests: enable test_gpio_interrupt for Xtensa targets
This commit is contained in:
Sergio Gasquez Arcos 2024-05-15 11:13:43 +02:00 committed by GitHub
parent 2faa2654cb
commit 3c05759556
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View File

@ -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 4dc1701 --force --locked
--rev a6dd038 --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].
@ -89,7 +89,7 @@ source "$HOME/.cargo/env"
# 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 4dc1701 --force
cargo install probe-rs-tools --git https://github.com/probe-rs/probe-rs --rev a6dd038 --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

View File

@ -150,7 +150,6 @@ mod tests {
}
#[test]
#[cfg(not(any(feature = "esp32", feature = "esp32s2", feature = "esp32s3")))]
fn test_gpio_interrupt(mut ctx: Context<'static>) {
critical_section::with(|cs| {
*COUNTER.borrow_ref_mut(cs) = 0;