From ac0a7f2281a5c0df22a3df3fe83d4f112739bbe0 Mon Sep 17 00:00:00 2001 From: Eric Ptak Date: Tue, 31 Mar 2020 20:59:08 +0200 Subject: [PATCH] Fix Fysetc stm32flash usage (#17331) --- buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py b/buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py index 1aeaa4d70..67a75f5b4 100644 --- a/buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py +++ b/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