Browse Source

Fix Fysetc stm32flash usage (#17331)

vanilla_fb_2.0.x
Eric Ptak 5 years ago
committed by GitHub
parent
commit
ac0a7f2281
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py

2
buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py

@ -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

Loading…
Cancel
Save