Skip to content

Commit 46ac057

Browse files
committed
[nano 33 iot] add gdb directives on a per-board basis (DEMO)
1 parent d24160a commit 46ac057

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: boards.txt

+10
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,16 @@ nano_33_iot.bootloader.tool.default=openocd
258258
nano_33_iot.bootloader.file=nano_33_iot/samd21_sam_ba_arduino_nano_33_iot.bin
259259
nano_33_iot.build.svd_file={runtime.platform.path}/svd/at91samd21g18.svd
260260

261+
nano_33_iot.debug.cortex-debug.custom.postAttachCommands.0=set remote hardware-watchpoint-limit 2
262+
nano_33_iot.debug.cortex-debug.custom.postAttachCommands.1=monitor reset halt
263+
nano_33_iot.debug.cortex-debug.custom.postAttachCommands.2=monitor gdb_sync
264+
nano_33_iot.debug.cortex-debug.custom.postAttachCommands.3=thb setup
265+
nano_33_iot.debug.cortex-debug.custom.postAttachCommands.4=c
266+
nano_33_iot.debug.cortex-debug.custom.overrideRestartCommands.0=monitor reset halt
267+
nano_33_iot.debug.cortex-debug.custom.overrideRestartCommands.1=monitor gdb_sync
268+
nano_33_iot.debug.cortex-debug.custom.overrideRestartCommands.2=thb setup
269+
nano_33_iot.debug.cortex-debug.custom.overrideRestartCommands.3=c
270+
261271
# Arduino MKR FOX 1200
262272
# --------------------
263273
mkrfox1200.name=Arduino MKR FOX 1200

0 commit comments

Comments
 (0)