diff options
| author | hathach <[email protected]> | 2026-04-14 10:51:20 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-04-14 10:51:20 +0700 |
| commit | 44b0ee05390b0f97d006a016b25fa513699e0a96 (patch) | |
| tree | 93decf8946c6eacabcae6d063fb5d576c99e5d86 /test | |
| parent | 7c3f5979ff9be05b7938f10dbaa6e55daaf8bdc1 (diff) | |
get freertos working with rp2040
Diffstat (limited to 'test')
| -rwxr-xr-x | test/hil/hil_test.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/hil/hil_test.py b/test/hil/hil_test.py index f23e2fc22..d50a60894 100755 --- a/test/hil/hil_test.py +++ b/test/hil/hil_test.py @@ -102,6 +102,8 @@ def get_serial_dev(id, vendor_str, product_str, ifnum): # just use id: mostly for cp210x/ftdi flasher pattern = f'/dev/serial/by-id/usb-*_{id}-if*' port_list = glob.glob(pattern) + if len(port_list) == 0: + raise RuntimeError(f'No serial device found for {pattern}') return port_list[0] |
