mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-12-14 11:33:14 +00:00
Adding stm32 auto-upload scripts for Windows, Mac, and Linux (#184)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user