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

AVR PIO upload is logged as errors #11

Closed
julianneswinoga opened this issue Feb 26, 2023 · 0 comments · Fixed by #12
Closed

AVR PIO upload is logged as errors #11

julianneswinoga opened this issue Feb 26, 2023 · 0 comments · Fixed by #12
Labels
enhancement New feature or request

Comments

@julianneswinoga
Copy link
Member

When uploading, the status logs all show as errors:
avrdude_errors

Perhaps we could do some heuristics on these logs and specially redirect them as INFO?

avrdude has a flag to redirect output to a file instead of stderr: https://manpages.ubuntu.com/manpages/bionic/man1/avrdude.1.html
Perhaps we could output to a temp file and then monitor?

PIO has the ability to pass flags to the uploader: https://docs.platformio.org/en/latest/projectconf/sections/env/options/upload/upload_flags.html so we wouldn't need to modify the .ini project file

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

Successfully merging a pull request may close this issue.

1 participant