Update HIL verification for hop-marked repeats
This commit is contained in:
+5
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user