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

Debugging? #209

Open
DanielArnett opened this issue Mar 20, 2023 · 0 comments
Open

Debugging? #209

DanielArnett opened this issue Mar 20, 2023 · 0 comments

Comments

@DanielArnett
Copy link

DanielArnett commented Mar 20, 2023

@GrumpyOldPizza you mentioned in other issues that you've used the Arduino debugger with these boards. Is there anything special you do to set that up?

I'm a fan of arduino-cli, but when I run

arduino-cli debug --fqbn TleraCorp:stm32l0:Grasshopper-L082CZ

I get

Error during Debug: Debugging not supported for board TleraCorp:stm32l0:Grasshopper-L082CZ

I try setting it up in the Arduino IDE, but I think I was having some UI issues, it kept saying I didn't have a configuration. Do you have any suggestions for debugging these boards?

In case anyone wants to use arduino-cli here are some commands:

# Install
arduino-cli config add board_manager.additional_urls https://grumpyoldpizza.github.io/ArduinoCore-stm32l0/package_stm32l0_boards_index.json
arduino-cli core update-index

# Build
arduino-cli compile  --export-binaries --fqbn TleraCorp:stm32l0:Grasshopper-L082CZ ./path/to/file.ino

# Upload, where $PORT is something like "/dev/ttyACM0" for Ubuntu or "COM5" for Windows.
arduino-cli upload --port $PORT --fqbn TleraCorp:stm32l0:Grasshopper-L082CZ ./path/to/file.ino
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