OpenAstroTech / OATFWGUI

OpenAstroTech FirmWare Graphical User Interface
http://openastrotech.com/
8 stars 0 forks source link

AVR PIO upload is logged as errors #11

Closed julianneswinoga closed 1 year ago

julianneswinoga commented 1 year ago

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