arduino-due: fix variable usage in flash.sh
This commit is contained in:
parent
7e88358135
commit
ae046e42d5
2
boards/arduino-due/dist/flash.sh
vendored
2
boards/arduino-due/dist/flash.sh
vendored
@ -4,7 +4,7 @@ if [ `uname` = "Linux" ]; then
|
|||||||
stty -F "${PORT}" raw ispeed 1200 ospeed 1200 cs8 -cstopb ignpar eol 255 eof 255
|
stty -F "${PORT}" raw ispeed 1200 ospeed 1200 cs8 -cstopb ignpar eol 255 eof 255
|
||||||
"${RIOTBOARD}"/"${BOARD}"/dist/bossac -R -e -w -v -b "${HEXFILE}"
|
"${RIOTBOARD}"/"${BOARD}"/dist/bossac -R -e -w -v -b "${HEXFILE}"
|
||||||
elif [ `uname` = "Darwin" ]; then
|
elif [ `uname` = "Darwin" ]; then
|
||||||
stty -f $(PORT) raw ispeed 1200 ospeed 1200 cs8 -cstopb ignpar eol 255 eof 255
|
stty -f ${PORT} raw ispeed 1200 ospeed 1200 cs8 -cstopb ignpar eol 255 eof 255
|
||||||
"${RIOTBOARD}"/"${BOARD}"/dist/bossac_osx -R -e -w -v -b "${HEXFILE}"
|
"${RIOTBOARD}"/"${BOARD}"/dist/bossac_osx -R -e -w -v -b "${HEXFILE}"
|
||||||
else
|
else
|
||||||
echo "CAUTION: No flash tool for your host system found!"
|
echo "CAUTION: No flash tool for your host system found!"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user