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
+5 -3
View File
@@ -1,12 +1,13 @@
#!/usr/bin/env bash
# Build + flash a firmware profile to the discovered DUT.
# Build + flash a firmware profile to the discovered DUT; no SDR required.
# ./tools/flash.sh [test|debug]
# Refuses ambiguous serial devices (see tools/discover_devices.sh).
set -euo pipefail
cd "$(dirname "$0")/.."
PROFILE=${1:-test}
eval "$(./tools/discover_devices.sh)"
devices=$(./tools/discover_devices.sh --dut-only)
eval "$devices"
echo "Flashing profile '$PROFILE' to: $DUT_PORT" >&2
./tools/build.sh "$PROFILE"
@@ -16,7 +17,8 @@ if ! idf.py -B "build-$PROFILE" -p "$DUT_PORT" flash; then
# entering download mode re-enumerates the USB device; rediscover once
sleep 2
cd ..
eval "$(./tools/discover_devices.sh)"
devices=$(./tools/discover_devices.sh --dut-only)
eval "$devices"
cd firmware
idf.py -B "build-$PROFILE" -p "$DUT_PORT" flash
fi