esp-hal/hil-test/tests
Jesse Braham 4534ee13ae
Implement embedded_hal_async::delay::DelayNs for TIMGx timers (#2084)
* Update `hil-test` package dependencies, add simple test for async delay with `SYSTIMER`

* Implement `embedded_hal_async::delay::DelayNs` for the `TIMGx` timers

* Improve tests slightly

* Update `CHANGELOG.md`

* Enable `delay` and `delay_async` tests for the ESP32-H2

* Fix error in `delay_async` test after rebasing

* ESP32 does not have `SYSTIMER`, so don't try to test it :)

* Protect int_ena modifications with INT_ENA_LOCK, clear int_clr in ISRs, move interrupt binds from Future constructor into new_async constructor

* Fix wrong imports

* Address reviews: Remove duplicated/useless code and add HIL test for delay_us and delay_ms

* Implement DelayNs on Target instead of Periodic

* clean dead code

* fix after rebase

* fix build errors

* More accurate nanos to ticks calculation

* Fix wrong handler passed to set_interrupt_handler()

* Update esp-hal/src/timer/timg.rs

Co-authored-by: Dániel Buga <bugadani@gmail.com>

* cleanup left over

---------

Co-authored-by: Juraj Sadel <juraj.sadel@espressif.com>
Co-authored-by: Juraj Sadel <jurajsadel@gmail.com>
Co-authored-by: Dániel Buga <bugadani@gmail.com>
2024-09-24 08:50:06 +00:00
..
aes_dma.rs Reordered RX-TX pairs to be consistent (#2074) 2024-09-06 09:56:10 +00:00
aes.rs Remove the need to manually pass clocks around (#1999) 2024-09-04 14:13:51 +00:00
clock_monitor.rs Remove the need to manually pass clocks around (#1999) 2024-09-04 14:13:51 +00:00
crc.rs Disable RTT polling in HIL tests by default (#1960) 2024-08-19 13:47:22 +00:00
delay_async.rs Implement embedded_hal_async::delay::DelayNs for TIMGx timers (#2084) 2024-09-24 08:50:06 +00:00
delay.rs H2: enable TWAI, enable delay test (#2199) 2024-09-20 07:04:52 +00:00
dma_macros.rs Slight general cleanup, enable dma-macros test, allow using virtual mem2mem channel on c2 (#2200) 2024-09-20 15:04:18 +00:00
dma_mem2mem.rs Slight general cleanup, enable dma-macros test, allow using virtual mem2mem channel on c2 (#2200) 2024-09-20 15:04:18 +00:00
ecc.rs Remove the need to manually pass clocks around (#1999) 2024-09-04 14:13:51 +00:00
embassy_interrupt_executor.rs Remove the need to manually pass clocks around (#1999) 2024-09-04 14:13:51 +00:00
embassy_interrupt_spi_dma.rs Rename and wrap ErasedTimer (#2144) 2024-09-11 20:29:21 +00:00
embassy_timers_executors.rs Rename and wrap ErasedTimer (#2144) 2024-09-11 20:29:21 +00:00
get_time.rs Rename esp_hal::time::current_time to esp_hal::time::now (#2091) 2024-09-05 14:57:56 +00:00
gpio.rs GPIO interconnect (#2128) 2024-09-11 15:15:55 +00:00
i2c.rs I2C error recovery (#2141) 2024-09-11 15:50:25 +00:00
i2s.rs Enable I2S tests on ESP32 and work around first sample issue (#2194) 2024-09-19 15:13:25 +00:00
init.rs Allow configuring the watchdogs in the init config (#2180) 2024-09-20 13:51:35 +00:00
interrupt.rs Remove the need to manually pass clocks around (#1999) 2024-09-04 14:13:51 +00:00
lcd_cam_i8080_async.rs SPI pins are no longer optional (#2133) 2024-09-12 10:59:12 +00:00
lcd_cam_i8080.rs Add more thorough I8080 HIL tests (#2173) 2024-09-17 12:01:27 +00:00
parl_io_tx_async.rs PARL_IO: fix for garbage output at the start of some TX operations (#2211) 2024-09-23 10:27:43 +00:00
parl_io_tx.rs PARL_IO: fix for garbage output at the start of some TX operations (#2211) 2024-09-23 10:27:43 +00:00
pcnt.rs Remove PcntSource (#2134) 2024-09-12 08:30:16 +00:00
qspi.rs Enable QSPI tests on ESP32 and clean up (#2198) 2024-09-23 08:37:35 +00:00
rmt.rs Enable SPI_DMA_XX_ASYNC and _PCNT tests on ESP32 and S2, remove GPIO usage from description (#2140) 2024-09-11 10:23:07 +00:00
rsa_async.rs Remove the need to manually pass clocks around (#1999) 2024-09-04 14:13:51 +00:00
rsa.rs Remove the need to manually pass clocks around (#1999) 2024-09-04 14:13:51 +00:00
sha.rs Improve SHA driver API (#2049) 2024-09-05 11:39:46 +00:00
spi_full_duplex.rs Fix known SPI issues (#2179) 2024-09-19 18:00:50 +00:00
spi_half_duplex_read.rs Slight general cleanup, enable dma-macros test, allow using virtual mem2mem channel on c2 (#2200) 2024-09-20 15:04:18 +00:00
spi_half_duplex_write.rs Remove PcntSource (#2134) 2024-09-12 08:30:16 +00:00
systimer.rs Remove the need to manually pass clocks around (#1999) 2024-09-04 14:13:51 +00:00
twai.rs Fix TWAI on ESP32 (#2207) 2024-09-23 15:24:27 +00:00
uart_async.rs Enable SPI_DMA_XX_ASYNC and _PCNT tests on ESP32 and S2, remove GPIO usage from description (#2140) 2024-09-11 10:23:07 +00:00
uart_tx_rx_async.rs Enable SPI_DMA_XX_ASYNC and _PCNT tests on ESP32 and S2, remove GPIO usage from description (#2140) 2024-09-11 10:23:07 +00:00
uart_tx_rx.rs Enable SPI_DMA_XX_ASYNC and _PCNT tests on ESP32 and S2, remove GPIO usage from description (#2140) 2024-09-11 10:23:07 +00:00
uart.rs Fix UART when using RcFast clock source (#2170) 2024-09-16 20:48:25 +00:00
usb_serial_jtag.rs Remove the need to manually pass clocks around (#1999) 2024-09-04 14:13:51 +00:00