Skip to content

Commit ffb23d6

Browse files
committed
fix(openocd): path on windows
Fixes #2590 Signed-off-by: Frederic Pillon <[email protected]>
1 parent 0314f80 commit ffb23d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ tools.openocd_upload.cmd=bin/openocd
244244
tools.openocd_upload.cmd.windows=bin/openocd.exe
245245
tools.openocd_upload.upload.params.verbose=-d2
246246
tools.openocd_upload.upload.params.quiet=-d0
247-
tools.openocd_upload.upload.pattern="{path}/{cmd}" {upload.verbose} -f interface/{upload.protocol}.cfg -f target/{openocd.target}.cfg -c "program {build.path}/{build.project_name}.elf verify reset exit"
247+
tools.openocd_upload.upload.pattern="{path}/{cmd}" {upload.verbose} -f interface/{upload.protocol}.cfg -f target/{openocd.target}.cfg -c "program {{build.path}/{build.project_name}.elf} verify reset exit"
248248

249249
#
250250
# Debugger

0 commit comments

Comments
 (0)