Skip to content

Commit

Permalink
enable dma hil test with hfp.json
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed Oct 4, 2024
1 parent 0634766 commit 7cdab1c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions test/hil/hfp.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
{
"name": "stm32f746disco",
"uid": "210041000C51343237303334",
"build_flags_on": ["", "CFG_TUD_DWC2_DMA"],
"flasher": "jlink",
"flasher_sn": "770935966",
"flasher_args": "-device STM32F746NG"
Expand Down
4 changes: 2 additions & 2 deletions test/hil/hil_ci_set_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 3 additions & 1 deletion test/hil/tinyusb.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
},
Expand Down

0 comments on commit 7cdab1c

Please sign in to comment.