Closed julianneswinoga closed 1 year ago
When uploading, the status logs all show as 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?
avrdude
stderr
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
.ini
When uploading, the status logs all show as 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 ofstderr
: 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