Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork738
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 ourterms of service andprivacy 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?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
…ard compatibilitythis way using old cli version with an updated platform should workif the cli is >= 0.35.0 and the platform is old it will work the old way
umbynos commentedOct 13, 2023
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 leveragesarduino/arduino-cli#2356