File tree 5 files changed +0
-253
lines changed
5 files changed +0
-253
lines changed Original file line number Diff line number Diff line change 2
2
3
3
# set -e
4
4
5
-
6
-
7
5
if [ $# -lt 4 ]; then
8
6
echo " Usage: $0 $# <dummy_port> <altID> <usbID> <binfile>" >&2
9
7
exit 1
@@ -29,8 +27,6 @@ DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
29
27
" ${DIR} /upload-reset" ${dummy_port_fullpath} 750
30
28
31
29
32
- # DFU_UTIL=$(dirname $0)/dfu-util/dfu-util
33
- DFU_UTIL=/usr/bin/dfu-util
34
30
DFU_UTIL=${DIR} /dfu-util/dfu-util
35
31
if [ ! -x " ${DFU_UTIL} " ]; then
36
32
echo " $0 : error: cannot find ${DFU_UTIL} " >&2
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
3
3
# set -e
4
4
5
-
6
-
7
5
if [ $# -lt 4 ]; then
8
6
echo " Usage: $0 $# <dummy_port> <altID> <usbID> <binfile>" >&2
9
7
exit 1
@@ -29,8 +27,6 @@ DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
29
27
" ${DIR} /upload-reset" ${dummy_port_fullpath} 750
30
28
31
29
32
- # DFU_UTIL=$(dirname $0)/dfu-util/dfu-util
33
- DFU_UTIL=/usr/bin/dfu-util
34
30
DFU_UTIL=${DIR} /dfu-util/dfu-util
35
31
if [ ! -x " ${DFU_UTIL} " ]; then
36
32
echo " $0 : error: cannot find ${DFU_UTIL} " >&2
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments