Open eg321 opened 4 years ago
esp8266 Arduino boards package has old version of Ethernet library.
Hm... I'm using latest Platformio's ESP8266 2.6.2 platform. It's based on Arduino core 2.7.4 as I can see. Is it Platformio specific issue?
Hm... I'm using latest Platformio's ESP8266 2.6.2 platform. It's based on Arduino core 2.7.4 as I can see. Is it Platformio specific issue?
I don't know how platformio bends arduino packages and libraries.
Hm... I'm using latest Platformio's ESP8266 2.6.2 platform. It's based on Arduino core 2.7.4 as I can see. Is it Platformio specific issue?
I don't know how platformio bends arduino packages and libraries.
It looks like Ethernet library was not released after https://github.com/arduino-libraries/Ethernet/commit/0d5019a412857e6b221dd45c2c93633c7b62b276#diff-1d2d2b6cbd22874ff55b7362b0babf39 fix.
It was commited at 20 Apr 2019, but Ethernet library latest release is v2.0 - 26 Jul 2018. So, latest release is not compatible with ESP8266 now.
Can you include the fix above into release please?
@PaulStoffregen it seems you have enough privileges. Can you assist with that please?
Hm... I'm using latest Platformio's ESP8266 2.6.2 platform. It's based on Arduino core 2.7.4 as I can see. Is it Platformio specific issue?
I don't know how platformio bends arduino packages and libraries.
It looks like Ethernet library was not released after 0d5019a#diff-1d2d2b6cbd22874ff55b7362b0babf39 fix.
It was commited at 20 Apr 2019, but Ethernet library latest release is v2.0 - 26 Jul 2018. So, latest release is not compatible with ESP8266 now.
Can you include the fix above into release please?
the esp8266 arduino has (will have) this library in package libraries as subproject
the esp8266 arduino has (will have) this library in package libraries as subproject
Can you provide some link / issue for reference please? ETA is very appreciated.
the esp8266 arduino has (will have) this library in package libraries as subproject
Can you provide some link / issue for reference please? ETA is very appreciated.
it is already in the GitHub repository of the esp8266 arduino, but the next release from the master branch will be the 3.00 and it will not be ready soon. btw the 3.00 will have 'native' support for W5500 (and enc28j60). it will be a network interface like the STA or SoftAP, so it will be used with WiFiClient, WiFiServer, WiFiUdp, ESP8266WebServer, OTA ...
until then you can download the zip of this repo and install it as library. and don't forget to delete the Ethernet library bundled with the esp8266 boards package
Hi,
There are compilation errors at ESP8266 with statically defined IP:
It's quite strange, because "_address" field was removed almost 2 years ago from "IPAddress" class: https://github.com/esp8266/Arduino/commit/5c4db3acf4353870b6a5663ba06d712d67e6c179#diff-8443440f4d240d2a531dfedcec06baaa
So, dirty fix is quite easy:
but maybe we should think about ipv6 here also...