Skip to content

Commit 7cdab1c

Browse files
committed
enable dma hil test with hfp.json
1 parent 0634766 commit 7cdab1c

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

test/hil/hfp.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
{
1111
"name": "stm32f746disco",
1212
"uid": "210041000C51343237303334",
13+
"build_flags_on": ["", "CFG_TUD_DWC2_DMA"],
1314
"flasher": "jlink",
1415
"flasher_sn": "770935966",
1516
"flasher_args": "-device STM32F746NG"

test/hil/hil_ci_set_matrix.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ def main():
2727
else:
2828
toolchain = 'arm-gcc'
2929

30-
if 'build_flags_on' in board:
31-
for f in board['build_flags_on']:
30+
if 'build' in board and 'flags_on' in board['build']:
31+
for f in board['build']['flags_on']:
3232
if f == '':
3333
matrix[toolchain].append(f'-b {name}')
3434
else:

test/hil/tinyusb.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@
7979
{
8080
"name": "espressif_s3_devkitm",
8181
"uid": "84F703C084E4",
82-
"build_flags_on": ["", "CFG_TUD_DWC2_DMA"],
82+
"build" : {
83+
"flags_on": ["", "CFG_TUD_DWC2_DMA"]
84+
},
8385
"tests": {
8486
"only": ["device/cdc_msc_freertos", "device/hid_composite_freertos"]
8587
},

0 commit comments

Comments
 (0)