mirror of
https://github.com/clockworkpi/uConsole.git
synced 2026-09-08 17:04:45 +02:00
Output the detected architecture
This commit is contained in:
@@ -40,11 +40,13 @@ if [ $architecture = "unknown" ]; then
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [ $# -lt 4 ]; then
|
if [ $# -lt 4 ]; then
|
||||||
echo "Usage: $0 $# <dummy_port> <altID> <usbID> <binfile>" >&2
|
echo "Usage: $0 $# <dummy_port> <altID> <usbID> <binfile>" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "Detected architecture: $architecture"
|
||||||
|
|
||||||
dummy_port="$1"; altID="$2"; usbID="$3"; binfile="$4"; dummy_port_fullpath="/dev/$1"
|
dummy_port="$1"; altID="$2"; usbID="$3"; binfile="$4"; dummy_port_fullpath="/dev/$1"
|
||||||
if [ $# -eq 5 ]; then
|
if [ $# -eq 5 ]; then
|
||||||
dfuse_addr="--dfuse-address $5"
|
dfuse_addr="--dfuse-address $5"
|
||||||
|
|||||||
Reference in New Issue
Block a user