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

Commit cf11e32

Browse files
authored
v1.4.2 to fix libb64 fallthrough compile warning
### Releases v1.4.2 1. Fix libb64 `fallthrough` compile warnings
1 parent d7f3a7b commit cf11e32

File tree

6 files changed

+36
-30
lines changed

6 files changed

+36
-30
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Please ensure to specify the following:
2929
Arduino IDE version: 1.8.19
3030
STM32F7 Nucleo-144 NUCLEO_F767ZI, STM32 core v2.2.0
3131
OS: Ubuntu 20.04 LTS
32-
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
32+
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
3333
3434
Context:
3535
I encountered a crash while trying to use the Timer Interrupt.

README.md

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,8 @@ These boards are not supported:
298298
- [`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)
299299
- [`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)
300300
6. For ENC28J60 Ethernet:
301-
- [`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**
302-
- [`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)
301+
- [`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**
302+
- [`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)
303303

304304
---
305305

@@ -338,12 +338,12 @@ To use LAN8720 on some STM32 boards
338338
- **Discovery (DISCO_F746NG)**
339339
- **STM32F4 boards (BLACK_F407VE, BLACK_F407VG, BLACK_F407ZE, BLACK_F407ZG, BLACK_F407VE_Mini, DIYMORE_F407VGT, FK407M1)**
340340

341-
you have to copy the files [stm32f4xx_hal_conf_default.h](Packages_Patches/STM32/hardware/stm32/2.1.0/system/STM32F4xx) and [stm32f7xx_hal_conf_default.h](Packages_Patches/STM32/hardware/stm32/2.1.0/system/STM32F7xx) into STM32 stm32 directory (~/.arduino15/packages/STM32/hardware/stm32/2.1.0/system) to overwrite the old files.
341+
you have to copy the files [stm32f4xx_hal_conf_default.h](Packages_Patches/STM32/hardware/stm32/2.2.0/system/STM32F4xx) and [stm32f7xx_hal_conf_default.h](Packages_Patches/STM32/hardware/stm32/2.2.0/system/STM32F7xx) into STM32 stm32 directory (~/.arduino15/packages/STM32/hardware/stm32/2.2.0/system) to overwrite the old files.
342342

343-
Supposing the STM32 stm32 core version is 2.1.0. These files must be copied into the directory:
343+
Supposing the STM32 stm32 core version is 2.2.0. These files must be copied into the directory:
344344

345-
- `~/.arduino15/packages/STM32/hardware/stm32/2.1.0/system/STM32F4xx/stm32f4xx_hal_conf_default.h` for STM32F4.
346-
- `~/.arduino15/packages/STM32/hardware/stm32/2.1.0/system/STM32F7xx/stm32f7xx_hal_conf_default.h` for Nucleo-144 STM32F7.
345+
- `~/.arduino15/packages/STM32/hardware/stm32/2.2.0/system/STM32F4xx/stm32f4xx_hal_conf_default.h` for STM32F4.
346+
- `~/.arduino15/packages/STM32/hardware/stm32/2.2.0/system/STM32F7xx/stm32f7xx_hal_conf_default.h` for Nucleo-144 STM32F7.
347347

348348
Whenever a new version is installed, remember to copy this file into the new version directory. For example, new version is x.yy.zz,
349349
theses files must be copied into the corresponding directory:
@@ -354,12 +354,12 @@ theses files must be copied into the corresponding directory:
354354

355355
#### 2. For STM32 boards to use Serial1
356356

357-
**To use Serial1 on some STM32 boards without Serial1 definition (Nucleo-144 NUCLEO_F767ZI, Nucleo-64 NUCLEO_L053R8, etc.) boards**, you have to copy the files [STM32 variant.h](Packages_Patches/STM32/hardware/stm32/2.1.0) into STM32 stm32 directory (~/.arduino15/packages/STM32/hardware/stm32/2.1.0). You have to modify the files corresponding to your boards, this is just an illustration how to do.
357+
**To use Serial1 on some STM32 boards without Serial1 definition (Nucleo-144 NUCLEO_F767ZI, Nucleo-64 NUCLEO_L053R8, etc.) boards**, you have to copy the files [STM32 variant.h](Packages_Patches/STM32/hardware/stm32/2.2.0) into STM32 stm32 directory (~/.arduino15/packages/STM32/hardware/stm32/2.2.0). You have to modify the files corresponding to your boards, this is just an illustration how to do.
358358

359-
Supposing the STM32 stm32 core version is 2.1.0. These files must be copied into the directory:
359+
Supposing the STM32 stm32 core version is 2.2.0. These files must be copied into the directory:
360360

