Merge pull request #1 from rogerclarkmelbourne/master
Changed serial upload speed to 115200 as this speed is compatible wit…
This commit is contained in:
commit
de56edb5b0
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue