OTA at build time

Is it possible to send a fresh build directly to an ESP32—dev board from PlatformIO?
I noticed this:


board = d1_mini

upload_protocol = espota

exchange for your WLED IP

upload_port = “”

But, I am not using that particular ESP (d1-mini) any longer. Can this line be added into the other boards sections in the platformio.ini file? It’s not an issue, but would speed testing by eliminating the serial USB cable.

Thank you.

just change the IP address

OK I will. I am cautious about changing things in a complex system, but I guess it won’t hurt if I use a copy from GitHub.

It is best to create platformio_override.ini with custom setups though.

Yes, that’s what I will do.