Skip to content

Commit

Permalink
hil test both slave and dma for dwc2 esp32s3
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed Oct 4, 2024
1 parent 5a5dbfc commit 072a80d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/hil_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:

# ---------------------------------------
# Hardware in the loop (HIL)
# self-hosted running on an VM. For attached hardware checkout test/hil/tinyusb.json
# self-hosted running on an VM. For attached hardware checkout HIL_JSON
# ---------------------------------------
hil-tinyusb:
if: github.repository_owner == 'hathach'
Expand Down
3 changes: 2 additions & 1 deletion test/hil/hil_ci_set_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import json
import os


def main():
parser = argparse.ArgumentParser()
parser.add_argument('config_file', help='Configuration JSON file')
Expand Down Expand Up @@ -31,7 +32,7 @@ def main():
if f == '':
matrix[toolchain].append(f'-b {name}')
else:
matrix[toolchain].append(f'-b {name}-{f.replace(" ", "_")}')
matrix[toolchain].append(f'-b {name} -f1 {f.replace(" ", " -f1 ")}')
else:
matrix[toolchain].append(f'-b {name}')

Expand Down
1 change: 1 addition & 0 deletions test/hil/tinyusb.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
{
"name": "espressif_s3_devkitm",
"uid": "84F703C084E4",
"build_flags_on": ["", "CFG_TUD_DWC2_DMA"],
"tests": {
"only": ["device/cdc_msc_freertos", "device/hid_composite_freertos"]
},
Expand Down

0 comments on commit 072a80d

Please sign in to comment.