-
Notifications
You must be signed in to change notification settings - Fork 13.3k
2.5.0: Issues with Arduino API #5749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
There are other networking libraries used with esp8266, not only the native WiFi or bundled Ethernet library (why is it there?). If you change the virtual functions of the Arduino networking base classes Client, Server, UDP the libraries don't compile. Function To Ethernet library: The official Arduino Ethernet library was upgraded last year to 2.0.0 by Paul Stoffregen to support Wiznet 5200 and 5500. He tested it with esp8266. The Ethernet library bundled in esp8266 core package supports only W5100. |
It will be addressed for next release 2.5.1 |
FWIW, there was an unresolved problem with DNS lookups by the Ethernet lib. Only ESP8266 has this problem. The exact same code ran perfectly on all other boards, including ESP32. I never did a deeper investigation into why that failed on ESP8266. Maybe someday.... If anyone cares about Wiznet-based Ethernet on ESP8266, please test some of the library's examples which use a text-based hostname rather than only IP numbers. |
@PaulStoffregen, I tested it now and both examples with DNS work with esp8266 core 2.4.2 (hw: Wemos D1 mini clone with WIZ850io) @d-a-v, I think the bundled Ethernet library should be removed from esp8266 arduino boards package |
That can be done after #5969 is merged. |
bundle only architecture specific libraries. for the Ethernet library the SPI library does the abstraction |
Did you need to make changes to the new Ethernet library ? I had to (arduino-libraries/Ethernet#96).
#5997 removes old ethernet library and replace it with a submodule. Would you be able to test it ? I currently can't make it pointing to Ethernet repo so I made a fork. It would be far better to point to master when the Ethernet PR is merged, especially for release 2.5.1 (or I'd need to keep this fork forever on my repo). |
I was on 2.4.2 |
5c4db3a#commitcomment-32254962
83a8076#commitcomment-32254941
@JAndrassy Can you please give more details ?
Also If your sketch does not compile and returns error needs to be addressed.
The text was updated successfully, but these errors were encountered: