Closed
Description
- [x ] This issue complies with the issue POLICY doc.
- [ x] I have read the documentation at readthedocs and the issue is not addressed there.
- [x ] I have tested that the issue is present in current master branch (aka latest git).
- x[ ] I have searched the issue tracker for a similar issue.
- If there is a stack dump, I have decoded it.
- I have filled out all fields below.
Platform
- Hardware: ESP-12
- Core Version: [latest git ]
- Development Env: [Arduino IDE]
- Operating System: [Windows]
Settings in IDE
- Module: [Generic ESP8266 ]
- Flash Mode: [dio]
- Flash Size: [4MB]
- lwip Variant: [v2 Lower Memory]
- Reset Method: [nodemcu]
- Flash Frequency: [40Mhz]
- CPU Frequency: [160MHz]
- Upload Using: [OTA]
- Upload Speed: [115200|]
Problem Description
OTA description is incomplete - variant is missing in description in Arduino OTA menu unlike for ESP32
it is due to property board which should contain the variant name, but ESP8266 put another string
string is put here (thanks @tobozo to find out)
https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266mDNS/src/LEAmDNS.cpp#L1278
and also https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266mDNS/src/LEAmDNS2Host.cpp#L792
So arduino IDE cannot match the variant with one present in board.txt
if I hardcode "generic" for the variant on board property - the result is correct