Browse Source

Fix Fysetc stm32flash usage (#17331)

Eric Ptak 4 years ago
parent
commit
ac0a7f2281
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py

+ 1
- 1
buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py View File

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

Loading…
Cancel
Save