361-
- `~/.arduino15/packages/STM32/hardware/stm32/2.1.0/variants/STM32F7xx/F765Z(G-I)T_F767Z(G-I)T_F777ZIT/NUCLEO_F767ZI/variant.h` for Nucleo-144 NUCLEO_F767ZI.
362-
- `~/.arduino15/packages/STM32/hardware/stm32/2.1.0/variants/STM32L0xx/L052R(6-8)T_L053R(6-8)T_L063R8T/NUCLEO_L053R8/variant.h` for Nucleo-64 NUCLEO_L053R8.
361+
- `~/.arduino15/packages/STM32/hardware/stm32/2.2.0/variants/STM32F7xx/F765Z(G-I)T_F767Z(G-I)T_F777ZIT/NUCLEO_F767ZI/variant.h` for Nucleo-144 NUCLEO_F767ZI.
362+
- `~/.arduino15/packages/STM32/hardware/stm32/2.2.0/variants/STM32L0xx/L052R(6-8)T_L053R(6-8)T_L063R8T/NUCLEO_L053R8/variant.h` for Nucleo-64 NUCLEO_L053R8.
363363

364364
Whenever a new version is installed, remember to copy this file into the new version directory. For example, new version is x.yy.zz,
365365
theses files must be copied into the corresponding directory:
@@ -1641,7 +1641,7 @@ Following is debug terminal output and screen shot when running example [Advance
16411641

16421642
```
16431643
Start AdvancedWebServer on NUCLEO_F767ZI, using LAN8742A Ethernet & STM32Ethernet Library
1644-
EthernetWebServer_SSL_STM32 v1.4.1
1644+
EthernetWebServer_SSL_STM32 v1.4.2
16451645
HTTP EthernetWebServer is @ IP : 192.168.2.117
16461646
.[EWS] String Len = 0, extend to 2048
16471647
EthernetWebServer::handleClient: New Client
@@ -1766,7 +1766,7 @@ The following is debug terminal output when running example [WebClientRepeating]
17661766

17671767
```
17681768
Start WebClientRepeating on NUCLEO_F767ZI, using ENC28J60 & EthernetENC Library
1769-
EthernetWebServer_SSL_STM32 v1.4.1
1769+
EthernetWebServer_SSL_STM32 v1.4.2
17701770
[ETHERNET_WEBSERVER] Board : NUCLEO_F767ZI , setCsPin: 10
17711771
[ETHERNET_WEBSERVER] Default SPI pinout:
17721772
[ETHERNET_WEBSERVER] MOSI: 11
@@ -1841,7 +1841,7 @@ Disconnecting from server...
18411841

18421842
```
18431843
Start UdpNTPClient on NUCLEO_F767ZI, using W5x00 & Ethernet2 Library
1844-
EthernetWebServer_SSL_STM32 v1.4.1
1844+
EthernetWebServer_SSL_STM32 v1.4.2
18451845
[ETHERNET_WEBSERVER] Board : NUCLEO_F767ZI , setCsPin: 10
18461846
[ETHERNET_WEBSERVER] Default SPI pinout:
18471847
[ETHERNET_WEBSERVER] MOSI: 11
@@ -1865,7 +1865,7 @@ The UTC time is 22:20:21
18651865

18661866
```
18671867
Start WebClient_SSL on NUCLEO_F767ZI with LAN8742A Ethernet & STM32Ethernet Library
1868-
EthernetWebServer_SSL_STM32 v1.4.1
1868+
EthernetWebServer_SSL_STM32 v1.4.2
18691869
[ETHERNET_WEBSERVER] =========================
18701870
[ETHERNET_WEBSERVER] Default SPI pinout:
18711871
[ETHERNET_WEBSERVER] MOSI: 11
@@ -1970,7 +1970,7 @@ The terminal output of **NUCLEO_F767ZI with W5x00 & Ethernet3 Library** running
19701970

19711971
```
19721972
Start WebClient_SSL on NUCLEO_F767ZI with W5x00 & Ethernet3 Library
1973-
EthernetWebServer_SSL_STM32 v1.4.1
1973+
EthernetWebServer_SSL_STM32 v1.4.2
19741974
[ETHERNET_WEBSERVER] =========== USE_ETHERNET3 ===========
19751975
[ETHERNET_WEBSERVER] Default SPI pinout:
19761976
[ETHERNET_WEBSERVER] MOSI: 11
@@ -2074,7 +2074,7 @@ The terminal output of **NUCLEO_F767ZI with ENC28J60 & EthernetENC Library** run
20742074

20752075
```
20762076
Start WebClientMulti_SSL on NUCLEO_F767ZI with ENC28J60 & EthernetENC Library
2077-
EthernetWebServer_SSL_STM32 v1.4.1
2077+
EthernetWebServer_SSL_STM32 v1.4.2
20782078
[ETHERNET_WEBSERVER] =========================
20792079
[ETHERNET_WEBSERVER] Default SPI pinout:
20802080
[ETHERNET_WEBSERVER] MOSI: 11
@@ -2210,7 +2210,7 @@ The terminal output of **NUCLEO_F767ZI with LAN8742A Ethernet & STM32Ethernet Li
22102210

22112211
```
22122212
Start MQTTClient_SSL_Complex on NUCLEO_F767ZI with LAN8742A Ethernet & STM32Ethernet Library
2213-
EthernetWebServer_SSL_STM32 v1.4.1
2213+
EthernetWebServer_SSL_STM32 v1.4.2
22142214
[ETHERNET_WEBSERVER] Board : NUCLEO_F767ZI , setCsPin: 10
22152215
[ETHERNET_WEBSERVER] Default SPI pinout:
22162216
[ETHERNET_WEBSERVER] MOSI: 11
@@ -2244,7 +2244,7 @@ The terminal output of **NUCLEO_F767ZI with W5x00 & Ethernet2 Library** running
22442244

22452245
```
22462246
Start MQTTClient_SSL_Complex on NUCLEO_F767ZI with W5x00 & Ethernet2 Library
2247-
EthernetWebServer_SSL_STM32 v1.4.1
2247+
EthernetWebServer_SSL_STM32 v1.4.2
22482248
[ETHERNET_WEBSERVER] Board : NUCLEO_F767ZI , setCsPin: 10
22492249
[ETHERNET_WEBSERVER] Default SPI pinout:
22502250
[ETHERNET_WEBSERVER] MOSI: 11
@@ -2276,7 +2276,7 @@ The terminal output of **NUCLEO_F767ZI with LAN8742A Ethernet & STM32Ethernet Li
22762276

22772277
```
22782278
Start MQTTS_ThingStream on NUCLEO_F767ZI with LAN8742A Ethernet & STM32Ethernet Library
2279-
EthernetWebServer_SSL_STM32 v1.4.1
2279+
EthernetWebServer_SSL_STM32 v1.4.2
22802280
[ETHERNET_WEBSERVER] Board : NUCLEO_F767ZI , setCsPin: 10
22812281
[ETHERNET_WEBSERVER] Default SPI pinout:
22822282
[ETHERNET_WEBSERVER] MOSI: 11
@@ -2310,7 +2310,7 @@ The terminal output of **NUCLEO_F767ZI with ENC28J60 & EthernetENC Library** run
23102310

23112311
```
23122312
Start MQTTS_ThingStream_ThingStream on NUCLEO_F767ZI with ENC28J60 & EthernetENC Library
2313-
EthernetWebServer_SSL_STM32 v1.4.1
2313+
EthernetWebServer_SSL_STM32 v1.4.2
23142314
[ETHERNET_WEBSERVER] Board : NUCLEO_F767ZI , setCsPin: 10
23152315
[ETHERNET_WEBSERVER] Default SPI pinout:
23162316
[ETHERNET_WEBSERVER] MOSI: 11
@@ -2342,7 +2342,7 @@ The terminal output of **NUCLEO_F767ZI with W5x00 & Ethernet3 Library** running
23422342

23432343
```
23442344
Start MQTTS_ThingStream_ThingStream on NUCLEO_F767ZI with W5x00 & Ethernet3 Library
2345-
EthernetWebServer_SSL_STM32 v1.4.1
2345+
EthernetWebServer_SSL_STM32 v1.4.2
23462346
[ETHERNET_WEBSERVER] Board : NUCLEO_F767ZI , setCsPin: 10
23472347
[ETHERNET_WEBSERVER] Default SPI pinout:
23482348
[ETHERNET_WEBSERVER] MOSI: 11
@@ -2376,7 +2376,7 @@ The terminal output of **BLACK_F407VE with LAN8720 Ethernet and STM32Ethernet Li
23762376

23772377
```
23782378
Start MQTTS_ThingStream_ThingStream on on BLACK_F407VE with LAN8720 Ethernet & STM32Ethernet Library
2379-
EthernetWebServer_SSL_STM32 v1.4.1
2379+
EthernetWebServer_SSL_STM32 v1.4.2
23802380
You're connected to the network, IP = 192.168.2.107
23812381
***************************************
23822382
esp32-sniffer/12345678/ble
@@ -2400,7 +2400,7 @@ The terminal output of **BLACK_F407VE with LAN8720 Ethernet and STM32Ethernet Li
24002400

24012401
```
24022402
Start WebClient_SSL_LAN8720 on BLACK_F407VE with LAN8720 Ethernet & STM32Ethernet Library
2403-
EthernetWebServer_SSL_STM32 v1.4.1
2403+
EthernetWebServer_SSL_STM32 v1.4.2
24042404
Using mac index = 6
24052405
Connected! IP address: 192.168.2.138
24062406
Connecting to : www.arduino.cc, port : 443
@@ -2482,7 +2482,7 @@ The terminal output of **BLACK_F407VE with LAN8720 Ethernet and STM32Ethernet Li
24822482

24832483
```
24842484
Start MQTTClient_SSL_LAN8720 on BLACK_F407VE with LAN8720 Ethernet & STM32Ethernet Library
2485-
EthernetWebServer_SSL_STM32 v1.4.1
2485+
EthernetWebServer_SSL_STM32 v1.4.2
24862486
You're connected to the network, IP = 192.168.2.138
24872487
Attempting MQTT connection to broker.emqx.io...connected
24882488
Published connection message successfully!
@@ -2506,7 +2506,7 @@ The terminal output of **BLACK_F407VE with LAN8720 Ethernet and STM32Ethernet Li
25062506

25072507
```
25082508
Start MQTTClient_SSL_Complex_LAN8720 on BLACK_F407VE with LAN8720 Ethernet & STM32Ethernet Library
2509-
EthernetWebServer_SSL_STM32 v1.4.1
2509+
EthernetWebServer_SSL_STM32 v1.4.2
25102510
You're connected to the network, IP = 192.168.2.142
25112511
Attempting MQTT connection to broker.emqx.io...connected
25122512
Published connection message successfully!
@@ -2581,6 +2581,7 @@ Submit issues to: [EthernetWebServer_SSL_STM32 issues](https://github.com/khoih-
25812581
9. 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)**
25822582
10. Reduce usage of Arduino String with std::string
25832583
11. Optimize library code and examples by using **reference-passing instead of value-passing**.
2584+
12. Fix authenticate issue and compiler warnings caused by libb64
25842585

25852586
---
25862587

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
## Table of Contents
1313

1414
* [Changelog](#changelog)
15+
* [Releases v1.4.2](#releases-v142)
1516
* [Releases v1.4.1](#releases-v141)
1617
* [Major Releases v1.4.0](#major-releases-v140)
1718
* [Releases v1.3.1](#releases-v131)
@@ -27,6 +28,10 @@
2728

2829
## Changelog
2930

31+
### Releases v1.4.2
32+
33+
1. Fix libb64 `fallthrough` compile warnings
34+
3035
### Releases v1.4.1
3136

3237
1. Fix wrong http status header bug. Check [fix for wrong http status header #42](https://github.com/khoih-prog/EthernetWebServer/pull/42)

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "EthernetWebServer_SSL_STM32",
3-
"version": "1.4.1",
3+
"version": "1.4.2",
44
"keywords": "WebServer, built-in Ethernet, Arduino, STM32F, STM32L, STM32H, STM32G, STM32WB, STM32MP1, Ethernet shield, Nucleo-144, Nucleo-64, Nucleo-32, LAN8742A, LAN8720, ENC28J60, W5x00, W5500, W5100, SSL, TLS, HTTP-Client, WebSocket-Client, server, client, websocket",
55
"description": "Simple TLS/SSL 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. The WebServer supports HTTP/HTTPS GET and POST requests, provides argument parsing, handles one client at a time. It now provides HTTP(S) Client and Secured WebSockets Client. It supports Arduino STM32F/L/H/G/WB/MP1 series with 32+ Kbytes of Flash, using built-in LAN8742A Ethernet (Nucleo-144: F429ZI, F767ZI, Discovery: STM32F746G-DISCOVERY), or LAN8720, ENC28J60, W5x00 Ethernet shields.",
66
"authors":

library.properties

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

platformio/platformio.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ lib_deps =
3939
EthernetLarge@~2.0.0
4040
Ethernet2@~1.0.4
4141
Ethernet3@~1.5.5
42-
EthernetENC@~2.0.1
42+
EthernetENC@~2.0.2
4343
; PlatformIO 5.x
4444
; stm32duino/STM32duino LwIP@~2.1.2
4545
; stm32duino/STM32duino STM32Ethernet@~1.2.0
@@ -49,7 +49,7 @@ lib_deps =
4949
; PaulStoffregen/EthernetLarge@~2.0.0
5050
; adafruit/Ethernet2@~1.0.4
5151
; sstaub/Ethernet3@~1.5.5
52-
; jandrassy/EthernetENC@~2.0.1
52+
; jandrassy/EthernetENC@~2.0.2
5353

5454
build_flags =
5555
; set your build_flags

0 commit comments

Comments
 (0)