Skip to content

Commit 61c6305

Browse files
authored
Fix upload file path escaping on Windows (earlephilhower#254)
1 parent b43056c commit 61c6305

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platform.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,10 @@ tools.picoprobe.cmd={runtime.platform.path}/system/openocd
147147
tools.picoprobe.upload.protocol=picoprobe
148148
tools.picoprobe.upload.params.verbose=
149149
tools.picoprobe.upload.params.quiet=
150-
tools.picoprobe.upload.pattern="{cmd}/bin/openocd" -f "interface/picoprobe.cfg" -f "target/rp2040.cfg" -s "{cmd}/share/openocd/scripts" -c "program {build.path}/{build.project_name}.elf verify reset exit"
150+
tools.picoprobe.upload.pattern="{cmd}/bin/openocd" -f "interface/picoprobe.cfg" -f "target/rp2040.cfg" -s "{cmd}/share/openocd/scripts" -c "program {{build.path}/{build.project_name}.elf} verify reset exit"
151151

152152
tools.picodebug.cmd={runtime.platform.path}/system/openocd
153153
tools.picodebug.upload.protocol=pico-debug
154154
tools.picodebug.upload.params.verbose=
155155
tools.picodebug.upload.params.quiet=
156-
tools.picodebug.upload.pattern="{cmd}/bin/openocd" -f "board/pico-debug.cfg" -s "{cmd}/share/openocd/scripts" -c "program {build.path}/{build.project_name}.elf verify reset exit"
156+
tools.picodebug.upload.pattern="{cmd}/bin/openocd" -f "board/pico-debug.cfg" -s "{cmd}/share/openocd/scripts" -c "program {{build.path}/{build.project_name}.elf} verify reset exit"

0 commit comments

Comments
 (0)