summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-10-04 16:33:58 +0700
committerhathach <[email protected]>2024-10-04 16:33:58 +0700
commit7cdab1c94b2a218928691dbca8cb9290bb31ecc9 (patch)
tree0ec5de9b381d2540f01f15e314f4391cede45aa3 /test
parent06347661de26fd2e680a3a9d760677c056d451b5 (diff)
enable dma hil test with hfp.json
Diffstat (limited to 'test')
-rw-r--r--test/hil/hfp.json1
-rw-r--r--test/hil/hil_ci_set_matrix.py4
-rw-r--r--test/hil/tinyusb.json4
3 files changed, 6 insertions, 3 deletions
diff --git a/test/hil/hfp.json b/test/hil/hfp.json
index e79a3cfc9..386d9816b 100644
--- a/test/hil/hfp.json
+++ b/test/hil/hfp.json
@@ -10,6 +10,7 @@
{
"name": "stm32f746disco",
"uid": "210041000C51343237303334",
+ "build_flags_on": ["", "CFG_TUD_DWC2_DMA"],
"flasher": "jlink",
"flasher_sn": "770935966",
"flasher_args": "-device STM32F746NG"
diff --git a/test/hil/hil_ci_set_matrix.py b/test/hil/hil_ci_set_matrix.py
index d1329f035..192174e16 100644
--- a/test/hil/hil_ci_set_matrix.py
+++ b/test/hil/hil_ci_set_matrix.py
@@ -27,8 +27,8 @@ def main():
else:
toolchain = 'arm-gcc'
- if 'build_flags_on' in board:
- for f in board['build_flags_on']:
+ if 'build' in board and 'flags_on' in board['build']:
+ for f in board['build']['flags_on']:
if f == '':
matrix[toolchain].append(f'-b {name}')
else:
diff --git a/test/hil/tinyusb.json b/test/hil/tinyusb.json
index 7627e7482..1eaa08207 100644
--- a/test/hil/tinyusb.json
+++ b/test/hil/tinyusb.json
@@ -79,7 +79,9 @@
{
"name": "espressif_s3_devkitm",
"uid": "84F703C084E4",
- "build_flags_on": ["", "CFG_TUD_DWC2_DMA"],
+ "build" : {
+ "flags_on": ["", "CFG_TUD_DWC2_DMA"]
+ },
"tests": {
"only": ["device/cdc_msc_freertos", "device/hid_composite_freertos"]
},