Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit 17de493

Browse files
authored
v2.8.0 to add support to W6100
### Releases v2.8.0 1. Add preliminary support to `WIZNet W6100` using IPv4. IPv6 will be supported in the future.
1 parent 236ad79 commit 17de493

23 files changed

+972
-236
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p
1515
Please ensure to specify the following:
1616

1717
* Arduino IDE version (e.g. 1.8.19) or Platform.io version
18-
* Board Core Version (e.g. Arduino SAMDUE core v1.6.12, ESP32 core v2.0.5, ESP8266 core v3.0.2, ArduinoCore-mbed v3.4.1, etc.)
18+
* Board Core Version (e.g. Arduino SAMDUE core v1.6.12, ESP32 core v2.0.6, ESP8266 core v3.0.2, ArduinoCore-mbed v3.4.1, etc.)
1919
* Contextual information (e.g. what you were trying to achieve)
2020
* Simplest possible steps to reproduce
2121
* Anything that might be relevant in your opinion, such as:
2222
* Operating system (Windows, Ubuntu, etc.) and the output of `uname -a`
2323
* Network configuration
2424

25+
Please be educated, civilized and constructive. Disrespective posts against [GitHub Code of Conduct](https://docs.github.com/en/site-policy/github-terms/github-event-code-of-conduct) will be ignored and deleted.
2526

2627
### Example
2728

@@ -30,7 +31,7 @@ Arduino IDE version: 1.8.19
3031
RASPBERRY_PI_PICO board
3132
ArduinoCore-mbed v3.4.1
3233
OS: Ubuntu 20.04 LTS
33-
Linux xy-Inspiron-3593 5.15.0-52-generic #58~20.04.1-Ubuntu SMP Thu Oct 13 13:09:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
34+
Linux xy-Inspiron-3593 5.15.0-56-generic #62~20.04.1-Ubuntu SMP Tue Nov 22 21:24:20 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
3435
3536
Context:
3637
I encountered a crash while trying to use the library
@@ -70,3 +71,4 @@ xy@xy-Inspiron-3593:~/Arduino/xy/Ethernet_Generic_GitHub$
7071
```
7172
xy@xy-Inspiron-3593:~/Arduino/xy/Ethernet_Generic_GitHub$ bash utils/restyle.sh
7273
```
74+

README.md

Lines changed: 43 additions & 34 deletions
Large diffs are not rendered by default.

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717

1818
* [Changelog](#changelog)
19+
* [Releases v2.8.0](#releases-v280)
1920
* [Releases v2.7.1](#releases-v271)
2021
* [Releases v2.7.0](#releases-v270)
2122
* [Releases v2.6.2](#releases-v262)
@@ -38,6 +39,10 @@
3839

3940
## Changelog
4041

42+
### Releases v2.8.0
43+
44+
1. Add preliminary support to `WIZNet W6100` using IPv4. IPv6 will be supported in the future.
45+
4146
### Releases v2.7.1
4247

4348
1. Auto-detect `W5x00` and settings (`ETHERNET_LARGE_BUFFERS`, `MAX_SOCK_NUM`) to set `MAX_SIZE` to send. Check ['ETHERNET_SERVER_SEND_MAX_SIZE' was not declared in this scope #16](https://github.com/khoih-prog/Ethernet_Generic/issues/16)

keywords.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ EthernetNoHardware LITERAL1
244244
EthernetW5100 LITERAL1
245245
EthernetW5200 LITERAL1
246246
EthernetW5500 LITERAL1
247+
EthernetW6100 LITERAL1
247248

248249
##########################
249250
# General
@@ -257,4 +258,6 @@ SPI_NEW_INITIALIZED LITERAL1
257258

258259
USE_W5100 LITERAL1
259260

261+
USING_W6100 LITERAL1
262+
260263

library.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Ethernet_Generic",
3-
"version": "2.7.1",
4-
"keywords": "WebServer, Ethernet, SPI2, Teensy, SAMD, STM32, SAM DUE, nRF52, ESP32, ESP8266, rpi-pico, rp2040, W5x00, W5500, LAN, Wiznet, WIZ550io, WIZ850io, USR-ES1",
3+
"version": "2.8.0",
4+
"keywords": "WebServer, Ethernet, SPI2, Teensy, SAMD, STM32, SAM DUE, nRF52, ESP32, ESP8266, rpi-pico, rp2040, W5x00, W5500, W5100s, W6100, LAN, Wiznet, WIZ550io, WIZ850io, USR-ES1",
55
"description": "Simple Ethernet library for AVR, AVR Dx, Portenta_H7, Teensy, SAM DUE, SAMD21, SAMD51, STM32F/L/H/G/WB/MP1, nRF52 and RASPBERRY_PI_PICO boards using Ethernet shields W5100, W5200, W5500, W5100S. With this library, you can use the Arduino Ethernet (shield or board) to connect to Internet. The library provides both Client and server functionalities. The library permits you to connect to a local network also with DHCP and to resolve DNS. The h-only library now supporting SPI1/SPI2, EthernetLarge, Ethernet2 and Ethernet3 features by simply changing definitions in the sketch. RASPBERRY_PI_PICO using arduino-pico core now can use SPI1. Now STM32, Arduino_mbed boards can use any custom hardware / software SPI and with fix of severe limitation to permit sending much larger data than total 2/4/8/16K buffer",
66
"authors": [
77
{

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Ethernet_Generic
2-
version=2.7.1
2+
version=2.8.0
33
author=Various (see AUTHORS file for details)
44
maintainer=Khoi Hoang <khoih.prog@gmail.com>
55
sentence=Simple Ethernet library for AVR, AVR Dx, Portenta_H7, Teensy, SAM DUE, SAMD21, SAMD51, STM32F/L/H/G/WB/MP1, nRF52 and RASPBERRY_PI_PICO boards using Ethernet shields W5100, W5200, W5500, W5100S

src/Dhcp.h

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,18 @@
1313
1414
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer
1515
16-
Version: 2.7.1
16+
Version: 2.8.0
1717
1818
Version Modified By Date Comments
1919
------- ----------- ---------- -----------
2020
2.0.0 K Hoang 31/03/2022 Initial porting and coding to support SPI2, debug, h-only library
21-
2.0.1 K Hoang 08/04/2022 Add support to SPI1 for RP2040 using arduino-pico core
22-
2.1.0 K Hoang 22/04/2022 Add support to WIZNet W5100S
23-
2.2.0 K Hoang 02/05/2022 Add support to custom SPI for any board, such as STM32
24-
2.3.0 K Hoang 03/05/2022 Add support to custom SPI for RP2040, Portenta_H7, etc. using Arduino-mbed core
25-
2.3.1 K Hoang 21/05/2022 Add setHostname() and related functions
26-
2.4.0 K Hoang 31/07/2022 Using raw_address() as default instead of private IPAddress data
27-
2.4.1 K Hoang 25/08/2022 Auto-select SPI SS/CS pin according to board package
28-
2.5.0 K Hoang 26/08/2022 Using raw_address() as default only for arduino-pico for compatibility
29-
2.5.1 K Hoang 01/09/2022 Slow SPI clock for old W5100 shield using SAMD Zero
30-
2.5.2 K Hoang 06/09/2022 Slow SPI clock only when necessary. Improve support for SAMD21
21+
...
3122
2.6.0 K Hoang 11/09/2022 Add support to AVR Dx (AVR128Dx, AVR64Dx, AVR32Dx, etc.) using DxCore
3223
2.6.1 K Hoang 23/09/2022 Fix bug for W5200
3324
2.6.2 K Hoang 26/10/2022 Add support to Seeed XIAO_NRF52840 and XIAO_NRF52840_SENSE using `mbed` or `nRF52` core
3425
2.7.0 K Hoang 14/11/2022 Fix severe limitation to permit sending larger data than 2/4/8/16K buffer
3526
2.7.1 K Hoang 15/11/2022 Auto-detect W5x00 and settings to set MAX_SIZE to send
27+
2.8.0 K Hoang 27/12/2022 Add support to W6100 using IPv4
3628
*****************************************************************************************************************************/
3729

3830
// DHCP Library v0.3 - April 25, 2009

src/Dhcp_Impl.h

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,26 +32,18 @@
3232
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
3333
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3434
35-
Version: 2.7.1
35+
Version: 2.8.0
3636
3737
Version Modified By Date Comments
3838
------- ----------- ---------- -----------
3939
2.0.0 K Hoang 31/03/2022 Initial porting and coding to support SPI2, debug, h-only library
40-
2.0.1 K Hoang 08/04/2022 Add support to SPI1 for RP2040 using arduino-pico core
41-
2.1.0 K Hoang 22/04/2022 Add support to WIZNet W5100S
42-
2.2.0 K Hoang 02/05/2022 Add support to custom SPI for any board, such as STM32
43-
2.3.0 K Hoang 03/05/2022 Add support to custom SPI for RP2040, Portenta_H7, etc. using Arduino-mbed core
44-
2.3.1 K Hoang 21/05/2022 Add setHostname() and related functions
45-
2.4.0 K Hoang 31/07/2022 Using raw_address() as default instead of private IPAddress data
46-
2.4.1 K Hoang 25/08/2022 Auto-select SPI SS/CS pin according to board package
47-
2.5.0 K Hoang 26/08/2022 Using raw_address() as default only for arduino-pico for compatibility
48-
2.5.1 K Hoang 01/09/2022 Slow SPI clock for old W5100 shield using SAMD Zero
49-
2.5.2 K Hoang 06/09/2022 Slow SPI clock only when necessary. Improve support for SAMD21
40+
...
5041
2.6.0 K Hoang 11/09/2022 Add support to AVR Dx (AVR128Dx, AVR64Dx, AVR32Dx, etc.) using DxCore
5142
2.6.1 K Hoang 23/09/2022 Fix bug for W5200
5243
2.6.2 K Hoang 26/10/2022 Add support to Seeed XIAO_NRF52840 and XIAO_NRF52840_SENSE using `mbed` or `nRF52` core
5344
2.7.0 K Hoang 14/11/2022 Fix severe limitation to permit sending larger data than 2/4/8/16K buffer
5445
2.7.1 K Hoang 15/11/2022 Auto-detect W5x00 and settings to set MAX_SIZE to send
46+
2.8.0 K Hoang 27/12/2022 Add support to W6100 using IPv4
5547
*****************************************************************************************************************************/
5648

5749
// DHCP Library v0.3 - April 25, 2009

src/Dns.h

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,18 @@
1313
1414
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer
1515
16-
Version: 2.7.1
16+
Version: 2.8.0
1717
1818
Version Modified By Date Comments
1919
------- ----------- ---------- -----------
2020
2.0.0 K Hoang 31/03/2022 Initial porting and coding to support SPI2, debug, h-only library
21-
2.0.1 K Hoang 08/04/2022 Add support to SPI1 for RP2040 using arduino-pico core
22-
2.1.0 K Hoang 22/04/2022 Add support to WIZNet W5100S
23-
2.2.0 K Hoang 02/05/2022 Add support to custom SPI for any board, such as STM32
24-
2.3.0 K Hoang 03/05/2022 Add support to custom SPI for RP2040, Portenta_H7, etc. using Arduino-mbed core
25-
2.3.1 K Hoang 21/05/2022 Add setHostname() and related functions
26-
2.4.0 K Hoang 31/07/2022 Using raw_address() as default instead of private IPAddress data
27-
2.4.1 K Hoang 25/08/2022 Auto-select SPI SS/CS pin according to board package
28-
2.5.0 K Hoang 26/08/2022 Using raw_address() as default only for arduino-pico for compatibility
29-
2.5.1 K Hoang 01/09/2022 Slow SPI clock for old W5100 shield using SAMD Zero
30-
2.5.2 K Hoang 06/09/2022 Slow SPI clock only when necessary. Improve support for SAMD21
21+
...
3122
2.6.0 K Hoang 11/09/2022 Add support to AVR Dx (AVR128Dx, AVR64Dx, AVR32Dx, etc.) using DxCore
3223
2.6.1 K Hoang 23/09/2022 Fix bug for W5200
3324
2.6.2 K Hoang 26/10/2022 Add support to Seeed XIAO_NRF52840 and XIAO_NRF52840_SENSE using `mbed` or `nRF52` core
3425
2.7.0 K Hoang 14/11/2022 Fix severe limitation to permit sending larger data than 2/4/8/16K buffer
3526
2.7.1 K Hoang 15/11/2022 Auto-detect W5x00 and settings to set MAX_SIZE to send
27+
2.8.0 K Hoang 27/12/2022 Add support to W6100 using IPv4
3628
*****************************************************************************************************************************/
3729

3830
// Arduino DNS client for WizNet5100-based Ethernet shield

src/Dns_Impl.h

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,26 +32,18 @@
3232
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
3333
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3434
35-
Version: 2.7.1
35+
Version: 2.8.0
3636
3737
Version Modified By Date Comments
3838
------- ----------- ---------- -----------
3939
2.0.0 K Hoang 31/03/2022 Initial porting and coding to support SPI2, debug, h-only library
40-
2.0.1 K Hoang 08/04/2022 Add support to SPI1 for RP2040 using arduino-pico core
41-
2.1.0 K Hoang 22/04/2022 Add support to WIZNet W5100S
42-
2.2.0 K Hoang 02/05/2022 Add support to custom SPI for any board, such as STM32
43-
2.3.0 K Hoang 03/05/2022 Add support to custom SPI for RP2040, Portenta_H7, etc. using Arduino-mbed core
44-
2.3.1 K Hoang 21/05/2022 Add setHostname() and related functions
45-
2.4.0 K Hoang 31/07/2022 Using raw_address() as default instead of private IPAddress data
46-
2.4.1 K Hoang 25/08/2022 Auto-select SPI SS/CS pin according to board package
47-
2.5.0 K Hoang 26/08/2022 Using raw_address() as default only for arduino-pico for compatibility
48-
2.5.1 K Hoang 01/09/2022 Slow SPI clock for old W5100 shield using SAMD Zero
49-
2.5.2 K Hoang 06/09/2022 Slow SPI clock only when necessary. Improve support for SAMD21
40+
...
5041
2.6.0 K Hoang 11/09/2022 Add support to AVR Dx (AVR128Dx, AVR64Dx, AVR32Dx, etc.) using DxCore
5142
2.6.1 K Hoang 23/09/2022 Fix bug for W5200
5243
2.6.2 K Hoang 26/10/2022 Add support to Seeed XIAO_NRF52840 and XIAO_NRF52840_SENSE using `mbed` or `nRF52` core
5344
2.7.0 K Hoang 14/11/2022 Fix severe limitation to permit sending larger data than 2/4/8/16K buffer
5445
2.7.1 K Hoang 15/11/2022 Auto-detect W5x00 and settings to set MAX_SIZE to send
46+
2.8.0 K Hoang 27/12/2022 Add support to W6100 using IPv4
5547
*****************************************************************************************************************************/
5648
// Arduino DNS client for WizNet5100-based Ethernet shield
5749
// (c) Copyright 2009-2010 MCQN Ltd.

0 commit comments

Comments
 (0)