PaulStoffregen / Ethernet

Ethernet library for Teensy (Wiznet W5100 / W5200 / W5500)
http://www.pjrc.com/teensy/td_libs_Ethernet.html
130 stars 83 forks source link

Add support for Teensy 4.0 #38

Closed rjongeneelen closed 4 years ago

rjongeneelen commented 4 years ago

The latest version of Ethernet works well with a W5500 on my Teensy 3.6, but not at all with the same W5500 on my Teensy 4.0 (hardware not supported error).

Within this pull request, I've added support for Teensy 4.0 by addingIMXRT1062 specific implementations for initSS / setSS / resetSS.

After these additions, I was able to run the WebClient example with DHCP on my Teensy 4.0 without any problems.