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

Commit 1ed0894

Browse files
authored
v1.4.0 to auto detect ESP32 core
#### Releases v1.4.0 ##### Warning: Releases v1.4.0+ can be used and autodetect ESP32 core v2.0.0+ or v1.0.6-. 1. Auto detect ESP32 core 2. Renew examples
1 parent 3a304f4 commit 1ed0894

File tree

35 files changed

+72
-128
lines changed

35 files changed

+72
-128
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ 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.16) or Platform.io version
18-
* Board Core Version (e.g. ESP32 core v2.0.0)
18+
* Board Core Version (e.g. ESP32 core v2.0.1)
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:
@@ -28,9 +28,9 @@ Please ensure to specify the following:
2828
```
2929
Arduino IDE version: 1.8.16
3030
WT32_ETH01 board
31-
ESP32 core v2.0.0
31+
ESP32 core v2.0.1
3232
OS: Ubuntu 20.04 LTS
33-
Linux xy-Inspiron-3593 5.4.0-86-generic #97-Ubuntu SMP Fri Sep 17 19:19:40 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
33+
Linux xy-Inspiron-3593 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
3434
3535
Context:
3636
I encountered a crash while trying to use the Timer Interrupt.

README.md

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,9 @@ It's really strange to define a breaking enum `arduino_event_id_t` in [**WiFiGen
106106

107107
It's better to preserve the old enum order and just adding new items **to do no harm to pre-2.0.0 codes**
108108

109-
- Releases v1.2.0- to be used for EP32 core v1.0.6- only
110-
- Releases v1.3.0+ can be used for either EP32 core v2.0.0+ or v1.0.6-. **Default is using core v2.0.0+**
109+
- Releases v1.2.0- to be used for ESP32 core v1.0.6- only
110+
- Releases v1.3.0 can be used for either ESP32 core v2.0.0+ or v1.0.6-. **Default is using core v2.0.0+**
111+
- Releases v1.4.0 can be used for either ESP32 core v2.0.0+ or v1.0.6-. **Autodetect core**
111112

112113
To use with core v1.0.6-, just define in your sketch
113114

@@ -149,8 +150,8 @@ This [**WebServer_WT32_ETH01** library](https://github.com/khoih-prog/WebServer_
149150
## Prerequisites
150151

151152
1. [`Arduino IDE 1.8.16+` for Arduino](https://www.arduino.cc/en/Main/Software)
152-
2. [`ESP32 Core 2.0.0+`](https://github.com/espressif/arduino-esp32) for ESP32-based boards using release v1.3.0+. [![Latest release](https://img.shields.io/github/release/espressif/arduino-esp32.svg)](https://github.com/espressif/arduino-esp32/releases/latest/)
153-
2. [`ESP32 Core 1.0.6-`](https://github.com/espressif/arduino-esp32) for ESP32-based boards using release v1.2.0- [![Latest release](https://img.shields.io/github/release/espressif/arduino-esp32.svg)](https://github.com/espressif/arduino-esp32/releases/latest/)
153+
2. [`ESP32 Core 2.0.1+`](https://github.com/espressif/arduino-esp32) for ESP32-based WT32_ETH01 boards using release v1.3.0+. [![Latest release](https://img.shields.io/github/release/espressif/arduino-esp32.svg)](https://github.com/espressif/arduino-esp32/releases/latest/)
154+
3. [`ESP32 Core 1.0.6-`](https://github.com/espressif/arduino-esp32) for ESP32-based WT32_ETH01 boards using release v1.2.0- [![Latest release](https://img.shields.io/github/release/espressif/arduino-esp32.svg)](https://github.com/espressif/arduino-esp32/releases/latest/)
154155

155156
---
156157
---
@@ -438,9 +439,6 @@ Example:
438439
// Debug Level from 0 to 4
439440
#define _ETHERNET_WEBSERVER_LOGLEVEL_ 3
440441

441-
// Uncomment to use ESP32 core v1.0.6-
442-
//#define USING_CORE_ESP32_CORE_V200_PLUS false
443-
444442
#include <WebServer_WT32_ETH01.h>
445443

446444
WebServer server(80);
@@ -674,7 +672,7 @@ The following are debug terminal output and screen shot when running example [Ad
674672
675673
```
676674
Starting AdvancedWebServer on ESP32_DEV with ETH_PHY_LAN8720
677-
WebServer_WT32_ETH01 v1.3.0 for core v2.0.0+
675+
WebServer_WT32_ETH01 v1.4.0 for core v2.0.0+
678676

