Adding stm32 auto-upload scripts for Windows, Mac, and Linux (#184)

This commit is contained in:
Ben Lye
2018-08-16 09:29:47 +01:00
committed by GitHub
parent 1dc52773f4
commit 685de52538
11 changed files with 234 additions and 8 deletions

View File

@@ -33,6 +33,9 @@ DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
${DIR}/upload-reset ${dummy_port_fullpath} 750
# Give the board a chance to reset to DFU mode
sleep 0.5
if [ $# -eq 5 ]; then
dfuse_addr="--dfuse-address $5"
else