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

Introduce experimental debug support for Arduino CLI/IDE #118

Open
ubidefeo opened this issue Feb 18, 2021 · 0 comments
Open

Introduce experimental debug support for Arduino CLI/IDE #118

ubidefeo opened this issue Feb 18, 2021 · 0 comments

Comments

@ubidefeo
Copy link

In the SAMD platform definition we have introduced experimental support to allow debug using the new IDE.
@cmaglie has worked on it, but the bulk of it is adding this in the platform.txt with the correct parameters

# ----------------------------------------
# EXPERIMENTAL feature:
#  - this is alpha and may be subject to change without notice
debug.executable={build.path}/{build.project_name}.elf
debug.toolchain=gcc
debug.toolchain.path={runtime.tools.arm-none-eabi-gcc-7-2017q4.path}/bin/
debug.toolchain.prefix=arm-none-eabi-
debug.server=openocd
debug.server.openocd.path={runtime.tools.openocd-0.10.0-arduino7.path}/bin/openocd
debug.server.openocd.scripts_dir={runtime.tools.openocd-0.10.0-arduino7.path}/share/openocd/scripts/
debug.server.openocd.script={runtime.platform.path}/variants/{build.variant}/{build.openocdscript}

This request comes from an issue filed in the Arduino Pro IDE public repo
arduino/arduino-pro-ide#301

Transferred here as requested by @per1234

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

1 participant