-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
pio_example #20
Comments
hi, either use an earlier version of this library, or use a more recent version of framework-arduinoespressif32 (3.x.x or upper) |
That is the point. Looks like there is no way to use 2.0.1 with platformio. |
have you tried with pioarduino? unlike the official espressif core from platformio, this one is maintained and up to date 😉 |
Tried the sample in pioarduino with actual versions of library and platform libraries. Changed while in setup() to: while( !eth_connected) {
Serial.print(".");
Serial.println(ETH.localIP());
Serial.println(ETH.gatewayIP());
Serial.println(ETH.dnsIP());
IPAddress local = ETH.localIP();
if (!local.toString().equals("0.0.0.0")){
eth_connected = true;
}
delay( 1000 );
} and noticed, that it's finally get parameters over DHCP and since that any network related code works. |
good news, and thanks for sharing the solution 👍 can you share the platformio.ini too? possible explanation for the WiFi Events not being fired: Ethernet doesn't use WiFi Events anymore with espressif core 3.x.x, they switched to Network Events instead. |
My current platformio.ini
|
Can't provide PR right now, but since I got it working, so ready to post my solution:
|
Hi. Can't compile sample from pio_example folder:
The text was updated successfully, but these errors were encountered: