ttl-fpga/sw/kousaten/sample-project/program.sh

10 lines
121 B
Bash
Raw Normal View History

2019-06-22 17:47:20 +02:00
#!/bin/bash
if [ $# -lt 2 ]; then
echo "Usage: $0 </dev/ttyX> <progfile>"
exit 1
fi
stty -F "$1" raw
cat "$2" > "$1"