enable dma hil test with hfp.json

This commit is contained in:
hathach 2024-10-04 16:33:58 +07:00
parent 06347661de
commit 7cdab1c94b
No known key found for this signature in database
GPG Key ID: 26FAB84F615C3C52
3 changed files with 6 additions and 3 deletions

View File

@ -10,6 +10,7 @@
{
"name": "stm32f746disco",
"uid": "210041000C51343237303334",
"build_flags_on": ["", "CFG_TUD_DWC2_DMA"],
"flasher": "jlink",
"flasher_sn": "770935966",
"flasher_args": "-device STM32F746NG"

View File

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

View File

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