hil test both slave and dma for dwc2 esp32s3
This commit is contained in:
2
.github/workflows/hil_test.yml
vendored
2
.github/workflows/hil_test.yml
vendored
@@ -58,7 +58,7 @@ jobs:
|
|||||||
|
|
||||||
# ---------------------------------------
|
# ---------------------------------------
|
||||||
# Hardware in the loop (HIL)
|
# 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:
|
hil-tinyusb:
|
||||||
if: github.repository_owner == 'hathach'
|
if: github.repository_owner == 'hathach'
|
||||||
|
@@ -2,6 +2,7 @@ import argparse
|
|||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
parser.add_argument('config_file', help='Configuration JSON file')
|
parser.add_argument('config_file', help='Configuration JSON file')
|
||||||
@@ -31,7 +32,7 @@ def main():
|
|||||||
if f == '':
|
if f == '':
|
||||||
matrix[toolchain].append(f'-b {name}')
|
matrix[toolchain].append(f'-b {name}')
|
||||||
else:
|
else:
|
||||||
matrix[toolchain].append(f'-b {name}-{f.replace(" ", "_")}')
|
matrix[toolchain].append(f'-b {name} -f1 {f.replace(" ", " -f1 ")}')
|
||||||
else:
|
else:
|
||||||
matrix[toolchain].append(f'-b {name}')
|
matrix[toolchain].append(f'-b {name}')
|
||||||
|
|
||||||
|
@@ -79,6 +79,7 @@
|
|||||||
{
|
{
|
||||||
"name": "espressif_s3_devkitm",
|
"name": "espressif_s3_devkitm",
|
||||||
"uid": "84F703C084E4",
|
"uid": "84F703C084E4",
|
||||||
|
"build_flags_on": ["", "CFG_TUD_DWC2_DMA"],
|
||||||
"tests": {
|
"tests": {
|
||||||
"only": ["device/cdc_msc_freertos", "device/hid_composite_freertos"]
|
"only": ["device/cdc_msc_freertos", "device/hid_composite_freertos"]
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user