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

Commit 5fe2acf

Browse files
authored
v1.2.1 removes unused variable
#### Releases v1.2.1 1. Remove unused variable to avoid compiler warning and error
1 parent 3655a63 commit 5fe2acf

15 files changed

+45
-29
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ This [**WebServer_ESP32_SC_W5500** library](https://github.com/khoih-prog/WebSer
166166
## Prerequisites
167167

168168
1. [`Arduino IDE 1.8.19+` for Arduino](https://github.com/arduino/Arduino). [![GitHub release](https://img.shields.io/github/release/arduino/Arduino.svg)](https://github.com/arduino/Arduino/releases/latest)
169-
2. [`ESP32 Core 2.0.5+`](https://github.com/espressif/arduino-esp32) for ESP32-based ESP32S2/S3/C3_DEV with W5500 boards. [![Latest release](https://img.shields.io/github/release/espressif/arduino-esp32.svg)](https://github.com/espressif/arduino-esp32/releases/latest/)
169+
2. [`ESP32 Core 2.0.6+`](https://github.com/espressif/arduino-esp32) for ESP32-based ESP32S2/S3/C3_DEV with W5500 boards. [![Latest release](https://img.shields.io/github/release/espressif/arduino-esp32.svg)](https://github.com/espressif/arduino-esp32/releases/latest/)
170170

171171

172172
---
@@ -566,7 +566,7 @@ The following are debug terminal output and screen shot when running example [Ad
566566

567567
```cpp
568568
Start AdvancedWebServer on ESP32S3_DEV with ESP32_S3_W5500
569-
WebServer_ESP32_SC_W5500 v1.0.1 for core v2.0.0+
569+
WebServer_ESP32_SC_W5500 v1.2.1 for core v2.0.0+
570570
[EWS] Default SPI pinout:
571571
[EWS] SPI_HOST: 2
572572
[EWS] MOSI: 11
@@ -594,7 +594,7 @@ The terminal output of **ESP32S3_DEV with W5500** running [MQTT_ThingStream exam
594594
595595
```cpp
596596
Start MQTT_ThingStream on ESP32S3_DEV with ESP32_S3_W5500
597-
WebServer_ESP32_SC_W5500 v1.0.1 for core v2.0.0+
597+
WebServer_ESP32_SC_W5500 v1.2.1 for core v2.0.0+
598598
[EWS] Default SPI pinout:
599599
[EWS] SPI_HOST: 2
600600
[EWS] MOSI: 11
@@ -627,7 +627,7 @@ The terminal output of **ESP32S3_DEV with W5500** running [MQTTClient_Auth examp
627627

628628
```cpp
629629
Start MQTTClient_Auth on ESP32S3_DEV with ESP32_S3_W5500
630-
WebServer_ESP32_SC_W5500 v1.0.1 for core v2.0.0+
630+
WebServer_ESP32_SC_W5500 v1.2.1 for core v2.0.0+
631631
[EWS] Default SPI pinout:
632632
[EWS] SPI_HOST: 2
633633
[EWS] MOSI: 11
@@ -657,7 +657,7 @@ The terminal output of **ESP32S3_DEV with W5500** running [MQTTClient_Basic exam
657657
658658
```cpp
659659
Start MQTTClient_Basic on ESP32S3_DEV with ESP32_S3_W5500
660-
WebServer_ESP32_SC_W5500 v1.0.1 for core v2.0.0+
660+
WebServer_ESP32_SC_W5500 v1.2.1 for core v2.0.0+
661661
[EWS] Default SPI pinout:
662662
[EWS] SPI_HOST: 2
663663
[EWS] MOSI: 11
@@ -687,7 +687,7 @@ The terminal output of **ESP32S3_DEV with W5500** running [WebClient example](ex
687687

688688
```cpp
689689
Start WebClient on ESP32S3_DEV with ESP32_S3_W5500
690-
WebServer_ESP32_SC_W5500 v1.0.1 for core v2.0.0+
690+
WebServer_ESP32_SC_W5500 v1.2.1 for core v2.0.0+
691691
[EWS] Default SPI pinout:
692692
[EWS] SPI_HOST: 2
693693
[EWS] MOSI: 11
@@ -773,7 +773,7 @@ The terminal output of **ESP32S3_DEV with W5500** running [UDPSendReceive exampl
773773
774774
```cpp
775775
Start UDPSendReceive on ESP32S3_DEV with ESP32_S3_W5500
776-
WebServer_ESP32_SC_W5500 v1.0.1 for core v2.0.0+
776+
WebServer_ESP32_SC_W5500 v1.2.1 for core v2.0.0+
777777
[EWS] Default SPI pinout:
778778
[EWS] SPI_HOST: 2
779779
[EWS] MOSI: 11
@@ -821,7 +821,7 @@ The following are debug terminal output and screen shot when running example [Ad
821821

822822
```cpp
823823
Start AdvancedWebServer on ESP32S2_DEV with ESP32_S2_W5500
824-
WebServer_ESP32_SC_W5500 v1.1.0 for core v2.0.0+
824+
WebServer_ESP32_SC_W5500 v1.2.1 for core v2.0.0+
825825
[EWS] Default SPI pinout:
826826
[EWS] SPI_HOST: 2
827827
[EWS] MOSI: 35
@@ -855,7 +855,7 @@ The following are debug terminal output and screen shot when running example [Ad
855855
856856
```cpp
857857
Start AdvancedWebServer on ESP32C3_DEV with ESP32_C3_W5500
858-
WebServer_ESP32_C3_W5500 v1.2.0 for core v2.0.0+
858+
WebServer_ESP32_SC_W5500 v1.2.1 for core v2.0.0+
859859
[EWS] Default SPI pinout:
860860
[EWS] SPI_HOST: 1
861861
[EWS] MOSI: 6
@@ -918,7 +918,7 @@ Submit issues to: [WebServer_ESP32_SC_W5500 issues](https://github.com/khoih-pro
918918
3. Add example [multiFileProject](https://github.com/khoih-prog/WebServer_ESP32_SC_W5500/tree/main/examples/multiFileProject)
919919
4. Add support to **ESP32S2-based boards** using `LwIP W5500 Ethernet`
920920
5. Add support to **ESP32_C3-based boards** using `LwIP W5500 Ethernet`
921-
921+
6. Remove unused variable to avoid compiler warning and error
922922

923923
---
924924
---

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 v1.2.1](#releases-v121)
1920
* [Releases v1.2.0](#releases-v120)
2021
* [Releases v1.1.0](#releases-v110)
2122
* [Releases v1.0.1](#releases-v101)
@@ -26,6 +27,10 @@
2627

2728
## Changelog
2829

30+
#### Releases v1.2.1
31+
32+
1. Remove unused variable to avoid compiler warning and error
33+
2934
#### Releases v1.2.0
3035

3136
1. Add support to ESP32_C3-based boards using `LwIP W5500 Ethernet`

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "WebServer_ESP32_SC_W5500",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"keywords": "WebServer, Ethernet, MQTT, MQTTS, HTTP, HTTPS, SSL, Arduino, ESP32, ESP32-S3, ESP32-S2, ESP32-C3, W5500, HTTP-Client, WebSocket-Client, MQTT-Client, server, client, websocket, LittleFS, SPIFFS, ThingStream",
55
"description": "Simple Ethernet WebServer, HTTP/HTTPS Client wrapper library for ESP32S2/S3/C3 boards using LwIP W5500 Ethernet library. The WebServer supports HTTP(S) GET and POST requests, provides argument parsing, handles one client at a time. It provides HTTP(S), MQTT(S) Client, supports WebServer serving from LittleFS/SPIFFS and is the base for many Async-related libraries.",
66
"authors":

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=WebServer_ESP32_SC_W5500
2-
version=1.2.0
2+
version=1.2.1
33
author=Khoi Hoang
44
license=GPLv3
55
maintainer=Khoi Hoang <[email protected]>

src/WebServer_ESP32_SC_W5500.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/WebServer_ESP32_SC_W5500
1010
Licensed under GPLv3 license
1111
12-
Version: 1.2.0
12+
Version: 1.2.1
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
1616
1.0.0 K Hoang 13/12/2022 Initial coding for ESP32_S3_W5500 (ESP32_S3 + W5500)
1717
1.0.1 K Hoang 14/12/2022 Using SPI_DMA_CH_AUTO instead of manually selected
1818
1.1.0 K Hoang 19/12/2022 Add support to ESP32_S2_W5500 (ESP32_S2 + W5500)
1919
1.2.0 K Hoang 20/12/2022 Add support to ESP32_C3_W5500 (ESP32_C3 + W5500)
20+
1.2.1 K Hoang 22/12/2022 Remove unused variable to avoid compiler warning and error
2021
*****************************************************************************************************************************/
2122

2223
#pragma once
@@ -33,22 +34,22 @@
3334
#warning Using code for ESP32 core v2.0.0+ in WebServer_ESP32_SC_W5500.h
3435
#endif
3536

36-
#define WEBSERVER_ESP32_SC_W5500_VERSION "WebServer_ESP32_SC_W5500 v1.2.0 for core v2.0.0+"
37+
#define WEBSERVER_ESP32_SC_W5500_VERSION "WebServer_ESP32_SC_W5500 v1.2.1 for core v2.0.0+"
3738
#else
3839
#if (_ETHERNET_WEBSERVER_LOGLEVEL_ > 3)
3940
#warning Using code for ESP32 core v1.0.6- in WebServer_ESP32_SC_W5500.h
4041
#endif
4142

42-
#define WEBSERVER_ESP32_SC_W5500_VERSION "WebServer_ESP32_SC_W5500 v1.2.0 for core v1.0.6-"
43+
#define WEBSERVER_ESP32_SC_W5500_VERSION "WebServer_ESP32_SC_W5500 v1.2.1 for core v1.0.6-"
4344
#endif
4445

4546
//////////////////////////////////////////////////////////////
4647

4748
#define WEBSERVER_ESP32_SC_W5500_VERSION_MAJOR 1
4849
#define WEBSERVER_ESP32_SC_W5500_VERSION_MINOR 2
49-
#define WEBSERVER_ESP32_SC_W5500_VERSION_PATCH 0
50+
#define WEBSERVER_ESP32_SC_W5500_VERSION_PATCH 1
5051

51-
#define WEBSERVER_ESP32_SC_W5500_VERSION_INT 1002000
52+
#define WEBSERVER_ESP32_SC_W5500_VERSION_INT 1002001
5253

5354
/////////////////////////////////////////////////////////////
5455

src/WebServer_ESP32_SC_W5500.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/WebServer_ESP32_SC_W5500
1010
Licensed under GPLv3 license
1111
12-
Version: 1.2.0
12+
Version: 1.2.1
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
1616
1.0.0 K Hoang 13/12/2022 Initial coding for ESP32_S3_W5500 (ESP32_S3 + W5500)
1717
1.0.1 K Hoang 14/12/2022 Using SPI_DMA_CH_AUTO instead of manually selected
1818
1.1.0 K Hoang 19/12/2022 Add support to ESP32_S2_W5500 (ESP32_S2 + W5500)
1919
1.2.0 K Hoang 20/12/2022 Add support to ESP32_C3_W5500 (ESP32_C3 + W5500)
20+
1.2.1 K Hoang 22/12/2022 Remove unused variable to avoid compiler warning and error
2021
*****************************************************************************************************************************/
2122

2223
#pragma once

src/WebServer_ESP32_SC_W5500_Debug.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/WebServer_ESP32_SC_W5500
1010
Licensed under GPLv3 license
1111
12-
Version: 1.2.0
12+
Version: 1.2.1
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
1616
1.0.0 K Hoang 13/12/2022 Initial coding for ESP32_S3_W5500 (ESP32_S3 + W5500)
1717
1.0.1 K Hoang 14/12/2022 Using SPI_DMA_CH_AUTO instead of manually selected
1818
1.1.0 K Hoang 19/12/2022 Add support to ESP32_S2_W5500 (ESP32_S2 + W5500)
1919
1.2.0 K Hoang 20/12/2022 Add support to ESP32_C3_W5500 (ESP32_C3 + W5500)
20+
1.2.1 K Hoang 22/12/2022 Remove unused variable to avoid compiler warning and error
2021
*****************************************************************************************************************************/
2122

2223
#pragma once

src/WebServer_ESP32_SC_W5500_Impl.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/WebServer_ESP32_SC_W5500
1010
Licensed under GPLv3 license
1111
12-
Version: 1.2.0
12+
Version: 1.2.1
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
1616
1.0.0 K Hoang 13/12/2022 Initial coding for ESP32_S3_W5500 (ESP32_S3 + W5500)
1717
1.0.1 K Hoang 14/12/2022 Using SPI_DMA_CH_AUTO instead of manually selected
1818
1.1.0 K Hoang 19/12/2022 Add support to ESP32_S2_W5500 (ESP32_S2 + W5500)
1919
1.2.0 K Hoang 20/12/2022 Add support to ESP32_C3_W5500 (ESP32_C3 + W5500)
20+
1.2.1 K Hoang 22/12/2022 Remove unused variable to avoid compiler warning and error
2021
*****************************************************************************************************************************/
2122

2223
#pragma once

src/w5500/esp32_sc_w5500.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/WebServer_ESP32_SC_W5500
1010
Licensed under GPLv3 license
1111
12-
Version: 1.2.0
12+
Version: 1.2.1
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
1616
1.0.0 K Hoang 13/12/2022 Initial coding for ESP32_S3_W5500 (ESP32_S3 + W5500)
1717
1.0.1 K Hoang 14/12/2022 Using SPI_DMA_CH_AUTO instead of manually selected
1818
1.1.0 K Hoang 19/12/2022 Add support to ESP32_S2_W5500 (ESP32_S2 + W5500)
1919
1.2.0 K Hoang 20/12/2022 Add support to ESP32_C3_W5500 (ESP32_C3 + W5500)
20+
1.2.1 K Hoang 22/12/2022 Remove unused variable to avoid compiler warning and error
2021
*****************************************************************************************************************************/
2122

2223
#define _ETHERNET_WEBSERVER_LOGLEVEL_ 1

src/w5500/esp32_sc_w5500.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/WebServer_ESP32_SC_W5500
1010
Licensed under GPLv3 license
1111
12-
Version: 1.2.0
12+
Version: 1.2.1
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
1616
1.0.0 K Hoang 13/12/2022 Initial coding for ESP32_S3_W5500 (ESP32_S3 + W5500)
1717
1.0.1 K Hoang 14/12/2022 Using SPI_DMA_CH_AUTO instead of manually selected
1818
1.1.0 K Hoang 19/12/2022 Add support to ESP32_S2_W5500 (ESP32_S2 + W5500)
1919
1.2.0 K Hoang 20/12/2022 Add support to ESP32_C3_W5500 (ESP32_C3 + W5500)
20+
1.2.1 K Hoang 22/12/2022 Remove unused variable to avoid compiler warning and error
2021
*****************************************************************************************************************************/
2122

2223
#ifndef _ESP32_W5500_H_

0 commit comments

Comments
 (0)