Changed serial upload speed to 115200 as this speed is compatible with most USB to Serial adaptors

This commit is contained in:
Roger Clark 2017-11-08 15:29:25 +11:00
parent 2c33a02371
commit c5ed88921e
4 changed files with 4 additions and 4 deletions

View File

@ -1,2 +1,2 @@
#!/bin/bash
$(dirname $0)/stm32flash/stm32flash -g 0x8000000 -b 230400 -w "$4" /dev/"$1"
$(dirname $0)/stm32flash/stm32flash -g 0x8000000 -b 115200 -w "$4" /dev/"$1"

View File

@ -1,2 +1,2 @@
#!/bin/bash
$(dirname $0)/stm32flash/stm32flash -g 0x8000000 -b 230400 -w "$4" /dev/"$1"
$(dirname $0)/stm32flash/stm32flash -g 0x8000000 -b 115200 -w "$4" /dev/"$1"

View File

@ -1,2 +1,2 @@
#!/bin/bash
$(dirname $0)/stm32flash/stm32flash -g 0x8000000 -b 230400 -w "$4" /dev/"$1"
$(dirname $0)/stm32flash/stm32flash -g 0x8000000 -b 115200 -w "$4" /dev/"$1"

View File

@ -8,7 +8,7 @@ cd %~dp0
rem: the two line below are needed to fix path issues with incorrect slashes before the bin file name
set str=%4
set str=%str:/=\%
stm32flash -g 0x8000000 -b 230400 -w %str% %1
stm32flash -g 0x8000000 -b 115200 -w %str% %1
rem: C:\Python27\python.exe stm32loader.py -e -w -p %1 -g -b 115200 %str%
rem: ------------- use STM's own uploader