Closed ernestum closed 5 months ago
Hi @ernestum, does it work as expected in Arduino IDE?
People have reported NativeEthernet is broken in Arduino IDE with the latest versions (since we updated to the gcc 11 toolchain).
QNEthernet is the preferred library now.
Closing as not related to PlatformIO. As a workaround just downgrade your platform version to the last known working one, for example:
[env:teensy41]
platform = teensy @ ~4.17.0
framework = arduino
board = teensy41
Thanks valuable info! Would have been valuable to have this in the release notes @PaulStoffregen
Nobody new (or at least I didn't know) when the release notes were written.
Very likely we'll delete NativeEthernet and FNET from the next release, and bundle QNEthernet instead. That would certainly be in the next version's release notes.
I see. That will make it clear at last! Thanks for the quick replies and the great work!
After long hours I found out that native ethernet breaks between the above mentioned releases. Probably it is an upstream issue, probably it is related to #108
I use the following code to test it.
With the ethernet shield attached to the teensy and my computer in the same network I test the ethernet connection using
With anything above v4.17 it works the first time (if at all) and the second time wget fails to connect.