Add program.sh script
This commit is contained in:
parent
15fe4e4ca3
commit
0de1c093cd
9
sw/kousaten/sample-project/program.sh
Executable file
9
sw/kousaten/sample-project/program.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ $# -lt 2 ]; then
|
||||
echo "Usage: $0 </dev/ttyX> <progfile>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
stty -F "$1" raw
|
||||
cat "$2" > "$1"
|
Loading…
Reference in New Issue
Block a user