How To Install Using Arduino Library Manager
This Ethernet_Generic Library is a port and modification to merge, as many as possible, the features of the following libraries
- Ethernet Library
- EthernetLarge Library
- Ethernet2 Library
- Ethernet3 Library
for AVR, Portenta_H7, Teensy, SAM DUE, Arduino SAMD21, Adafruit SAMD21/SAMD51, Adafruit nRF52, ESP32/ESP8266, STM32, RP2040-based, etc. boards using Ethernet W5x00 shields.
The h-only library now supports SPI2, most of EthernetLarge, Ethernet2 and Ethernet3 features by simply changing definitions in the sketch.
Releases v2.0.0
1. Initial porting and coding to merge, as many as possible, the features of the following libraries :
- Ethernet Library
- EthernetLarge Library
- Ethernet2 Library
- Ethernet3 Library
2. Add support to ESP32 SPI2
3. Convert to h-only library
4. Add debug feature
5. Optimize code to reduce compiled binary size
6. Add Packages' Patches
Debug Terminal Output Sample
This is terminal debug output when running WebClientRepeating on STM32F7 NUCLEO_F767ZI with W5500 using Ethernet_Generic Library.
Code: Select all
Starting WebClientRepeating on NUCLEO_F767ZI with W5x00 using Ethernet_Generic Library
Ethernet_Generic v2.0.0
=========================
Currently Used SPI pinout:
MOSI:11
MISO:12
SCK:13
SS:10
=========================
Using mac index = 5
Connected! IP address: 192.168.2.94
Speed: 100 MB, Duplex: FULL DUPLEX, Link status: LINK
Connecting...
HTTP/1.1 200 OK
Server: nginx/1.4.2
Date: Fri, 01 Apr 2022 19:11:53 GMT
Content-Type: text/plain
Content-Length: 2317
Last-Modified: Thu, 24 Feb 2022 11:33:32 GMT
Connection: close
Vary: Accept-Encoding
ETag: "62176d0c-90d"
Accept-Ranges: bytes
Please use http://arduino.tips/asciilogo.txt via HTTP
`:;;;,` .:;;:.
.;;;;;;;;;;;` :;;;;;;;;;;: TM
`;;;;;;;;;;;;;;;` :;;;;;;;;;;;;;;;
:;;;;;;;;;;;;;;;;;; `;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;; .;;;;;;;;;;;;;;;;;;;;
;;;;;;;;:` `;;;;;;;;; ,;;;;;;;;.` .;;;;;;;;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