Changed serial upload speed to 115200 as this speed is compatible with most USB to Serial adaptors
This commit is contained in:
parent
2c33a02371
commit
c5ed88921e
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/bash
|
#!/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"
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/bash
|
#!/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"
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/bash
|
#!/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"
|
||||||
|
|
|
@ -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
|
rem: the two line below are needed to fix path issues with incorrect slashes before the bin file name
|
||||||
set str=%4
|
set str=%4
|
||||||
set str=%str:/=\%
|
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: C:\Python27\python.exe stm32loader.py -e -w -p %1 -g -b 115200 %str%
|
||||||
|
|
||||||
rem: ------------- use STM's own uploader
|
rem: ------------- use STM's own uploader
|
||||||
|
|
Loading…
Reference in New Issue