Try   HackMD

Hardware-in-loop Testing for esp-hal

Overview

This document describes the self-hosted runners and test infrastructure required for hardware-in-loop testing of esp-hal.

Infrastructure

Peripherals to tests

List taken from the esp-hal modules, many items does not make sense/there is no way to test them.

  • aes - Easy
    • DMA
    • Non- DMA
  • analog - Hard
  • assist_debug - Hard
  • clock - Should we test this?
  • delay - Easy
  • dma - Should we test this?
  • ecc - Easy
  • gpio - Easy
  • hmac - Easy
  • i2c - Hard
  • i2s - Hard
  • interrupt - Should we test this?
  • lcd_cam - Shoudl we test this?
    • JB: Not sure this is feasible?
  • ledc -
  • mcpwm - Hard
  • otg_fs - Hard
  • parl_io - Hard
  • pcnt - Hard
  • rmt - Hard?
  • rng - Hard
  • rom - Should we test this?
    • JB: This is probably adequately covered by the drivers using these functions
  • rsa - Easy
  • rtc_cntl - Should we test this?
  • sha - Easy
  • soc - Should we test this?
    • JB: This should all be internal (except the peripherals) so we cannot test it directly
  • spi
    • Half duplex - Hard
    • Full duplex - Easy
    • DMA
      • Half duplex
      • Full duplex
  • systimer - Hard
  • timer - Hard
  • trace - Hard
  • twai - Hard
  • uart - Easy
  • usb_serial_jtag - Easy?