Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug enhancements #710

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
10 changes: 10 additions & 0 deletions boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,16 @@ nano_33_iot.bootloader.tool.default=openocd
nano_33_iot.bootloader.file=nano_33_iot/samd21_sam_ba_arduino_nano_33_iot.bin
nano_33_iot.build.svd_file={runtime.platform.path}/svd/at91samd21g18.svd

nano_33_iot.debug.cortex-debug.custom.postAttachCommands.0=set remote hardware-watchpoint-limit 2
nano_33_iot.debug.cortex-debug.custom.postAttachCommands.1=monitor reset halt
nano_33_iot.debug.cortex-debug.custom.postAttachCommands.2=monitor gdb_sync
nano_33_iot.debug.cortex-debug.custom.postAttachCommands.3=thb setup
nano_33_iot.debug.cortex-debug.custom.postAttachCommands.4=c
nano_33_iot.debug.cortex-debug.custom.overrideRestartCommands.0=monitor reset halt
nano_33_iot.debug.cortex-debug.custom.overrideRestartCommands.1=monitor gdb_sync
nano_33_iot.debug.cortex-debug.custom.overrideRestartCommands.2=thb setup
nano_33_iot.debug.cortex-debug.custom.overrideRestartCommands.3=c
Comment on lines +265 to +273
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been added only for demo purposes. For sure needs updating


# Arduino MKR FOX 1200
# --------------------
mkrfox1200.name=Arduino MKR FOX 1200
Expand Down