Skip to content

Commit 3452a04

Browse files
committed
Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master'
2 parents e465dd3 + acf956a commit 3452a04

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tools/linux/maple_upload

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
2626
# 750ms to 1500ms seems to work on my Mac
2727

2828

29-
${DIR}/upload-reset ${dummy_port_fullpath} 750
29+
"${DIR}/upload-reset" ${dummy_port_fullpath} 750
3030

3131

3232
#DFU_UTIL=$(dirname $0)/dfu-util/dfu-util
3333
DFU_UTIL=/usr/bin/dfu-util
3434
DFU_UTIL=${DIR}/dfu-util/dfu-util
35-
if [ ! -x ${DFU_UTIL} ]; then
35+
if [ ! -x "${DFU_UTIL}" ]; then
3636
echo "$0: error: cannot find ${DFU_UTIL}" >&2
3737
exit 2
3838
fi
3939

40-
${DFU_UTIL} -d ${usbID} -a ${altID} -D ${binfile} ${dfuse_addr} -R
40+
"${DFU_UTIL}" -d ${usbID} -a ${altID} -D ${binfile} ${dfuse_addr} -R

tools/macosx/stm32flash/stm32flash

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)