diff options
| author | hathach <[email protected]> | 2025-03-26 15:20:27 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-03-26 15:20:27 +0700 |
| commit | 69dca9518c516c48ad013ea00c11bbf1746ada9a (patch) | |
| tree | 2af3f4da065a0a6c3f4d62d169e0be63ec5b081f | |
| parent | 73e810a7ba73a54c0bd074e86a18b6e2954057fa (diff) | |
added mimxrt1064_evk to hil test pool
| -rw-r--r-- | examples/dual/host_info_to_device_cdc/src/main.c | 3 | ||||
| -rwxr-xr-x | test/hil/hil_test.py | 3 | ||||
| -rw-r--r-- | test/hil/tinyusb.json | 13 |
3 files changed, 18 insertions, 1 deletions
diff --git a/examples/dual/host_info_to_device_cdc/src/main.c b/examples/dual/host_info_to_device_cdc/src/main.c index c1017141c..7e593f234 100644 --- a/examples/dual/host_info_to_device_cdc/src/main.c +++ b/examples/dual/host_info_to_device_cdc/src/main.c @@ -142,7 +142,7 @@ void cdc_task(void) { if (!tud_cdc_connected()) { // delay a bit otherwise we can outpace host's terminal. Linux will set LineState (DTR) then Line Coding. // If we send data before Linux's terminal set Line Coding, it can be ignored --> missing data with hardware test loop - board_delay(10); + board_delay(20); return; } @@ -151,6 +151,7 @@ void cdc_task(void) { if (is_print[daddr]) { is_print[daddr] = false; print_device_info(daddr, &descriptor_device[daddr]); + tud_cdc_write_flush(); } } } diff --git a/test/hil/hil_test.py b/test/hil/hil_test.py index 017c17018..662bb3a1f 100755 --- a/test/hil/hil_test.py +++ b/test/hil/hil_test.py @@ -561,6 +561,9 @@ def test_board(board): print('Skip (no binary)') continue + if verbose: + print(f'Flashing {fw_name}.elf') + # flash firmware. It may fail randomly, retry a few times max_rety = 2 for i in range(max_rety): diff --git a/test/hil/tinyusb.json b/test/hil/tinyusb.json index 7436ddb63..a9460bf9d 100644 --- a/test/hil/tinyusb.json +++ b/test/hil/tinyusb.json @@ -70,6 +70,19 @@ } }, { + "name": "mimxrt1064_evk", + "uid": "BAE96FB95AFA6DBB8F00005002001200", + "tests": { + "device": true, "host": true, "dual": true, + "dev_attached": [{"vid_pid": "1a86_55d4", "serial": "52D2023299"}] + }, + "flasher": { + "name": "jlink", + "uid": "000725299165", + "args": "-device MIMXRT1064xxx6A" + } + }, + { "name": "lpcxpresso11u37", "uid": "17121919", "tests": { |