679677
ETH Started
680678
ETH Connected
@@ -692,7 +690,7 @@ The terminal output of **WT32_ETH01** running [ESP32_FS_EthernetWebServer](examp
692690
693691
```cpp
694692
Starting ESP32_FS_EthernetWebServer on ESP32_DEV with ETH_PHY_LAN8720
695-
WebServer_WT32_ETH01 v1.3.0 for core v2.0.0+
693+
WebServer_WT32_ETH01 v1.4.0 for core v2.0.0+
696694
697695
ETH Started
698696
ETH Connected
@@ -742,7 +740,7 @@ The terminal output of **WT32_ETH01** running [MQTT_ThingStream example](example
742740

743741
```
744742
Starting MQTT_ThingStream on ESP32_DEV with ETH_PHY_LAN8720
745-
WebServer_WT32_ETH01 v1.3.0 for core v2.0.0+
743+
WebServer_WT32_ETH01 v1.4.0 for core v2.0.0+
746744
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
747745
***************************************
748746
esp32-sniffer/12345678/ble
@@ -766,7 +764,7 @@ The terminal output of **WT32_ETH01** running [MQTTClient_Auth example](examples
766764

767765
```
768766
Starting MQTTClient_Auth on ESP32_DEV with ETH_PHY_LAN8720
769-
WebServer_WT32_ETH01 v1.3.0 for core v2.0.0+
767+
WebServer_WT32_ETH01 v1.4.0 for core v2.0.0+
770768
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
771769
Attempting MQTT connection to broker.emqx.io...connected
772770
Message Send : MQTT_Pub => Hello from MQTTClient_Auth on WT32-ETH01 with ETH_PHY_LAN8720
@@ -783,7 +781,7 @@ The terminal output of **WT32_ETH01** running [MQTTClient_Basic example](example
783781

784782
```
785783
Starting MQTTClient_Basic on ESP32_DEV with ETH_PHY_LAN8720
786-
WebServer_WT32_ETH01 v1.3.0 for core v2.0.0+
784+
WebServer_WT32_ETH01 v1.4.0 for core v2.0.0+
787785
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
788786
Attempting MQTT connection to broker.emqx.io...connected
789787
Message Send : MQTT_Pub => Hello from MQTTClient_Basic on WT32-ETH01 with ETH_PHY_LAN8720
@@ -803,7 +801,7 @@ The terminal output of **WT32_ETH01** running [WebClient example](examples/WebCl
803801

804802
```
805803
Starting WebClient on ESP32_DEV with ETH_PHY_LAN8720
806-
WebServer_WT32_ETH01 v1.3.0 for core v2.0.0+
804+
WebServer_WT32_ETH01 v1.4.0 for core v2.0.0+
807805
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
808806
809807
Starting connection to server...
@@ -871,7 +869,7 @@ The terminal output of **WT32_ETH01** running [UdpNTPClient example](examples/Ud
871869

872870
```
873871
Starting UdpNTPClient on ESP32_DEV with ETH_PHY_LAN8720
874-
WebServer_WT32_ETH01 v1.3.0 for core v2.0.0+
872+
WebServer_WT32_ETH01 v1.4.0 for core v2.0.0+
875873
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
876874
UDP Packet received, size 48
877875
From 132.163.97.1, port 123
@@ -900,7 +898,7 @@ The terminal output of **WT32_ETH01** running [BasicHttpClient example](examples
900898

901899
```
902900
Starting BasicHttpClient on ESP32_DEV with ETH_PHY_LAN8720
903-
WebServer_WT32_ETH01 v1.3.0 for core v2.0.0+
901+
WebServer_WT32_ETH01 v1.4.0 for core v2.0.0+
904902
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
905903
[HTTP] begin...
906904
[HTTP] GET...
@@ -962,7 +960,7 @@ The terminal output of **WT32_ETH01** running [BasicHttpsClient example](example
962960

963961
```
964962
Starting BasicHttpsClient on ESP32_DEV with ETH_PHY_LAN8720
965-
WebServer_WT32_ETH01 v1.3.0 for core v2.0.0+
963+
WebServer_WT32_ETH01 v1.4.0 for core v2.0.0+
966964
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
967965
Waiting for NTP time sync: .
968966
Current time: Tue Jul 6 05:29:39 2021
@@ -1007,7 +1005,7 @@ The terminal output of **WT32_ETH01** running [WebClientMulti_SSL example](examp
10071005

10081006
```
10091007
Starting WebClientMulti_SSL on ESP32_DEV with ETH_PHY_LAN8720
1010-
WebServer_WT32_ETH01 v1.3.0 for core v2.0.0+
1008+
WebServer_WT32_ETH01 v1.4.0 for core v2.0.0+
10111009
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
10121010
Waiting for NTP time sync: .
10131011
Current time: Tue Jul 6 19:58:27 2021
@@ -1121,7 +1119,7 @@ The terminal output of **WT32_ETH01** running [MQTTClient_SSL_Complex example](e
11211119

11221120
```
11231121
Starting MQTTClient_SSL_Complex on ESP32_DEV with ETH_PHY_LAN8720
1124-
WebServer_WT32_ETH01 v1.3.0 for core v2.0.0+
1122+
WebServer_WT32_ETH01 v1.4.0 for core v2.0.0+
11251123
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
11261124
Waiting for NTP time sync: .
11271125
Current time: Tue Jul 6 18:14:02 2021
@@ -1141,7 +1139,7 @@ The terminal output of **WT32_ETH01** running [MQTTS_ThingStream example](exampl
11411139

11421140
```
11431141
Starting MQTTS_ThingStream on ESP32_DEV with ETH_PHY_LAN8720
1144-
WebServer_WT32_ETH01 v1.3.0 for core v2.0.0+
1142+
WebServer_WT32_ETH01 v1.4.0 for core v2.0.0+
11451143
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
11461144
Waiting for NTP time sync: .
11471145
Current time: Tue Jul 6 18:38:22 2021
@@ -1167,7 +1165,7 @@ The terminal output of **WT32_ETH01** running [MQTTClient_SSL example](examples/
11671165

11681166
```
11691167
Starting MQTTClient_SSL on ESP32_DEV with ETH_PHY_LAN8720
1170-
WebServer_WT32_ETH01 v1.3.0 for core v2.0.0+
1168+
WebServer_WT32_ETH01 v1.4.0 for core v2.0.0+
11711169
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
11721170
Waiting for NTP time sync: .
11731171
Current time: Tue Jul 6 17:11:00 2021
@@ -1192,7 +1190,7 @@ The terminal output of **WT32_ETH01** running [MQTTClient_SSL_Auth example](exam
11921190

11931191
```
11941192
Starting MQTTClient_SSL_Auth on ESP32_DEV with ETH_PHY_LAN8720
1195-
WebServer_WT32_ETH01 v1.3.0 for core v2.0.0+
1193+
WebServer_WT32_ETH01 v1.4.0 for core v2.0.0+
11961194
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
11971195
Waiting for NTP time sync: .
11981196
Current time: Tue Jul 6 18:05:14 2021
@@ -1250,6 +1248,7 @@ Submit issues to: [WebServer_WT32_ETH01 issues](https://github.com/khoih-prog/We
12501248
2. Add SSL support
12511249
3. Add HTTPS and MQTTS examples
12521250
4. Support breaking ESP32 core v2.0.0+ as well as v1.0.6-
1251+
5. Auto detect ESP32 core v1.0.6- or v2.0.0+ to use correct settings
12531252

12541253
---
12551254
---

changelog.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313

1414
* [Changelog](#changelog)
15+
* [Releases v1.4.0](#releases-v140)
1516
* [Releases v1.3.0](#releases-v130)
1617
* [Releases v1.2.0](#releases-v120)
1718
* [Releases v1.1.0](#releases-v110)
@@ -22,17 +23,24 @@
2223

2324
## Changelog
2425

26+
#### Releases v1.4.0
27+
28+
##### Warning: Releases v1.4.0+ can be used and autodetect ESP32 core v2.0.0+ or v1.0.6-.
29+
30+
1. Auto detect ESP32 core
31+
2. Renew examples
32+
2533
#### Releases v1.3.0
2634

27-
##### Warning: Can be used for either EP32 core v2.0.0+ or v1.0.6-. Default is v2.0.0+ now
35+
##### Warning: Releases v1.3.0+ can be used for either ESP32 core v2.0.0+ or v1.0.6-. Default is v2.0.0+ now
2836

2937
1. Making compatible either with breaking core v2.0.0+ or core v1.0.6-
3038
2. Renew examples
3139

3240

3341
#### Releases v1.2.0
3442

35-
##### Warning: To be used for EP32 core v1.0.6- only
43+
##### Warning: Releases v1.2.0- to be used for ESP32 core v1.0.6- only
3644

3745
1. Add common code to library
3846
2. Renew examples

examples/AdvancedWebServer/AdvancedWebServer.ino

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@
4343
// Debug Level from 0 to 4
4444
#define _ETHERNET_WEBSERVER_LOGLEVEL_ 3
4545

46-
// Uncomment to use ESP32 core v1.0.6-
47-
//#define USING_CORE_ESP32_CORE_V200_PLUS false
48-
4946
#include <WebServer_WT32_ETH01.h>
5047

5148
WebServer server(80);

examples/ESP32_FS_EthernetWebServer/ESP32_FS_EthernetWebServer.ino

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@
2727
// Debug Level from 0 to 4
2828
#define _ETHERNET_WEBSERVER_LOGLEVEL_ 3
2929

30-
// Uncomment to use ESP32 core v1.0.6-
31-
//#define USING_CORE_ESP32_CORE_V200_PLUS false
32-
3330
#define USE_LITTLEFS true
3431
#define USE_SPIFFS false
3532

@@ -38,16 +35,28 @@
3835
//LittleFS has higher priority
3936
#include "FS.h"
4037

41-
// The library will be depreciated after being merged to future major Arduino esp32 core release 2.x
42-
// At that time, just remove this library inclusion
43-
#include <LITTLEFS.h> // https://github.com/lorol/LITTLEFS
44-
45-
FS* filesystem = &LITTLEFS;
46-
#define CurrentFileFS "LittleFS"
47-
#define FileFS LITTLEFS
38+
// Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h
39+
//#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2)
40+
#if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) )
41+
#warning Using ESP32 Core 1.0.6 or 2.0.0+
42+
// The library has been merged into esp32 core from release 1.0.6
43+
#include <LittleFS.h>
44+
45+
FS* filesystem = &LittleFS;
46+
#define FileFS LittleFS
47+
#define CurrentFileFS "LittleFS"
48+
#else
49+
#warning Using ESP32 Core 1.0.5-. You must install LITTLEFS library
50+
// The library has been merged into esp32 core from release 1.0.6
51+
#include <LITTLEFS.h> // https://github.com/lorol/LITTLEFS
52+
53+
FS* filesystem = &LITTLEFS;
54+
#define FileFS LITTLEFS
55+
#define CurrentFileFS "LittleFS"
56+
#endif
4857

4958
#ifdef USE_SPIFFS
50-
#undef USE_SPIFFS
59+
#undef USE_SPIFFS
5160
#endif
5261

5362
#define USE_SPIFFS false

examples/HTTPClient/Authorization/Authorization.ino

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
// Debug Level from 0 to 4
1616
#define _ETHERNET_WEBSERVER_LOGLEVEL_ 3
1717

18-
// Uncomment to use ESP32 core v1.0.6-
19-
//#define USING_CORE_ESP32_CORE_V200_PLUS false
20-
2118
#include <WebServer_WT32_ETH01.h>
2219
#include <HTTPClient.h>
2320

examples/HTTPClient/BasicHttpClient/BasicHttpClient.ino

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
// Debug Level from 0 to 4
1616
#define _ETHERNET_WEBSERVER_LOGLEVEL_ 3
1717

18-
// Uncomment to use ESP32 core v1.0.6-
19-
//#define USING_CORE_ESP32_CORE_V200_PLUS false
20-
2118
#include <WebServer_WT32_ETH01.h>
2219
#include <HTTPClient.h>
2320

examples/HTTPClient/BasicHttpsClient/BasicHttpsClient.ino

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
// Debug Level from 0 to 4
1616
#define _ETHERNET_WEBSERVER_LOGLEVEL_ 3
1717

18-
// Uncomment to use ESP32 core v1.0.6-
19-
//#define USING_CORE_ESP32_CORE_V200_PLUS false
20-
2118
#include <WebServer_WT32_ETH01.h>
2219
#include <HTTPClient.h>
2320

examples/HTTPClient/StreamHttpClient/StreamHttpClient.ino

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
// Debug Level from 0 to 4
1616
#define _ETHERNET_WEBSERVER_LOGLEVEL_ 3
1717

18-
// Uncomment to use ESP32 core v1.0.6-
19-
//#define USING_CORE_ESP32_CORE_V200_PLUS false
20-
2118
#include <WebServer_WT32_ETH01.h>
2219
#include <HTTPClient.h>
2320

examples/HelloServer/HelloServer.ino

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
// Debug Level from 0 to 4
1616
#define _ETHERNET_WEBSERVER_LOGLEVEL_ 3
1717

18-
// Uncomment to use ESP32 core v1.0.6-
19-
//#define USING_CORE_ESP32_CORE_V200_PLUS false
20-
2118
#include <WebServer_WT32_ETH01.h>
2219

2320
WebServer server(80);

examples/HelloServer2/HelloServer2.ino

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
// Debug Level from 0 to 4
1616
#define _ETHERNET_WEBSERVER_LOGLEVEL_ 3
1717

18-
// Uncomment to use ESP32 core v1.0.6-
19-
//#define USING_CORE_ESP32_CORE_V200_PLUS false
20-
2118
#include <WebServer_WT32_ETH01.h>
2219

2320
WebServer server(80);

examples/HttpBasicAuth/HttpBasicAuth.ino

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
// Debug Level from 0 to 4
1616
#define _ETHERNET_WEBSERVER_LOGLEVEL_ 3
1717

18-
// Uncomment to use ESP32 core v1.0.6-
19-
//#define USING_CORE_ESP32_CORE_V200_PLUS false
20-
2118
#include <WebServer_WT32_ETH01.h>
2219

2320
WebServer server(80);

examples/MQTTClient_Auth/MQTTClient_Auth.ino

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@
2222
// Debug Level from 0 to 4
2323
#define _ETHERNET_WEBSERVER_LOGLEVEL_ 3
2424

25-
// Uncomment to use ESP32 core v1.0.6-
26-
//#define USING_CORE_ESP32_CORE_V200_PLUS false
27-
2825
#include <WebServer_WT32_ETH01.h>
2926

3027
WebServer server(80);

examples/MQTTClient_Basic/MQTTClient_Basic.ino

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323
// Debug Level from 0 to 4
2424
#define _ETHERNET_WEBSERVER_LOGLEVEL_ 3
2525

26-
// Uncomment to use ESP32 core v1.0.6-
27-
//#define USING_CORE_ESP32_CORE_V200_PLUS false
28-
2926
#include <WebServer_WT32_ETH01.h>
3027

3128
WebServer server(80);

examples/MQTT_ThingStream/MQTT_ThingStream.ino

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@
3131
// Debug Level from 0 to 4
3232
#define _ETHERNET_WEBSERVER_LOGLEVEL_ 3
3333

34-
// Uncomment to use ESP32 core v1.0.6-
35-
//#define USING_CORE_ESP32_CORE_V200_PLUS false
36-
3734
#include <WebServer_WT32_ETH01.h>
3835

3936
WebServer server(80);

examples/PostServer/PostServer.ino

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
// Debug Level from 0 to 4
1616
#define _ETHERNET_WEBSERVER_LOGLEVEL_ 3
1717

18-
// Uncomment to use ESP32 core v1.0.6-
19-
//#define USING_CORE_ESP32_CORE_V200_PLUS false
20-
2118
#include <WebServer_WT32_ETH01.h>
2219

2320
WebServer server(80);

examples/SSL/MQTTClient_SSL/MQTTClient_SSL.ino

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@
2727
// Debug Level from 0 to 4
2828
#define _ETHERNET_WEBSERVER_LOGLEVEL_ 3
2929

30-
// Uncomment to use ESP32 core v1.0.6-
31-
//#define USING_CORE_ESP32_CORE_V200_PLUS false
32-
3330
#include <WebServer_WT32_ETH01.h>
3431

3532
#include <WiFiClientSecure.h>

0 commit comments

Comments
 (0)