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

Commit 9b53514

Browse files
authored
v2.4.0 for ESP32 core v2.0.6
### Releases v2.4.0 1. Fix compile errors for new ESP32 core `v2.0.6`
1 parent 424ebac commit 9b53514

23 files changed

+57
-157
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,25 @@ 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

2525

26+
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.
27+
28+
2629
### Example
2730

2831
```
2932
Arduino IDE version: 1.8.19
3033
RASPBERRY_PI_PICO board
3134
ArduinoCore-mbed v3.4.1
3235
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
36+
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
3437
3538
Context:
3639
I encountered a crash while trying to use the library

changelog.md

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

1818

1919
* [Changelog](#changelog)
20+
* [Releases v2.4.0](#releases-v240)
2021
* [Releases v2.3.0](#releases-v230)
2122
* [Releases v2.2.4](#releases-v224)
2223
* [Releases v2.2.3](#releases-v223)
@@ -63,6 +64,10 @@
6364

6465
## Changelog
6566

67+
### Releases v2.4.0
68+
69+
1. Fix compile errors for new ESP32 core `v2.0.6`
70+
6671
### Releases v2.3.0
6772

6873
1. Add new features, such as `CORS`, etc.

library.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "EthernetWebServer",
3-
"version": "2.3.0",
3+
"version": "2.4.0",
44
"keywords": "WebServer, Ethernet, Ethernet2, Ethernet3, EthernetLarge, EthernetENC, UIPEthernet, NativeEthernet, QNEthernet, Portenta-H7, Teensy, SAMD21, SAMD51, SAM DUE, nRF52, ESP32, ESP8266, rpi-pico, rp2040, W5x00, W5500, ENC28J60, HTTP-Client, WebSocket-Client, server, client, websocket, LittleFS, SPIFFS, Arduino, Mega, AVR, AVR-Dx",
55
"description": "Simple Ethernet WebServer, HTTP Client and WebSocket Client library for AVR, AVR Dx, Portenta_H7, Teensy, SAM DUE, SAMD21, SAMD51, ESP, nRF52, ESP32, ESP8266 and RASPBERRY_PI_PICO boards using Ethernet shields W5100, W5200, W5500, ENC28J60 or Teensy 4.1 NativeEthernet/QNEthernet. The WebServer supports HTTP GET and POST requests, provides argument parsing, handles one client at a time. It now provides HTTP Client and WebSocket Client. It supports Arduino boards (Atmel AVR-s, AVR-Dx, SAM DUE, Atmel SAM3X8E ARM Cortex-M3, SAMD21, SAMD51, ESP8266, ESP32, Adafruit nRF52, Teensy boards, Realtek Ameba(RTL8195A,RTL8710)) using Wiznet W5x00 or ENC28J60 network shields. It now supports WebServer serving from LittleFS/SPIFFS for ESP8266/ESP32. Ethernet_Generic library is used as default for W5x00 with custom SPI.",
66
"authors":
@@ -32,12 +32,12 @@
3232
{
3333
"owner": "khoih-prog",
3434
"name": "Ethernet_Generic",
35-
"version": "^2.7.0"
35+
"version": "^2.7.1"
3636
},
3737
{
3838
"owner": "ssilverman",
3939
"name": "QNEthernet",
40-
"version": ">=0.16.0",
40+
"version": ">=0.17.0",
4141
"platforms": ["teensy"]
4242
}
4343
],

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=EthernetWebServer
2-
version=2.3.0
2+
version=2.4.0
33
author=Khoi Hoang
44
license=MIT
55
maintainer=Khoi Hoang <khoih.prog@gmail.com>

platformio/platformio.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,17 @@ lib_ldf_mode = chain+
4949
lib_deps =
5050
; PlatformIO 4.x
5151
; Functional-Vlpp@~1.0.2
52-
; Ethernet_Generic@>=2.7.0
52+
; Ethernet_Generic@>=2.7.1
5353
; EthernetENC@~2.0.3
5454
; UIPEthernet@~2.0.12
55-
; QNEthernet@>=0.16.0
55+
; QNEthernet@>=0.17.0
5656

5757
; PlatformIO 5.x
5858
khoih-prog/Functional-Vlpp@~1.0.2
59-
khoih-prog/Ethernet_Generic@~2.7.0
59+
khoih-prog/Ethernet_Generic@~2.7.1
6060
jandrassy/EthernetENC@~2.0.3
6161
uipethernet/UIPEthernet@~2.0.12
62-
ssilverman/QNEthernet@>=0.16.0
62+
ssilverman/QNEthernet@>=0.17.0
6363

6464
build_flags =
6565
; set your debug output (default=Serial)

src/EthernetHttpClient.h

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,19 @@
1212
@file Esp8266WebServer.h
1313
@author Ivan Grokhotkov
1414
15-
Version: 2.3.0
15+
Version: 2.4.0
1616
1717
Version Modified By Date Comments
1818
------- ----------- ---------- -----------
1919
1.0.0 K Hoang 13/02/2020 Initial coding for Arduino Mega, Teensy, etc to support Ethernetx libraries
2020
...
21-
2.0.0 K Hoang 16/01/2022 To coexist with ESP32 WebServer and ESP8266 ESP8266WebServer
22-
2.0.1 K Hoang 02/03/2022 Fix decoding error bug
23-
2.0.2 K Hoang 14/03/2022 Fix bug when using QNEthernet staticIP. Add staticIP option to NativeEthernet
24-
2.1.0 K Hoang 03/04/2022 Use Ethernet_Generic library as default. Support SPI2 for ESP32
25-
2.1.1 K Hoang 04/04/2022 Fix compiler error for Portenta_H7 using Portenta Ethernet
26-
2.1.2 K Hoang 08/04/2022 Add support to SPI1 for RP2040 using arduino-pico core
27-
2.1.3 K Hoang 27/04/2022 Change from `arduino.cc` to `arduino.tips` in examples
2821
2.2.0 K Hoang 05/05/2022 Add support to custom SPI for Teensy, Mbed RP2040, Portenta_H7, etc.
2922
2.2.1 K Hoang 25/08/2022 Auto-select SPI SS/CS pin according to board package
3023
2.2.2 K Hoang 06/09/2022 Slow SPI clock for old W5100 shield or SAMD Zero. Improve support for SAMD21
3124
2.2.3 K Hoang 17/09/2022 Add support to AVR Dx (AVR128Dx, AVR64Dx, AVR32Dx, etc.) using DxCore
3225
2.2.4 K Hoang 26/10/2022 Add support to Seeed XIAO_NRF52840 and XIAO_NRF52840_SENSE using `mbed` or `nRF52` core
3326
2.3.0 K Hoang 15/11/2022 Add new features, such as CORS. Update code and examples to send big data
27+
2.4.0 K Hoang 22/12/2022 Fix compile errors for new ESP32 core v2.0.6
3428
*************************************************************************************************************************************/
3529

3630
// Library to simplify HTTP fetching on Arduino

src/EthernetWebServer-impl.h

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,19 @@
1212
@file Esp8266WebServer.h
1313
@author Ivan Grokhotkov
1414
15-
Version: 2.3.0
15+
Version: 2.4.0
1616
1717
Version Modified By Date Comments
1818
------- ----------- ---------- -----------
1919
1.0.0 K Hoang 13/02/2020 Initial coding for Arduino Mega, Teensy, etc to support Ethernetx libraries
2020
...
21-
2.0.0 K Hoang 16/01/2022 To coexist with ESP32 WebServer and ESP8266 ESP8266WebServer
22-
2.0.1 K Hoang 02/03/2022 Fix decoding error bug
23-
2.0.2 K Hoang 14/03/2022 Fix bug when using QNEthernet staticIP. Add staticIP option to NativeEthernet
24-
2.1.0 K Hoang 03/04/2022 Use Ethernet_Generic library as default. Support SPI2 for ESP32
25-
2.1.1 K Hoang 04/04/2022 Fix compiler error for Portenta_H7 using Portenta Ethernet
26-
2.1.2 K Hoang 08/04/2022 Add support to SPI1 for RP2040 using arduino-pico core
27-
2.1.3 K Hoang 27/04/2022 Change from `arduino.cc` to `arduino.tips` in examples
2821
2.2.0 K Hoang 05/05/2022 Add support to custom SPI for Teensy, Mbed RP2040, Portenta_H7, etc.
2922
2.2.1 K Hoang 25/08/2022 Auto-select SPI SS/CS pin according to board package
3023
2.2.2 K Hoang 06/09/2022 Slow SPI clock for old W5100 shield or SAMD Zero. Improve support for SAMD21
3124
2.2.3 K Hoang 17/09/2022 Add support to AVR Dx (AVR128Dx, AVR64Dx, AVR32Dx, etc.) using DxCore
3225
2.2.4 K Hoang 26/10/2022 Add support to Seeed XIAO_NRF52840 and XIAO_NRF52840_SENSE using `mbed` or `nRF52` core
3326
2.3.0 K Hoang 15/11/2022 Add new features, such as CORS. Update code and examples to send big data
27+
2.4.0 K Hoang 22/12/2022 Fix compile errors for new ESP32 core v2.0.6
3428
*************************************************************************************************************************************/
3529

3630
#pragma once

src/EthernetWebServer.h

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,19 @@
1212
@file Esp8266WebServer.h
1313
@author Ivan Grokhotkov
1414
15-
Version: 2.3.0
15+
Version: 2.4.0
1616
1717
Version Modified By Date Comments
1818
------- ----------- ---------- -----------
1919
1.0.0 K Hoang 13/02/2020 Initial coding for Arduino Mega, Teensy, etc to support Ethernetx libraries
2020
...
21-
2.0.0 K Hoang 16/01/2022 To coexist with ESP32 WebServer and ESP8266 ESP8266WebServer
22-
2.0.1 K Hoang 02/03/2022 Fix decoding error bug
23-
2.0.2 K Hoang 14/03/2022 Fix bug when using QNEthernet staticIP. Add staticIP option to NativeEthernet
24-
2.1.0 K Hoang 03/04/2022 Use Ethernet_Generic library as default. Support SPI2 for ESP32
25-
2.1.1 K Hoang 04/04/2022 Fix compiler error for Portenta_H7 using Portenta Ethernet
26-
2.1.2 K Hoang 08/04/2022 Add support to SPI1 for RP2040 using arduino-pico core
27-
2.1.3 K Hoang 27/04/2022 Change from `arduino.cc` to `arduino.tips` in examples
2821
2.2.0 K Hoang 05/05/2022 Add support to custom SPI for Teensy, Mbed RP2040, Portenta_H7, etc.
2922
2.2.1 K Hoang 25/08/2022 Auto-select SPI SS/CS pin according to board package
3023
2.2.2 K Hoang 06/09/2022 Slow SPI clock for old W5100 shield or SAMD Zero. Improve support for SAMD21
3124
2.2.3 K Hoang 17/09/2022 Add support to AVR Dx (AVR128Dx, AVR64Dx, AVR32Dx, etc.) using DxCore
3225
2.2.4 K Hoang 26/10/2022 Add support to Seeed XIAO_NRF52840 and XIAO_NRF52840_SENSE using `mbed` or `nRF52` core
3326
2.3.0 K Hoang 15/11/2022 Add new features, such as CORS. Update code and examples to send big data
27+
2.4.0 K Hoang 22/12/2022 Fix compile errors for new ESP32 core v2.0.6
3428
*************************************************************************************************************************************/
3529

3630
#pragma once
@@ -40,13 +34,13 @@
4034

4135
/////////////////////////////////////////////////////////////////////////
4236

43-
#define ETHERNET_WEBSERVER_VERSION "EthernetWebServer v2.3.0"
37+
#define ETHERNET_WEBSERVER_VERSION "EthernetWebServer v2.4.0"
4438

4539
#define ETHERNET_WEBSERVER_VERSION_MAJOR 2
46-
#define ETHERNET_WEBSERVER_VERSION_MINOR 3
40+
#define ETHERNET_WEBSERVER_VERSION_MINOR 4
4741
#define ETHERNET_WEBSERVER_VERSION_PATCH 0
4842

49-
#define ETHERNET_WEBSERVER_VERSION_INT 2003000
43+
#define ETHERNET_WEBSERVER_VERSION_INT 2004000
5044

5145
/////////////////////////////////////////////////////////////////////////
5246

src/EthernetWebServer.hpp

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,19 @@
1212
@file Esp8266WebServer.h
1313
@author Ivan Grokhotkov
1414
15-
Version: 2.3.0
15+
Version: 2.4.0
1616
1717
Version Modified By Date Comments
1818
------- ----------- ---------- -----------
1919
1.0.0 K Hoang 13/02/2020 Initial coding for Arduino Mega, Teensy, etc to support Ethernetx libraries
2020
...
21-
2.0.0 K Hoang 16/01/2022 To coexist with ESP32 WebServer and ESP8266 ESP8266WebServer
22-
2.0.1 K Hoang 02/03/2022 Fix decoding error bug
23-
2.0.2 K Hoang 14/03/2022 Fix bug when using QNEthernet staticIP. Add staticIP option to NativeEthernet
24-
2.1.0 K Hoang 03/04/2022 Use Ethernet_Generic library as default. Support SPI2 for ESP32
25-
2.1.1 K Hoang 04/04/2022 Fix compiler error for Portenta_H7 using Portenta Ethernet
26-
2.1.2 K Hoang 08/04/2022 Add support to SPI1 for RP2040 using arduino-pico core
27-
2.1.3 K Hoang 27/04/2022 Change from `arduino.cc` to `arduino.tips` in examples
2821
2.2.0 K Hoang 05/05/2022 Add support to custom SPI for Teensy, Mbed RP2040, Portenta_H7, etc.
2922
2.2.1 K Hoang 25/08/2022 Auto-select SPI SS/CS pin according to board package
3023
2.2.2 K Hoang 06/09/2022 Slow SPI clock for old W5100 shield or SAMD Zero. Improve support for SAMD21
3124
2.2.3 K Hoang 17/09/2022 Add support to AVR Dx (AVR128Dx, AVR64Dx, AVR32Dx, etc.) using DxCore
3225
2.2.4 K Hoang 26/10/2022 Add support to Seeed XIAO_NRF52840 and XIAO_NRF52840_SENSE using `mbed` or `nRF52` core
3326
2.3.0 K Hoang 15/11/2022 Add new features, such as CORS. Update code and examples to send big data
27+
2.4.0 K Hoang 22/12/2022 Fix compile errors for new ESP32 core v2.0.6
3428
*************************************************************************************************************************************/
3529

3630
#pragma once

src/Ethernet_HTTPClient/Ethernet_HttpClient.cpp

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,19 @@
1212
@file Esp8266WebServer.h
1313
@author Ivan Grokhotkov
1414
15-
Version: 2.3.0
15+
Version: 2.4.0
1616
1717
Version Modified By Date Comments
1818
------- ----------- ---------- -----------
1919
1.0.0 K Hoang 13/02/2020 Initial coding for Arduino Mega, Teensy, etc to support Ethernetx libraries
2020
...
21-
2.0.0 K Hoang 16/01/2022 To coexist with ESP32 WebServer and ESP8266 ESP8266WebServer
22-
2.0.1 K Hoang 02/03/2022 Fix decoding error bug
23-
2.0.2 K Hoang 14/03/2022 Fix bug when using QNEthernet staticIP. Add staticIP option to NativeEthernet
24-
2.1.0 K Hoang 03/04/2022 Use Ethernet_Generic library as default. Support SPI2 for ESP32
25-
2.1.1 K Hoang 04/04/2022 Fix compiler error for Portenta_H7 using Portenta Ethernet
26-
2.1.2 K Hoang 08/04/2022 Add support to SPI1 for RP2040 using arduino-pico core
27-
2.1.3 K Hoang 27/04/2022 Change from `arduino.cc` to `arduino.tips` in examples
2821
2.2.0 K Hoang 05/05/2022 Add support to custom SPI for Teensy, Mbed RP2040, Portenta_H7, etc.
2922
2.2.1 K Hoang 25/08/2022 Auto-select SPI SS/CS pin according to board package
3023
2.2.2 K Hoang 06/09/2022 Slow SPI clock for old W5100 shield or SAMD Zero. Improve support for SAMD21
3124
2.2.3 K Hoang 17/09/2022 Add support to AVR Dx (AVR128Dx, AVR64Dx, AVR32Dx, etc.) using DxCore
3225
2.2.4 K Hoang 26/10/2022 Add support to Seeed XIAO_NRF52840 and XIAO_NRF52840_SENSE using `mbed` or `nRF52` core
3326
2.3.0 K Hoang 15/11/2022 Add new features, such as CORS. Update code and examples to send big data
27+
2.4.0 K Hoang 22/12/2022 Fix compile errors for new ESP32 core v2.0.6
3428
*************************************************************************************************************************************/
3529

3630
// Class to simplify HTTP fetching on Arduino

0 commit comments

Comments
 (0)