summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2024-11-27 12:52:56 +0700
committerGitHub <[email protected]>2024-11-27 12:52:56 +0700
commit2732aff7dd328a9f86c990afd7a71df48ae47391 (patch)
tree2dd88431ee22a1a2d525db8fa6d9a4f2056fc1a9 /test
parent62f0e87bf16c750622999f3952506e3a364e4075 (diff)
parentae7cdcd0705aedbae2ac4d6eb051aa0d359fe3b5 (diff)
Merge pull request #2888 from hathach/esp32p4-host-dma
Esp32p4 host dma
Diffstat (limited to 'test')
-rwxr-xr-xtest/hil/hil_test.py2
-rw-r--r--test/hil/tinyusb.json10
2 files changed, 7 insertions, 5 deletions
diff --git a/test/hil/hil_test.py b/test/hil/hil_test.py
index f125c0d28..a9f5dc1e1 100755
--- a/test/hil/hil_test.py
+++ b/test/hil/hil_test.py
@@ -549,7 +549,7 @@ def test_board(board):
for f1 in flags_on_list:
f1_str = ""
if f1 != "":
- f1_str = '-' + f1.replace(' ', '-')
+ f1_str = '-f1_' + f1.replace(' ', '_')
for test in test_list:
fw_dir = f'{TINYUSB_ROOT}/cmake-build/cmake-build-{name}{f1_str}/{test}'
if not os.path.exists(fw_dir):
diff --git a/test/hil/tinyusb.json b/test/hil/tinyusb.json
index 8b4ef6d3a..7393226eb 100644
--- a/test/hil/tinyusb.json
+++ b/test/hil/tinyusb.json
@@ -4,7 +4,7 @@
"name": "espressif_p4_function_ev",
"uid": "6055F9F98715",
"build" : {
- "flags_on": ["", "CFG_TUD_DWC2_DMA_ENABLE"]
+ "flags_on": ["", "CFG_TUD_DWC2_DMA_ENABLE CFG_TUH_DWC2_DMA_ENABLE"]
},
"tests": {
"only": ["device/cdc_msc_freertos", "device/hid_composite_freertos", "host/device_info"],
@@ -14,7 +14,8 @@
"name": "esptool",
"uid": "4ea4f48f6bc3ee11bbb9d00f9e1b1c54",
"args": "-b 1500000"
- }
+ },
+ "comment": "Use TS3USB30 mux to test both device and host"
},
{
"name": "espressif_s3_devkitm",
@@ -133,7 +134,7 @@
"name": "stm32f723disco",
"uid": "460029001951373031313335",
"build" : {
- "flags_on": ["", "CFG_TUD_DWC2_DMA_ENABLE"]
+ "flags_on": ["", "CFG_TUH_DWC2_DMA_ENABLE"]
},
"tests": {
"device": true, "host": true, "dual": false,
@@ -143,7 +144,8 @@
"name": "jlink",
"uid": "000776606156",
"args": "-device stm32f723ie"
- }
+ },
+ "comment": "Device port0 FS (slave only), Host port1 HS with DMA"
},
{
"name": "stm32h743nucleo",