We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e465dd3 + acf956a commit 3452a04Copy full SHA for 3452a04
tools/linux/maple_upload
@@ -26,15 +26,15 @@ DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
26
# 750ms to 1500ms seems to work on my Mac
27
28
29
-${DIR}/upload-reset ${dummy_port_fullpath} 750
+"${DIR}/upload-reset" ${dummy_port_fullpath} 750
30
31
32
#DFU_UTIL=$(dirname $0)/dfu-util/dfu-util
33
DFU_UTIL=/usr/bin/dfu-util
34
DFU_UTIL=${DIR}/dfu-util/dfu-util
35
-if [ ! -x ${DFU_UTIL} ]; then
+if [ ! -x "${DFU_UTIL}" ]; then
36
echo "$0: error: cannot find ${DFU_UTIL}" >&2
37
exit 2
38
fi
39
40
-${DFU_UTIL} -d ${usbID} -a ${altID} -D ${binfile} ${dfuse_addr} -R
+"${DFU_UTIL}" -d ${usbID} -a ${altID} -D ${binfile} ${dfuse_addr} -R
tools/macosx/stm32flash/stm32flash
0 Bytes
0 commit comments