diff options
| author | Ha Thach <[email protected]> | 2026-06-22 22:20:29 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-06-22 22:20:29 +0700 |
| commit | cd3561bf158afd5a5718904b8139a338d1e3b67c (patch) | |
| tree | 4b9d46e8b6397ba050d7fba159a67efc0d511eca /test | |
| parent | 299c0a55629691f6bbded895a4be377633e815ab (diff) | |
| parent | 706e4a5daaf8bbb55f0a7d00b69d4bc3c4cd70eb (diff) | |
Merge pull request #3515 from alt-0191/ch58x
Add support for WCH ch582/583 series
Diffstat (limited to 'test')
| -rwxr-xr-x | test/hil/hil_test.py | 6 | ||||
| -rw-r--r-- | test/hil/tinyusb.json | 15 |
2 files changed, 20 insertions, 1 deletions
diff --git a/test/hil/hil_test.py b/test/hil/hil_test.py index 055618e3c..07375c1ad 100755 --- a/test/hil/hil_test.py +++ b/test/hil/hil_test.py @@ -1485,9 +1485,13 @@ def test_device_hid_generic_inout(board): # device tests # note don't test 2 examples with cdc or 2 msc next to each other device_tests = [ + # Order matters: cdc_msc and cdc_msc_throughput share the same VID:PID (cafe:4003), so keep a + # differently-PID'd example (dfu, cafe:4000) between them. Boards whose CPU-reset does not drop + # D+ (e.g. WCH CH58x via openocd) only re-enumerate when the PID changes; back-to-back same-PID + # firmware would otherwise leave the host on the previous example's cached descriptors. 'device/cdc_dual_ports', - 'device/dfu', 'device/cdc_msc', + 'device/dfu', 'device/cdc_msc_throughput', 'device/audio_test_freertos', 'device/dfu_runtime', diff --git a/test/hil/tinyusb.json b/test/hil/tinyusb.json index a534f2601..2ea910c4c 100644 --- a/test/hil/tinyusb.json +++ b/test/hil/tinyusb.json @@ -494,6 +494,21 @@ "uid": "BC4954081051", "args": "" } + }, + { + "name": "ch582m_evt", + "uid": "D443627B5450", + "toolchain": "riscv-gcc", + "tests": { + "device": true, + "host": false, + "dual": false + }, + "flasher": { + "name": "openocd_wch", + "uid": "7FD88F0604B5", + "args": "" + } } ], "boards-skip": [ |
