Skip to content

Commit 81745f6

Browse files
committed
Add executable extension to call properly stm32flash on Win10
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 666c780 commit 81745f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

win/serial_upload.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ cd %~dp0
88
rem: the two line below are needed to fix path issues with incorrect slashes before the bin file name
99
set str=%4
1010
set str=%str:/=\%
11-
stm32flash -g 0x8000000 -b 115200 -w %str% %1
11+
stm32flash.exe -g 0x8000000 -b 115200 -w %str% %1
1212
rem: C:\Python27\python.exe stm32loader.py -e -w -p %1 -g -b 115200 %str%
1313

1414
rem: ------------- use STM's own uploader

0 commit comments

Comments
 (0)