RESOLVED: Arduino-cli upload issue "panic: send on closed channel" with ESP32

@robmeades we tried a fix, could you try the build from this PR?