Output the detected architecture

This commit is contained in:
Ellie
2026-06-11 14:22:15 +02:00
committed by GitHub
parent ff49ad926f
commit 2284ed83be

View File

@@ -40,11 +40,13 @@ if [ $architecture = "unknown" ]; then
exit
fi
if [ $# -lt 4 ]; then
echo "Usage: $0 $# <dummy_port> <altID> <usbID> <binfile>" >&2
exit 1
fi
echo "Detected architecture: $architecture"
dummy_port="$1"; altID="$2"; usbID="$3"; binfile="$4"; dummy_port_fullpath="/dev/$1"
if [ $# -eq 5 ]; then
dfuse_addr="--dfuse-address $5"