Skip to content

Commit 9fca215

Browse files
committed
bckup
1 parent 70db05b commit 9fca215

File tree

7 files changed

+14
-4
lines changed

7 files changed

+14
-4
lines changed

.github/workflows/hil.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ jobs:
8686
- soc: esp32h2
8787
rust-target: riscv32imac-unknown-none-elf
8888
# # Xtensa devices:
89+
- soc: esp32
90+
rust-target: xtensa-esp32-none-elf
8991
- soc: esp32s2
9092
rust-target: xtensa-esp32s2-none-elf
9193
- soc: esp32s3
@@ -168,6 +170,10 @@ jobs:
168170
host: armv7
169171
hubs: "1-1"
170172
# Xtensa devices:
173+
- soc: esp32
174+
runner: esp32-jtag
175+
usb: USB1 # ESP32 HIL TODO
176+
host: aarch64
171177
- soc: esp32s2
172178
runner: esp32s2-jtag
173179
host: armv7

hil-test/tests/ecc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! ECC Test
22
3-
//% CHIPS: esp32 esp32c2 esp32c6 esp32h2
3+
//% CHIPS: esp32c2 esp32c6 esp32h2
44

55
#![no_std]
66
#![no_main]

hil-test/tests/gpio.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use core::cell::RefCell;
1414

1515
use critical_section::Mutex;
1616
#[cfg(feature = "esp32")]
17-
use esp_hal::gpio::Gpio0;
17+
use esp_hal::gpio::Gpio4;
1818
#[cfg(not(feature = "esp32"))]
1919
use esp_hal::gpio::Gpio3;
2020
use esp_hal::{

hil-test/tests/i2s_async.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ mod tests {
9191
let mut io = Io::new(peripherals.GPIO, peripherals.IO_MUX);
9292

9393
let dma = Dma::new(peripherals.DMA);
94+
#[cfg(any(feature = "esp32", feature = "esp32s2"))]
95+
let dma_channel = dma.i2s0channel;
96+
#[cfg(not(any(feature = "esp32", feature = "esp32s2")))]
9497
let dma_channel = dma.channel0;
9598

9699
let (tx_buffer, tx_descriptors, rx_buffer, rx_descriptors) =

hil-test/tests/sha.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ mod tests {
239239
}
240240
}
241241

242+
#[cfg(not(feature = "esp32"))]
242243
/// A rolling test that loops between hasher for every step to test
243244
/// interleaving. This specifically test the Sha trait implementation
244245
#[test]

hil-test/tests/spi_full_duplex_dma_async.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
//!
1515
//! Connect PCNT and MOSI, MISO and GPIO5 pins.
1616
17-
//% CHIPS: esp32 esp32c6 esp32h2 esp32s3
17+
//% CHIPS: esp32c6 esp32h2 esp32s3
1818
//% FEATURES: generic-queue
1919

2020
#![no_std]

hil-test/tests/spi_full_duplex_dma_pcnt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
//!
1313
//! Connect MISO and MOSI pins.
1414
15-
//% CHIPS: esp32 esp32c6 esp32h2 esp32s3
15+
//% CHIPS: esp32c6 esp32h2 esp32s3
1616

1717
#![no_std]
1818
#![no_main]

0 commit comments

Comments
 (0)