Update HIL verification for hop-marked repeats

This commit is contained in:
Lars Nolden
2026-09-21 12:31:19 +02:00
parent a11a4b3b89
commit 8c44c54131
13 changed files with 525 additions and 309 deletions
+7
View File
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
# Deterministic discovery of DUT (Heltec V4.3) and SDR (Nooelec NESDR SMArt v5).
# Prints selected devices; exits nonzero on ambiguity or absence.
# ./tools/discover_devices.sh [--dut-only|-v]
# --dut-only prints only DUT_PORT and does not inspect or require an SDR.
#
# Output (eval-able):
# DUT_PORT=/dev/serial/by-id/...
@@ -22,6 +24,11 @@ fi
DUT_PORT="${dut_candidates[0]}"
[ -e "$DUT_PORT" ] || fail "DUT path vanished: $DUT_PORT"
if [ "${1:-}" = "--dut-only" ]; then
printf 'DUT_PORT=%q\n' "$DUT_PORT"
exit 0
fi
# --- SDR: Nooelec NESDR SMArt v5 (RTL2832U, USB 0bda:2838) ---
# Identity is established by USB VID:PID, because this dongle sometimes
# enumerates with empty descriptor strings after a fault (rtl_test then