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 support for Arduino IDE 2 is working! #327

Open
felias-fogg opened this issue Dec 30, 2024 · 2 comments
Open

Debug support for Arduino IDE 2 is working! #327

felias-fogg opened this issue Dec 30, 2024 · 2 comments

Comments

@felias-fogg
Copy link

If you want to debug your MiniCore sketches on real hardware, you can do that now using dw-link. A quick-start guide shows you the necessary steps.

@MCUdude
Copy link
Owner

MCUdude commented Dec 30, 2024

Very, very cool! Sorry for noe being more up-front. I'll definitely give it a try in early January, and ideally add a/your quick-start guide to the MiniCore readme

@felias-fogg
Copy link
Author

Hi Hans,

It would be cool if you could include the modifications to MiniCore. I can provide a PR for the current version. I could also produce a new debug-enabled version for each of your new MiniCore versions.

The modification now includes new tools (avr-gdb and a gdbserver), which are not yet in their final version, though. avr-gdb is copied from various sources but not statically linked. The gdbserver is a Python program that is "compiled" using pyinstaller. Both will probably work most of the time. But they are large and compatibility is sort of unsure.

I plan to use cross-compiling avr-gdb statically linked and write a minimal gdbserver in C++, which also could be cross-compiled statically linked.

Cheers,
Bernhard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants