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

Commit

Permalink
v1.3.3 to fix libb64 fallthrough compile warning
Browse files Browse the repository at this point in the history
### Releases v1.3.3

1. Fix libb64 `fallthrough` compile warning
  • Loading branch information
khoih-prog authored Jan 12, 2022
1 parent 5148a33 commit cf97f1e
Show file tree
Hide file tree
Showing 26 changed files with 91 additions and 52 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Please ensure to specify the following:
Arduino IDE version: 1.8.19
STM32F7 Nucleo-144 NUCLEO_F767ZI, STM32 core v2.2.0
OS: Ubuntu 20.04 LTS
Linux xy-Inspiron-3593 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Linux xy-Inspiron-3593 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Context:
I encountered a crash while trying to use the Timer Interrupt.
Expand Down
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,8 @@ Check [`EthernetWebServer Library Issue: Support for STM32F Series`](https://git
- [`Ethernet2 library v1.0.4+`](https://github.com/khoih-prog/Ethernet2) for W5500. [![GitHub release](https://img.shields.io/github/release/adafruit/Ethernet2.svg)](https://github.com/adafruit/Ethernet2/releases/latest)
- [`Ethernet3 library v1.5.5+`](https://github.com/sstaub/Ethernet3) for W5500/WIZ550io/WIZ850io/USR-ES1 with Wiznet W5500 chip. [![GitHub release](https://img.shields.io/github/release/sstaub/Ethernet3.svg)](https://github.com/sstaub/Ethernet3/releases/latest)
6. For ENC28J60 Ethernet:
- [`EthernetENC library v2.0.1+`](https://github.com/jandrassy/EthernetENC) for ENC28J60. [![GitHub release](https://img.shields.io/github/release/jandrassy/EthernetENC.svg)](https://github.com/jandrassy/EthernetENC/releases/latest). **New and Better**
- [`UIPEthernet library v2.0.10+`](https://github.com/UIPEthernet/UIPEthernet) for ENC28J60. [![GitHub release](https://img.shields.io/github/release/UIPEthernet/UIPEthernet.svg)](https://github.com/UIPEthernet/UIPEthernet/releases/latest)
- [`EthernetENC library v2.0.2+`](https://github.com/jandrassy/EthernetENC) for ENC28J60. [![GitHub release](https://img.shields.io/github/release/jandrassy/EthernetENC.svg)](https://github.com/jandrassy/EthernetENC/releases/latest). **New and Better**
- [`UIPEthernet library v2.0.11+`](https://github.com/UIPEthernet/UIPEthernet) for ENC28J60. [![GitHub release](https://img.shields.io/github/release/UIPEthernet/UIPEthernet.svg)](https://github.com/UIPEthernet/UIPEthernet/releases/latest)


---
Expand Down Expand Up @@ -1367,7 +1367,7 @@ Following is debug terminal output and screen shot when running example [Advance

```
Start AdvancedWebServer on NUCLEO_F767ZI, using LAN8742A Ethernet & STM32Ethernet Library
EthernetWebServer_STM32 v1.3.2
EthernetWebServer_STM32 v1.3.3
HTTP EthernetWebServer is @ IP : 192.168.2.117
EthernetWebServer::handleClient: New Client
method: GET
Expand Down Expand Up @@ -1491,7 +1491,7 @@ The following is debug terminal output when running example [WebClientRepeating]

```
Start WebClientRepeating on NUCLEO_F767ZI, using ENC28J60 & EthernetENC Library
EthernetWebServer_STM32 v1.3.2
EthernetWebServer_STM32 v1.3.3
[ETHERNET_WEBSERVER] Board : NUCLEO_F767ZI , setCsPin: 10
[ETHERNET_WEBSERVER] Default SPI pinout:
[ETHERNET_WEBSERVER] MOSI: 11
Expand Down Expand Up @@ -1566,7 +1566,7 @@ The following is debug terminal output when running example [UdpNTPClient](examp

```
Start UdpNTPClient on NUCLEO_F767ZI, using W5x00 & Ethernet2 Library
EthernetWebServer_STM32 v1.3.2
EthernetWebServer_STM32 v1.3.3
[ETHERNET_WEBSERVER] Board : NUCLEO_F767ZI , setCsPin: 10
[ETHERNET_WEBSERVER] Default SPI pinout:
[ETHERNET_WEBSERVER] MOSI: 11
Expand All @@ -1590,7 +1590,7 @@ The terminal output of **STM32F7 Nucleo-144 NUCLEO_F767ZI with LAN8742A Ethernet

```
Starting SimpleWebSocket on NUCLEO_F767ZI with LAN8742A Ethernet & STM32Ethernet Library
EthernetWebServer_STM32 v1.3.2
EthernetWebServer_STM32 v1.3.3
[ETHERNET_WEBSERVER] =========================
[ETHERNET_WEBSERVER] Default SPI pinout:
[ETHERNET_WEBSERVER] MOSI: 11
Expand Down Expand Up @@ -1635,7 +1635,7 @@ The terminal output of **STM32F7 Nucleo-144 NUCLEO_F767ZI with W5x00 & Ethernet3

```
Starting SimpleWebSocket on NUCLEO_F767ZI with W5x00 & Ethernet3 Library
EthernetWebServer_STM32 v1.3.2
EthernetWebServer_STM32 v1.3.3
[ETHERNET_WEBSERVER] =========== USE_ETHERNET3 ===========
[ETHERNET_WEBSERVER] Default SPI pinout:
[ETHERNET_WEBSERVER] MOSI: 11
Expand Down Expand Up @@ -1687,7 +1687,7 @@ The terminal output of **STM32F7 Nucleo-144 NUCLEO_F767ZI with LAN8742A Ethernet

```
Starting SimpleHTTPExample on NUCLEO_F767ZI with LAN8742A Ethernet & STM32Ethernet Library
EthernetWebServer_STM32 v1.3.2
EthernetWebServer_STM32 v1.3.3
[ETHERNET_WEBSERVER] =========================
[ETHERNET_WEBSERVER] Default SPI pinout:
[ETHERNET_WEBSERVER] MOSI: 11
Expand Down Expand Up @@ -1760,7 +1760,7 @@ The terminal output of **STM32F7 Nucleo-144 NUCLEO_F767ZI with LAN8742A Ethernet

```
Start MQTTClient_Auth on NUCLEO_F767ZI with LAN8742A Ethernet & STM32Ethernet Library
EthernetWebServer_STM32 v1.3.2
EthernetWebServer_STM32 v1.3.3
[ETHERNET_WEBSERVER] =========================
[ETHERNET_WEBSERVER] Default SPI pinout:
[ETHERNET_WEBSERVER] MOSI: 11
Expand Down Expand Up @@ -1799,7 +1799,7 @@ The terminal output of **STM32F7 Nucleo-144 NUCLEO_F767ZI with ENC28J60 & Ethern

```
Start MQTTClient_Auth on NUCLEO_F767ZI with ENC28J60 & EthernetENC Library
EthernetWebServer_STM32 v1.3.2
EthernetWebServer_STM32 v1.3.3
[ETHERNET_WEBSERVER] =========== USE_ETHERNET_ENC ===========
[ETHERNET_WEBSERVER] Default SPI pinout:
[ETHERNET_WEBSERVER] MOSI: 11
Expand Down Expand Up @@ -1838,7 +1838,7 @@ The terminal output of **STM32F7 Nucleo-144 NUCLEO_F767ZI with W5x00 & Ethernet2

```
Start MQTTClient_Auth on NUCLEO_F767ZI with W5x00 & Ethernet2 Library
EthernetWebServer_STM32 v1.3.2
EthernetWebServer_STM32 v1.3.3
[ETHERNET_WEBSERVER] =========== USE_ETHERNET2 ===========
[ETHERNET_WEBSERVER] Default SPI pinout:
[ETHERNET_WEBSERVER] MOSI: 11
Expand Down Expand Up @@ -1872,7 +1872,7 @@ The terminal output of **STM32F4 BLACK_F407VE with LAN8720 Ethernet and STM32Eth

```
Starting SimpleWebSocket_LAN8720 on BLACK_F407VE with LAN8720 Ethernet & STM32Ethernet Library
EthernetWebServer_STM32 v1.3.2
EthernetWebServer_STM32 v1.3.3
Using mac index = 6
Connected! IP address: 192.168.2.138
starting WebSocket client
Expand All @@ -1897,7 +1897,7 @@ The terminal output of **BLACK_F407VE using LAN8720 Ethernet and STM32Ethernet L

```
Start WebClient_LAN8720 on BLACK_F407VE, using LAN8720 Ethernet & STM32Ethernet Library
EthernetWebServer_STM32 v1.3.2
EthernetWebServer_STM32 v1.3.3
You're connected to the network, IP = 192.168.2.139
Starting connection to server...
Expand Down Expand Up @@ -1970,7 +1970,7 @@ Following is debug terminal output and screen shot when running example [Advance

```
Start AdvancedWebServer_LAN8720 on BLACK_F407VE, using LAN8720 Ethernet & STM32Ethernet Library
EthernetWebServer_STM32 v1.3.2
EthernetWebServer_STM32 v1.3.3
.[EWS] String Len = 0, extend to 2048
......... .......... .......... .......... .......... .......... .......... ..........
```
Expand Down Expand Up @@ -2038,7 +2038,7 @@ Submit issues to: [EthernetWebServer_STM32 issues](https://github.com/khoih-prog
8. Add support to **Ethernet LAN8720** using [STM32Ethernet library](https://github.com/stm32duino/STM32Ethernet), for boards such as **Nucleo-144 (F429ZI, NUCLEO_F746NG, NUCLEO_F746ZG, NUCLEO_F756ZG), Discovery (DISCO_F746NG)** and **STM32F4 boards (BLACK_F407VE, BLACK_F407VG, BLACK_F407ZE, BLACK_F407ZG, BLACK_F407VE_Mini, DIYMORE_F407VGT, FK407M1)**
9. Reduce usage of Arduino String with std::string
10. Optimize library code and examples by using **reference-passing instead of value-passing**

11. Fix authenticate issue and compiler warmings caused by libb64

---

Expand Down
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
## Table of Contents

* [Changelog](#changelog)
* [Releases v1.3.3](#releases-v133)
* [Releases v1.3.2](#releases-v132)
* [Releases v1.3.1](#releases-v131)
* [Major Releases v1.3.0](#major-releases-v130)
Expand All @@ -31,6 +32,10 @@

## Changelog

### Releases v1.3.3

1. Fix libb64 `fallthrough` compile warning

### Releases v1.3.2

1. Fix wrong http status header bug. Check [fix for wrong http status header #42](https://github.com/khoih-prog/EthernetWebServer/pull/42)
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "EthernetWebServer_STM32",
"version": "1.3.2",
"version": "1.3.3",
"keywords": "WebServer, built-in-Ethernet, STM32F, STM32L, STM32H, STM32G, STM32WB, STM32MP1, Ethernet-shield, Nucleo-144, Nucleo-64, Nucleo-32, LAN8742A, LAN8720, ENC28J60, W5x00, W5500, W5100, Ethernet, Ethernet2, Ethernet3, EthernetLarge, EtnernetENC, UIPEthernet, HTTP-Client, WebSocket-Client, server, client, websocket",
"description": "Simple Ethernet WebServer, HTTP Client and WebSocket Client library for STM32F/L/H/G/WB/MP1 boards running built-in Ethernet LAN8742A, LAN8720 or Ethernet W5x00, ENC28J60 shields",
"authors":
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=EthernetWebServer_STM32
version=1.3.2
version=1.3.3
author=Khoi Hoang
license=MIT
maintainer=Khoi Hoang <[email protected]>
Expand Down
4 changes: 2 additions & 2 deletions platformio/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ lib_deps =
EthernetLarge@~2.0.0
Ethernet2@~1.0.4
Ethernet3@~1.5.5
EthernetENC@~2.0.1
EthernetENC@~2.0.2
; PlatformIO 5.x
; stm32duino/STM32duino LwIP@~2.1.2
; stm32duino/STM32duino STM32Ethernet@~1.2.0
Expand All @@ -49,7 +49,7 @@ lib_deps =
; PaulStoffregen/EthernetLarge@~2.0.0
; adafruit/Ethernet2@~1.0.4
; sstaub/Ethernet3@~1.5.5
; jandrassy/EthernetENC@~2.0.1
; jandrassy/EthernetENC@~2.0.2

build_flags =
; set your build_flags
Expand Down
3 changes: 2 additions & 1 deletion src/EthernetHttpClient_STM32.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.3.2
Version: 1.3.3
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -31,6 +31,7 @@
1.3.0 K Hoang 20/12/2021 Reduce usage of Arduino String with std::string. Use reference passing instead of value-passing
1.3.1 K Hoang 25/12/2021 Fix bug
1.3.2 K Hoang 28/12/2021 Fix wrong http status header bug and authenticate issue caused by libb64
1.3.3 K Hoang 11/01/2022 Fix libb64 fallthrough compile warning
*************************************************************************************************************************************/

// Library to simplify HTTP fetching on Arduino
Expand Down
3 changes: 2 additions & 1 deletion src/EthernetWebServer_STM32-impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.3.2
Version: 1.3.3
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -31,6 +31,7 @@
1.3.0 K Hoang 20/12/2021 Reduce usage of Arduino String with std::string. Use reference passing instead of value-passing
1.3.1 K Hoang 25/12/2021 Fix bug
1.3.2 K Hoang 28/12/2021 Fix wrong http status header bug and authenticate issue caused by libb64
1.3.3 K Hoang 11/01/2022 Fix libb64 fallthrough compile warning
*************************************************************************************************************************************/

#pragma once
Expand Down
9 changes: 5 additions & 4 deletions src/EthernetWebServer_STM32.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.3.2
Version: 1.3.3
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -31,6 +31,7 @@
1.3.0 K Hoang 20/12/2021 Reduce usage of Arduino String with std::string. Use reference passing instead of value-passing
1.3.1 K Hoang 25/12/2021 Fix bug
1.3.2 K Hoang 28/12/2021 Fix wrong http status header bug and authenticate issue caused by libb64
1.3.3 K Hoang 11/01/2022 Fix libb64 fallthrough compile warning
*************************************************************************************************************************************/

#pragma once
Expand Down Expand Up @@ -59,13 +60,13 @@

#endif

#define ETHERNET_WEBSERVER_STM32_VERSION "EthernetWebServer_STM32 v1.3.2"
#define ETHERNET_WEBSERVER_STM32_VERSION "EthernetWebServer_STM32 v1.3.3"

#define ETHERNET_WEBSERVER_STM32_VERSION_MAJOR 1
#define ETHERNET_WEBSERVER_STM32_VERSION_MINOR 3
#define ETHERNET_WEBSERVER_STM32_VERSION_PATCH 2
#define ETHERNET_WEBSERVER_STM32_VERSION_PATCH 3

#define ETHERNET_WEBSERVER_STM32_VERSION_INT 1003002
#define ETHERNET_WEBSERVER_STM32_VERSION_INT 1003003

#define USE_NEW_WEBSERVER_VERSION true

Expand Down
3 changes: 2 additions & 1 deletion src/Ethernet_HTTPClient/Ethernet_HttpClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.3.2
Version: 1.3.3
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -31,6 +31,7 @@
1.3.0 K Hoang 20/12/2021 Reduce usage of Arduino String with std::string. Use reference passing instead of value-passing
1.3.1 K Hoang 25/12/2021 Fix bug
1.3.2 K Hoang 28/12/2021 Fix wrong http status header bug and authenticate issue caused by libb64
1.3.3 K Hoang 11/01/2022 Fix libb64 fallthrough compile warning
*************************************************************************************************************************************/

// Class to simplify HTTP fetching on Arduino
Expand Down
3 changes: 2 additions & 1 deletion src/Ethernet_HTTPClient/Ethernet_HttpClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.3.2
Version: 1.3.3
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -31,6 +31,7 @@
1.3.0 K Hoang 20/12/2021 Reduce usage of Arduino String with std::string. Use reference passing instead of value-passing
1.3.1 K Hoang 25/12/2021 Fix bug
1.3.2 K Hoang 28/12/2021 Fix wrong http status header bug and authenticate issue caused by libb64
1.3.3 K Hoang 11/01/2022 Fix libb64 fallthrough compile warning
*************************************************************************************************************************************/

// Class to simplify HTTP fetching on Arduino
Expand Down
3 changes: 2 additions & 1 deletion src/Ethernet_HTTPClient/Ethernet_URLEncoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.3.2
Version: 1.3.3
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -31,6 +31,7 @@
1.3.0 K Hoang 20/12/2021 Reduce usage of Arduino String with std::string. Use reference passing instead of value-passing
1.3.1 K Hoang 25/12/2021 Fix bug
1.3.2 K Hoang 28/12/2021 Fix wrong http status header bug and authenticate issue caused by libb64
1.3.3 K Hoang 11/01/2022 Fix libb64 fallthrough compile warning
*************************************************************************************************************************************/

// Library to simplify HTTP fetching on Arduino
Expand Down
3 changes: 2 additions & 1 deletion src/Ethernet_HTTPClient/Ethernet_URLEncoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.3.2
Version: 1.3.3
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -31,6 +31,7 @@
1.3.0 K Hoang 20/12/2021 Reduce usage of Arduino String with std::string. Use reference passing instead of value-passing
1.3.1 K Hoang 25/12/2021 Fix bug
1.3.2 K Hoang 28/12/2021 Fix wrong http status header bug and authenticate issue caused by libb64
1.3.3 K Hoang 11/01/2022 Fix libb64 fallthrough compile warning
*************************************************************************************************************************************/

// Library to simplify HTTP fetching on Arduino
Expand Down
3 changes: 2 additions & 1 deletion src/Ethernet_HTTPClient/Ethernet_WebSocketClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.3.2
Version: 1.3.3
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -31,6 +31,7 @@
1.3.0 K Hoang 20/12/2021 Reduce usage of Arduino String with std::string. Use reference passing instead of value-passing
1.3.1 K Hoang 25/12/2021 Fix bug
1.3.2 K Hoang 28/12/2021 Fix wrong http status header bug and authenticate issue caused by libb64
1.3.3 K Hoang 11/01/2022 Fix libb64 fallthrough compile warning
*************************************************************************************************************************************/

// (c) Copyright Arduino. 2016
Expand Down
3 changes: 2 additions & 1 deletion src/Ethernet_HTTPClient/Ethernet_WebSocketClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.3.2
Version: 1.3.3
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -31,6 +31,7 @@
1.3.0 K Hoang 20/12/2021 Reduce usage of Arduino String with std::string. Use reference passing instead of value-passing
1.3.1 K Hoang 25/12/2021 Fix bug
1.3.2 K Hoang 28/12/2021 Fix wrong http status header bug and authenticate issue caused by libb64
1.3.3 K Hoang 11/01/2022 Fix libb64 fallthrough compile warning
*************************************************************************************************************************************/

// (c) Copyright Arduino. 2016
Expand Down
3 changes: 2 additions & 1 deletion src/Parsing_STM32-impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.3.2
Version: 1.3.3
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -31,6 +31,7 @@
1.3.0 K Hoang 20/12/2021 Reduce usage of Arduino String with std::string. Use reference passing instead of value-passing
1.3.1 K Hoang 25/12/2021 Fix bug
1.3.2 K Hoang 28/12/2021 Fix wrong http status header bug and authenticate issue caused by libb64
1.3.3 K Hoang 11/01/2022 Fix libb64 fallthrough compile warning
*************************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/detail/Debug_STM32.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.3.2
Version: 1.3.3
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -31,6 +31,7 @@
1.3.0 K Hoang 20/12/2021 Reduce usage of Arduino String with std::string. Use reference passing instead of value-passing
1.3.1 K Hoang 25/12/2021 Fix bug
1.3.2 K Hoang 28/12/2021 Fix wrong http status header bug and authenticate issue caused by libb64
1.3.3 K Hoang 11/01/2022 Fix libb64 fallthrough compile warning
*************************************************************************************************************************************/

#pragma once
Expand Down
Loading

0 comments on commit cf97f1e

Please sign in to comment.