A minor plug, if you're doing ESP8266/ESP32 development, you can use the following code snippet and server I wrote to do automatic, secure updates over pinned HTTPS:<p><a href="https://www.pastery.net/vmympk/" rel="nofollow">https://www.pastery.net/vmympk/</a><p>This is the server, a single binary (written in Rust):<p><a href="https://gitlab.com/stavros/espota-server" rel="nofollow">https://gitlab.com/stavros/espota-server</a><p>The device will connect to the server (whenever you call doHttpUpdate(), I usually do it on startup), ask for a new version, get the latest version, flash itself with it and then boot.<p>Very handy, as it's faster than USB/UART, and you don't have to disconnect from the serial console to use it.