Skip to content

Commit f6b9e0a

Browse files
committed
reintroduce debug.server.openocd.script and remove debug.server.openocd.scripts.0
this is to keep backward compatibility between old cli versions and updated platform
1 parent 6c30f9c commit f6b9e0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platform.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ debug.toolchain.prefix=arm-none-eabi-
137137
debug.server=openocd
138138
debug.server.openocd.path={runtime.tools.openocd-0.10.0-arduino7.path}/bin/openocd
139139
debug.server.openocd.scripts_dir={runtime.tools.openocd-0.10.0-arduino7.path}/share/openocd/scripts/
140+
debug.server.openocd.script={runtime.platform.path}/variants/{build.variant}/{build.openocdscript}
140141
build.openocdinterface=interface/{programmer.protocol}.cfg
141-
debug.server.openocd.scripts.0={build.openocdinterface}
142-
debug.server.openocd.scripts.1={runtime.platform.path}/variants/{build.variant}/{build.openocdscript}
142+
debug.server.openocd.scripts.1={build.openocdinterface}
143143
debug.svd_file={build.svd_file}
144144

145145
# Upload/Debug tools

0 commit comments

Comments
 (0)