hil test both slave and dma for dwc2 esp32s3

This commit is contained in:
hathach 2024-10-04 16:02:46 +07:00
parent 5a5dbfc8c6
commit 072a80d088
No known key found for this signature in database
GPG Key ID: 26FAB84F615C3C52
3 changed files with 4 additions and 2 deletions

View File

@ -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'

View File

@ -2,6 +2,7 @@ import argparse
import json
import os
def main():
parser = argparse.ArgumentParser()
parser.add_argument('config_file', help='Configuration JSON file')
@ -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}')

View File

@ -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"]
},