platformio / platform-espressif8266

Espressif 8266: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/espressif8266
Apache License 2.0
332 stars 219 forks source link

Branch for espota if port resolved #97

Closed dvv closed 6 years ago

dvv commented 6 years ago

ESP_0CE07E is perfectly valid host name in intranet but when uploading it is treated as serial port. Proposed is to try explicitly network-resolve provided port. If this is not welcome, I believe it's easier and more robust to compose regexp for known serial ports, or use serial port list fetched from system (util.get_serial_ports()?)

ivankravets commented 6 years ago

I like this approach which you provided. Let's test it in production. If people will complain, we modify it to util.get_serial_ports()

ivankravets commented 6 years ago

Thanks! ;)

dvv commented 6 years ago

\o/

maxgerhardt commented 5 years ago

@ivankravets

If people will complain, we modify it to util.get_serial_ports()

First failure was reported in the forum, see https://github.com/platformio/platform-espressif8266/issues/134

ivankravets commented 5 years ago

Resolved in https://github.com/platformio/platform-espressif8266/releases/tag/v2.0.2

See updated docs https://docs.platformio.org/en/latest/platforms/espressif8266.html#over-the-air-ota-update