Fix Fysetc stm32flash usage (#17331)

This commit is contained in:
Eric Ptak 2020-03-31 20:59:08 +02:00 committed by GitHub
parent e0e87ca19a
commit ac0a7f2281
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ if platform.get_package_dir("tool-stm32duino") != None:
env.Replace(
UPLOADER=UPLOAD_TOOL,
UPLOADCMD=expandvars(UPLOAD_TOOL + " -v -i rts,-dtr,dtr $UPLOAD_PORT -R -w \"" + join("$BUILD_DIR","${PROGNAME}.hex")+"\"")
UPLOADCMD=expandvars(UPLOAD_TOOL + " -v -i rts,-dtr,dtr -R -b 115200 -g 0x8000000 -w \"" + join("$BUILD_DIR","${PROGNAME}.hex")+"\"" + " $UPLOAD_PORT")
)
# Python callback