diff options
| author | hathach <[email protected]> | 2026-04-26 23:15:49 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-04-28 16:38:36 +0700 |
| commit | 3792a9a3871cad32d7f38bc831417f60aeb17aff (patch) | |
| tree | 903921b57be34e546640c7b0801cd58e32a4ae7f /test | |
| parent | cf50ea245bb02fc5674ef2ba6a3593a27c005b82 (diff) | |
fix warning, change hil jlink for feather nrf52840
Diffstat (limited to 'test')
| -rwxr-xr-x | test/hil/hil_test.py | 3 | ||||
| -rw-r--r-- | test/hil/tinyusb.json | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/hil/hil_test.py b/test/hil/hil_test.py index 7d716e339..9b4a36c1c 100755 --- a/test/hil/hil_test.py +++ b/test/hil/hil_test.py @@ -782,7 +782,8 @@ def test_device_cdc_msc_throughput(board): pass # Put tty in raw mode so dd sees pure binary throughput. - run_cmd(f'stty -F {tty} raw -echo') + rs = run_cmd(f'timeout 30 stty -F {tty} raw -echo') + assert rs.returncode == 0, f'stty failed: {rs.stdout.decode()}' # Payload aim: ~5 s per direction at FS (~830 kB/s), much less at HS. msc_count = 2 if is_fs else 16 # bs=1M diff --git a/test/hil/tinyusb.json b/test/hil/tinyusb.json index 5466cd534..e7cd435fa 100644 --- a/test/hil/tinyusb.json +++ b/test/hil/tinyusb.json @@ -43,7 +43,7 @@ }, "flasher": { "name": "jlink", - "uid": "000682804350", + "uid": "681295394", "args": "-device nrf52840_xxaa" } }, |
