-
-
Couldn't load subscription status.
- Fork 738
Debug enhancements #710
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
base: master
Are you sure you want to change the base?
Debug enhancements #710
Conversation
f6b9e0a to
628e608
Compare
…ard 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
628e608 to
4faf391
Compare
|
The PR is in draft because I only modified the nano 33 iot board. All the other boards needs to be updated |
| 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 |
There was a problem hiding this comment.
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
This comment was marked as outdated.
This comment was marked as outdated.
this way it does not get defined in case the board does not support it
The CLI is able to give this back using `board details` The IDE2 can auto-select the programmer based on the board used
The CLI is able to give this back using `board details` The IDE2 can auto-select the programmer based on the board used
With newer versions of the IDE this was causing problems
|
Memory usage change @ 556fb8e
Click for full report table
|
The change we propose aims to:
arduino-cli debug -I -b <board> -P <debugger> <sketch>)-Pflag)This PR leverages arduino/arduino-cli#2356