mirror of
https://github.com/hathach/tinyusb.git
synced 2025-04-16 05:42:56 +00:00
enable dma hil test with hfp.json
This commit is contained in:
parent
06347661de
commit
7cdab1c94b
@ -10,6 +10,7 @@
|
|||||||
{
|
{
|
||||||
"name": "stm32f746disco",
|
"name": "stm32f746disco",
|
||||||
"uid": "210041000C51343237303334",
|
"uid": "210041000C51343237303334",
|
||||||
|
"build_flags_on": ["", "CFG_TUD_DWC2_DMA"],
|
||||||
"flasher": "jlink",
|
"flasher": "jlink",
|
||||||
"flasher_sn": "770935966",
|
"flasher_sn": "770935966",
|
||||||
"flasher_args": "-device STM32F746NG"
|
"flasher_args": "-device STM32F746NG"
|
||||||
|
@ -27,8 +27,8 @@ def main():
|
|||||||
else:
|
else:
|
||||||
toolchain = 'arm-gcc'
|
toolchain = 'arm-gcc'
|
||||||
|
|
||||||
if 'build_flags_on' in board:
|
if 'build' in board and 'flags_on' in board['build']:
|
||||||
for f in board['build_flags_on']:
|
for f in board['build']['flags_on']:
|
||||||
if f == '':
|
if f == '':
|
||||||
matrix[toolchain].append(f'-b {name}')
|
matrix[toolchain].append(f'-b {name}')
|
||||||
else:
|
else:
|
||||||
|
@ -79,7 +79,9 @@
|
|||||||
{
|
{
|
||||||
"name": "espressif_s3_devkitm",
|
"name": "espressif_s3_devkitm",
|
||||||
"uid": "84F703C084E4",
|
"uid": "84F703C084E4",
|
||||||
"build_flags_on": ["", "CFG_TUD_DWC2_DMA"],
|
"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"]
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user