Skip to content

Commit f4a98e3

Browse files
committed
[nano 33 iot] move debug.svd_file inside boards.txt
this way it does not get defined in case the board does not support it
1 parent 4faf391 commit f4a98e3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Diff for: boards.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ nano_33_iot.build.pid=0x8057
257257
nano_33_iot.bootloader.tool=openocd
258258
nano_33_iot.bootloader.tool.default=openocd
259259
nano_33_iot.bootloader.file=nano_33_iot/samd21_sam_ba_arduino_nano_33_iot.bin
260-
nano_33_iot.build.svd_file={runtime.platform.path}/svd/at91samd21g18.svd
260+
nano_33_iot.debug.svd_file={runtime.platform.path}/svd/at91samd21g18.svd
261261

262262
nano_33_iot.debug.cortex-debug.custom.postAttachCommands.0=set remote hardware-watchpoint-limit 2
263263
nano_33_iot.debug.cortex-debug.custom.postAttachCommands.1=monitor reset halt

Diff for: platform.txt

-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ build.openocdinterface=interface/{programmer.protocol}.cfg
141141
debug.server.openocd.script={runtime.platform.path}/variants/{build.variant}/{build.openocdoldscript}
142142
debug.server.openocd.scripts.0={build.openocdinterface}
143143
debug.server.openocd.scripts.1={runtime.platform.path}/variants/{build.variant}/{build.openocdscript}
144-
debug.svd_file={build.svd_file}
145144

146145
# Upload/Debug tools
147146
# ------------------

0 commit comments

Comments
 (0)