mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-28 12:50:53 +00:00
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:
parent
2faa2654cb
commit
3c05759556
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user