Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 628e608

Browse filesBrowse files
committed
reintroduce debug.server.openocd.script to keep backward compatibility
this way using old cli version with an updated platform should work if the cli is >= 0.35.0 and the platform is old it will work the old way
1 parent 6c30f9c commit 628e608
Copy full SHA for 628e608

File tree

Expand file treeCollapse file tree

2 files changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-0
lines changed

‎boards.txt

Copy file name to clipboardExpand all lines: boards.txt
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ nano_33_iot.build.board=SAMD_NANO_33_IOT
249249
nano_33_iot.build.core=arduino
250250
nano_33_iot.build.extra_flags=-DCRYSTALLESS -D__SAMD21G18A__ {build.usb_flags}
251251
nano_33_iot.build.ldscript=linker_scripts/gcc/flash_with_bootloader.ld
252+
nano_33_iot.build.openocdoldscript=openocd_scripts/arduino_zero.cfg
252253
nano_33_iot.build.openocdscript=openocd_scripts/openocd.cfg
253254
nano_33_iot.build.variant=nano_33_iot
254255
nano_33_iot.build.vid=0x2341

‎platform.txt

Copy file name to clipboardExpand all lines: platform.txt
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ 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/
140140
build.openocdinterface=interface/{programmer.protocol}.cfg
141+
debug.server.openocd.script={runtime.platform.path}/variants/{build.variant}/{build.openocdoldscript}
141142
debug.server.openocd.scripts.0={build.openocdinterface}
142143
debug.server.openocd.scripts.1={runtime.platform.path}/variants/{build.variant}/{build.openocdscript}
143144
debug.svd_file={build.svd_file}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.