Hello all! I’m struggling to understand if it is at all possible to have separate (and selectable) build tasks for a different upload_protocol.
To be specific, I’m developing against an ESP board and I upload my firmware via OTA. Invariably, when I hopelessly break things and the OTA loop hasn’t had a chance to run, I need to revert back to the serial flashing, which means, modifying platformio.ini, uploading the changes and switching back to OTA.
Is it possible to have two separate tasks, one for OTA upload and one for Serial?
Thanks!