Simple autoflasher for Win/cygwin
This commit is contained in:
parent
f3b14ba4de
commit
af0d1e8bf2
|
@ -0,0 +1,15 @@
|
||||||
|
drive=/cygdrive/f
|
||||||
|
file=$drive/firmware.bin
|
||||||
|
|
||||||
|
while : ; do
|
||||||
|
while [ ! -f $file ] ; do
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
|
cp firmware.bin $file
|
||||||
|
echo -n '<Flashed>'
|
||||||
|
echo -n '<Flashed>'|sed 's/.//g';
|
||||||
|
while [ -f $file ] ; do
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
Loading…
Reference in New Issue