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

Commit 256f772

Browse files
authored
v1.9.2 to slow SPI clock only when necessary
### Releases v1.9.2 1. Slow SPI clock for old `W5100` shield or `SAMD Zero` 2. Use correct Debug Terminal `Serial` for so-called **SAMD21 Zero** boards from Arduino as well as Adafruit 3. Update `Packages' Patches`
1 parent 239124a commit 256f772

File tree

6 files changed

+107
-30
lines changed

6 files changed

+107
-30
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ OS: Ubuntu 20.04 LTS
3333
Linux xy-Inspiron-3593 5.15.0-46-generic #49~20.04.1-Ubuntu SMP Thu Aug 4 19:15:44 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
3434
3535
Context:
36-
I encountered a crash while trying to use the Timer Interrupt.
36+
I encountered a crash while trying to use the library
3737
3838
Steps to reproduce:
3939
1. ...

README.md

Lines changed: 94 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
## Table of Contents
1616

17+
* [Important Note from v1.9.2](#Important-Note-from-v192)
1718
* [Why do we need this EthernetWebServer_SSL library](#why-do-we-need-this-ethernetwebserver_ssl-library)
1819
* [Features](#features)
1920
* [Currently supported Boards](#currently-supported-boards)
@@ -164,6 +165,7 @@
164165
* [16. AdvancedWebServer on RASPBERRY_PI_PICO with W5x00 using Ethernet_Generic Library on SPI1](#16-AdvancedWebServer-on-RASPBERRY_PI_PICO-with-W5x00-using-Ethernet_Generic-Library-on-SPI1)
165166
* [17. AdvancedWebServer_RP2040_SPI1 on MBED RASPBERRY_PI_PICO with W5x00 using Ethernet_Generic Library on SPI1](#17-AdvancedWebServer_RP2040_SPI1-on-MBED-RASPBERRY_PI_PICO-with-W5x00-using-Ethernet_Generic-Library-on-SPI1)
166167
* [18. AdvancedWebServer_Teensy4x_SPI1 on TEENSY 4.1 with W5x00 using Ethernet_Generic Library on SPI1](#18-AdvancedWebServer_Teensy4x_SPI1-on-TEENSY-41-with-W5x00-using-Ethernet_Generic-Library-on-SPI1)
168+
* [19. MQTTClient_SSL on SAMD_ZERO with W5x00 using Ethernet_Generic Library](#19-MQTTClient_SSL-on-SAMD_ZERO-with-W5x00-using-Ethernet_Generic-Library)
167169
* [Debug](#debug)
168170
* [Troubleshooting](#troubleshooting)
169171
* [Issues](#issues)
@@ -177,6 +179,38 @@
177179
---
178180
---
179181

182+
### Important Note from v1.9.2
183+
184+
To be safe for systems using old `W5100` shields, the **examples** are using `optional` conservative values for SPI clock speed of 14MHz and `SPI_MODE0`
185+
186+
For `SAMD21 M0`, such as `SAMD Zero`, SPI clock speed of 8MHz and `SPI_MODE0` are used.
187+
188+
189+
```
190+
// Default to use W5100. Must change to false for W5500, W5100S, for faster SPI clock
191+
// Must use true for SAMD21, such as Zero, SAMD_FEATHER_M0_EXPRESS, etc.
192+
#define USE_W5100 true
193+
```
194+
195+
To use with shields different from `W5100`, such as `W5200, W5500, W5100S`, change to
196+
197+
```
198+
// Default to use W5100. Must change to false for W5500, W5100S, for faster SPI clock
199+
#define USE_W5100 false
200+
```
201+
202+
For Arduino SAMD21 Zero, in order to print to Terminal, use `SERIAL_PORT_USBVIRTUAL` == `SerialUSB`
203+
204+
```
205+
// Use this for ARDUINO_SAMD_ZERO, etc. if can't print to terminal with Serial.print
206+
#if defined(SERIAL_PORT_USBVIRTUAL)
207+
#define Serial SERIAL_PORT_USBVIRTUAL
208+
#warning Using SAMD Zero SerialUSB
209+
#endif
210+
```
211+
212+
---
213+
180214
### Why do we need this [EthernetWebServer_SSL library](https://github.com/khoih-prog/EthernetWebServer_SSL)
181215

182216
#### Features
@@ -258,11 +292,11 @@ This [**EthernetWebServer_SSL** library](https://github.com/khoih-prog/EthernetW
258292
9. [`ESP32 Core 2.0.4+`](https://github.com/espressif/arduino-esp32) for ESP32-based boards. [![Latest release](https://img.shields.io/github/release/espressif/arduino-esp32.svg)](https://github.com/espressif/arduino-esp32/releases/latest/)
259293
10. [`ESP8266 Core 3.0.2+`](https://github.com/esp8266/Arduino) for ESP8266-based boards. [![Latest release](https://img.shields.io/github/release/esp8266/Arduino.svg)](https://github.com/esp8266/Arduino/releases/latest/). To use ESP8266 core 2.7.1+ for LittleFS.
260294
11. [`ArduinoCore-mbed mbed_rp2040, mbed_nano, mbed_portenta core 3.1.1+`](https://github.com/arduino/ArduinoCore-mbed) for Arduino (Use Arduino Board Manager) **Portenta_H7, RP2040-based boards, such as Nano_RP2040_Connect, RASPBERRY_PI_PICO**. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-mbed.svg)](https://github.com/arduino/ArduinoCore-mbed/releases/latest)
261-
12. [`Earle Philhower's arduino-pico core v2.4.1+`](https://github.com/earlephilhower/arduino-pico) for RP2040-based boards such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, etc. [![GitHub release](https://img.shields.io/github/release/earlephilhower/arduino-pico.svg)](https://github.com/earlephilhower/arduino-pico/releases/latest)
295+
12. [`Earle Philhower's arduino-pico core v2.5.2+`](https://github.com/earlephilhower/arduino-pico) for RP2040-based boards such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, etc. [![GitHub release](https://img.shields.io/github/release/earlephilhower/arduino-pico.svg)](https://github.com/earlephilhower/arduino-pico/releases/latest)
262296
13. [`ArduinoCore-fab-sam core v1.7.0+`](https://github.com/qbolsee/ArduinoCore-fab-sam) for SAMD21/SAMD51-based boards. [![GitHub release](https://img.shields.io/github/release/qbolsee/ArduinoCore-fab-sam.svg)](https://github.com/qbolsee/ArduinoCore-fab-sam/releases/latest)
263297
14. [`Functional-VLPP library v1.0.2+`](https://github.com/khoih-prog/functional-vlpp) to use server's lambda function. To install. check [![arduino-library-badge](https://www.ardu-badge.com/badge/Functional-Vlpp.svg?)](https://www.ardu-badge.com/Functional-Vlpp)
264298
15. Depending on which Ethernet card you're using:
265-
- [`Ethernet_Generic library v2.5.0+`](https://github.com/khoih-prog/Ethernet_Generic) for W5100, W5200 and W5500/WIZ550io/WIZ850io/USR-ES1 with Wiznet W5500 chip. [![GitHub release](https://img.shields.io/github/release/khoih-prog/Ethernet_Generic.svg)](https://github.com/khoih-prog/Ethernet_Generic/releases/latest)
299+
- [`Ethernet_Generic library v2.5.2+`](https://github.com/khoih-prog/Ethernet_Generic) for W5100, W5200 and W5500/WIZ550io/WIZ850io/USR-ES1 with Wiznet W5500 chip. [![GitHub release](https://img.shields.io/github/release/khoih-prog/Ethernet_Generic.svg)](https://github.com/khoih-prog/Ethernet_Generic/releases/latest)
266300
- [`EthernetENC library v2.0.3+`](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**
267301
- [`UIPEthernet library v2.0.12+`](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)
268302
- [`NativeEthernet Library version stable111+`](https://github.com/vjmuzik/NativeEthernet) for Teensy 4.1 built-in Ethernet.
@@ -553,11 +587,11 @@ This file must be copied into the directory:
553587

554588
#### 11. For SAMD21 and SAMD51 boards using ArduinoCore-fab-sam core
555589

556-
To avoid compile error relating to SAMD21/SAMD51, you have to copy the file [ArduinoCore-fab-sam core pgmspace.h](Packages_Patches/Fab_SAM_Arduino/hardware/samd/1.6.18-alpha2/boards.txt) into `ArduinoCore-fab-sam` samd directory (~/.arduino15/packages/Fab_SAM_Arduino/hardware/samd/1.6.18-alpha2/boards.txt).
590+
To avoid compile error relating to SAMD21/SAMD51, you have to copy the file [ArduinoCore-fab-sam core pgmspace.h](Packages_Patches/Fab_SAM_Arduino/hardware/samd/1.7.0/boards.txt) into `ArduinoCore-fab-sam` samd directory (~/.arduino15/packages/Fab_SAM_Arduino/hardware/samd/1.7.0/boards.txt).
557591

558-
Supposing the `ArduinoCore-fab-sam` samd core version is 1.6.18-alpha2. This file must be copied into the directory:
592+
Supposing the `ArduinoCore-fab-sam` samd core version is 1.7.0. This file must be copied into the directory:
559593

560-
- `~/.arduino15/packages/Fab_SAM_Arduino/hardware/samd/1.6.18-alpha2/boards.txt`
594+
- `~/.arduino15/packages/Fab_SAM_Arduino/hardware/samd/1.7.0/boards.txt`
561595

562596
Whenever a new version is installed, remember to copy this file into the new version directory. For example, new version is x.yy.zz
563597
This file must be copied into the directory:
@@ -1549,14 +1583,14 @@ If for some unfortunate reason you need SSL 3.0 or SSL 2.0, you will need to mod
15491583

15501584
#### 1. File [AdvancedWebServer.ino](examples/AdvancedWebServer/AdvancedWebServer.ino)
15511585

1552-
https://github.com/khoih-prog/EthernetWebServer_SSL/blob/9837e0309cf9a649f81085f0ac9fd4bf5b549555/examples/AdvancedWebServer/AdvancedWebServer.ino#L38-L424
1586+
https://github.com/khoih-prog/EthernetWebServer_SSL/blob/239124ae80ebb41634de25a63115726140e16208/examples/AdvancedWebServer/AdvancedWebServer.ino#L38-L424
15531587

15541588

15551589
---
15561590

15571591
#### 2. File [defines.h](examples/AdvancedWebServer/defines.h)
15581592

1559-
https://github.com/khoih-prog/EthernetWebServer_SSL/blob/9837e0309cf9a649f81085f0ac9fd4bf5b549555/examples/AdvancedWebServer/defines.h#L10-L493
1593+
https://github.com/khoih-prog/EthernetWebServer_SSL/blob/239124ae80ebb41634de25a63115726140e16208/examples/AdvancedWebServer/defines.h#L10-L504
15601594

15611595
---
15621596
---
@@ -1573,7 +1607,7 @@ The following are debug terminal output and screen shot when running example [Ad
15731607

15741608
```
15751609
Starting AdvancedWebServer on NRF52840_FEATHER with ENC28J60 using EthernetENC Library
1576-
EthernetWebServer_SSL v1.9.1
1610+
EthernetWebServer_SSL v1.9.2
15771611
[ETHERNET_WEBSERVER] =========================
15781612
[ETHERNET_WEBSERVER] Default SPI pinout:
15791613
[ETHERNET_WEBSERVER] MOSI: 25
@@ -1751,7 +1785,7 @@ The terminal output of **SAM DUE with W5x00 using Ethernet_Generic Library** run
17511785

17521786
```
17531787
Start WebClientMulti_SSL on SAM DUE with W5x00 using Ethernet_Generic Library
1754-
EthernetWebServer_SSL v1.9.1
1788+
EthernetWebServer_SSL v1.9.2
17551789
[ETHERNET_WEBSERVER] =========== USE_ETHERNET_GENERIC ===========
17561790
[ETHERNET_WEBSERVER] Default SPI pinout:
17571791
[ETHERNET_WEBSERVER] MOSI: 75
@@ -1883,7 +1917,7 @@ The terminal output of **SEEED_XIAO_M0 with W5x00 using Ethernet_Generic Library
18831917

18841918
```
18851919
Start WebClient_SSL on SEEED_XIAO_M0 with W5x00 using Ethernet_Generic Library
1886-
EthernetWebServer_SSL v1.9.1
1920+
EthernetWebServer_SSL v1.9.2
18871921
[ETHERNET_WEBSERVER] =========== USE_ETHERNET_GENERIC ===========
18881922
[ETHERNET_WEBSERVER] Default SPI pinout:
18891923
[ETHERNET_WEBSERVER] MOSI: 10
@@ -1978,7 +2012,7 @@ Received 3405 bytes in 0.2072 s, rate = 16.43 kbytes/second
19782012

19792013
```
19802014
Start MQTTClient_SSL_Complex on SAM DUE with W5x00 using Ethernet_Generic Library
1981-
EthernetWebServer_SSL v1.9.1
2015+
EthernetWebServer_SSL v1.9.2
19822016
[ETHERNET_WEBSERVER] =========== USE_ETHERNET_GENERIC ===========
19832017
[ETHERNET_WEBSERVER] Default SPI pinout:
19842018
[ETHERNET_WEBSERVER] MOSI: 75
@@ -2016,7 +2050,7 @@ The terminal output of **SEEED_XIAO_M0 with W5x00 using Ethernet_Generic Library
20162050

20172051
```
20182052
Start MQTTS_ThingStream on SEEED_XIAO_M0 with W5x00 using Ethernet_Generic Library
2019-
EthernetWebServer_SSL v1.9.1
2053+
EthernetWebServer_SSL v1.9.2
20202054
[ETHERNET_WEBSERVER] Board : SEEED_XIAO_M0 , setCsPin: 1
20212055
[ETHERNET_WEBSERVER] Default SPI pinout:
20222056
[ETHERNET_WEBSERVER] MOSI: 10
@@ -2048,7 +2082,7 @@ The terminal output of **MBED RASPBERRY_PI_PICO with W5x00 using Ethernet_Generi
20482082

20492083
```
20502084
Start MQTTS_ThingStream on MBED RASPBERRY_PI_PICO with W5x00 using Ethernet_Generic Library
2051-
EthernetWebServer_SSL v1.9.1
2085+
EthernetWebServer_SSL v1.9.2
20522086
[ETHERNET_WEBSERVER] =========== USE_ETHERNET_GENERIC ===========
20532087
[ETHERNET_WEBSERVER] Default SPI pinout:
20542088
[ETHERNET_WEBSERVER] MOSI: 3
@@ -2079,7 +2113,7 @@ The terminal output of **MBED RASPBERRY_PI_PICO with W5x00 using Ethernet_Generi
20792113

20802114
```
20812115
Start MQTTClient_SSL on MBED RASPBERRY_PI_PICO with W5x00 using Ethernet_Generic Library
2082-
EthernetWebServer_SSL v1.9.1
2116+
EthernetWebServer_SSL v1.9.2
20832117
[ETHERNET_WEBSERVER] =========== USE_ETHERNET_GENERIC ===========
20842118
[ETHERNET_WEBSERVER] Default SPI pinout:
20852119
[ETHERNET_WEBSERVER] MOSI: 3
@@ -2125,7 +2159,7 @@ The following are debug terminal output and screen shot when running example [Ad
21252159

21262160
```
21272161
Starting AdvancedWebServer on MBED RASPBERRY_PI_PICO with W5x00 using Ethernet_Generic Library
2128-
EthernetWebServer_SSL v1.9.1
2162+
EthernetWebServer_SSL v1.9.2
21292163
[EWS] =========== USE_ETHERNET_GENERIC ===========
21302164
[EWS] Default SPI pinout:
21312165
[EWS] MOSI: 3
@@ -2157,7 +2191,7 @@ The terminal output of **RASPBERRY_PI_PICO with W5x00 using Ethernet_Generic Lib
21572191

21582192
```
21592193
Start MQTTClient_SSL on RASPBERRY_PI_PICO with W5x00 using Ethernet_Generic Library
2160-
EthernetWebServer_SSL v1.9.1
2194+
EthernetWebServer_SSL v1.9.2
21612195
[ETHERNET_WEBSERVER] =========== USE_ETHERNET_GENERIC ===========
21622196
[ETHERNET_WEBSERVER] Default SPI pinout:
21632197
[ETHERNET_WEBSERVER] MOSI: 19
@@ -2196,7 +2230,7 @@ The following are debug terminal output and screen shot when running example [Ad
21962230

21972231
```
21982232
Starting AdvancedWebServer on RASPBERRY_PI_PICO with W5x00 using Ethernet_Generic Library
2199-
EthernetWebServer_SSL v1.9.1
2233+
EthernetWebServer_SSL v1.9.2
22002234
[ETHERNET_WEBSERVER] =========== USE_ETHERNET_GENERIC ===========
22012235
[ETHERNET_WEBSERVER] Default SPI pinout:
22022236
[ETHERNET_WEBSERVER] MOSI: 19
@@ -2233,7 +2267,7 @@ The following are debug terminal output and screen shot when running example [Ad
22332267

22342268
```
22352269
Starting AdvancedWebServer_QNEthernet on TEENSY 4.1 using QNEthernet
2236-
EthernetWebServer_SSL v1.9.1
2270+
EthernetWebServer_SSL v1.9.2
22372271
[ETHERNET_WEBSERVER] =========== USE_QN_ETHERNET ===========
22382272
Initialize Ethernet using static IP => IP Address = 192.168.2.222
22392273
HTTP EthernetWebServer is @ IP : 192.168.2.222
@@ -2250,7 +2284,7 @@ The following are debug terminal output and screen shot when running example [MQ
22502284

22512285
```
22522286
Starting MQTTClient_SSL on TEENSY 4.1 using QNEthernet
2253-
EthernetWebServer_SSL v1.9.1
2287+
EthernetWebServer_SSL v1.9.2
22542288
[ETHERNET_WEBSERVER] =========== USE_QN_ETHERNET ===========
22552289
Initialize Ethernet using static IP => IP Address = 192.168.2.222
22562290
Attempting MQTTS connection to broker.emqx.io...connected
@@ -2280,7 +2314,7 @@ The following are debug terminal output and screen shot when running example [We
22802314

22812315
```
22822316
Starting WebClientMulti_SSL on TEENSY 4.1 using QNEthernet
2283-
EthernetWebServer_SSL v1.9.1
2317+
EthernetWebServer_SSL v1.9.2
22842318
[ETHERNET_WEBSERVER] =========== USE_QN_ETHERNET ===========
22852319
Initialize Ethernet using static IP => IP Address = 192.168.2.222
22862320
@@ -2363,7 +2397,7 @@ The following are debug terminal output and screen shot when running example [Ad
23632397
```
23642398
23652399
Starting AdvancedWebServer on PORTENTA_H7_M7 with Ethernet using Portenta_Ethernet Library
2366-
EthernetWebServer_SSL v1.9.1
2400+
EthernetWebServer_SSL v1.9.2
23672401
[ETHERNET_WEBSERVER] ======== USE_PORTENTA_H7_ETHERNET ========
23682402
Using mac index = 2
23692403
Connected! IP address: 192.168.2.101
@@ -2386,7 +2420,7 @@ The following are debug terminal output and screen shot when running example [Ad
23862420

23872421
```
23882422
Starting AdvancedWebServer on RASPBERRY_PI_PICO with W5x00 using Ethernet_Generic Library on SPI1
2389-
EthernetWebServer_SSL v1.9.1
2423+
EthernetWebServer_SSL v1.9.2
23902424
[EWS] =========== USE_ETHERNET_GENERIC ===========
23912425
[EWS] Default SPI pinout:
23922426
[EWS] MOSI: 15
@@ -2423,7 +2457,7 @@ The following are debug terminal output and screen shot when running example [Ad
24232457

24242458
```
24252459
Starting AdvancedWebServer_RP2040_SPI1 on MBED RASPBERRY_PI_PICO with W5x00 using Ethernet_Generic Library with Large Buffer
2426-
EthernetWebServer_SSL v1.9.1
2460+
EthernetWebServer_SSL v1.9.2
24272461
[EWS] =========== USE_ETHERNET_GENERIC ===========
24282462
[EWS] Default SPI pinout:
24292463
[EWS] MOSI: 15
@@ -2461,7 +2495,7 @@ The following are debug terminal output and screen shot when running example [Ad
24612495

24622496
```
24632497
Starting AdvancedWebServer_Teensy4x_SPI1 on TEENSY 4.1 with W5x00 using Ethernet_Generic Library with Large Buffer
2464-
EthernetWebServer_SSL v1.9.1
2498+
EthernetWebServer_SSL v1.9.2
24652499
[EWS] =========== USE_ETHERNET_GENERIC ===========
24662500
[EWS] Default SPI pinout:
24672501
[EWS] MOSI: 26
@@ -2485,6 +2519,39 @@ HTTP EthernetWebServer is @ IP : 192.168.2.95
24852519
```
24862520

24872521

2522+
---
2523+
2524+
#### 19. MQTTClient_SSL on SAMD_ZERO with W5x00 using Ethernet_Generic Library
2525+
2526+
The following are debug terminal output and screen shot when running example [MQTTClient_SSL](examples/MQTTClient_SSL) on **SAMD_ZERO** with W5100 using Ethernet_Generic Library on SPI
2527+
2528+
2529+
```
2530+
Start MQTTClient_SSL on SAMD_ZERO with W5x00 using Ethernet_Generic Library on SPI0/SPI
2531+
EthernetWebServer_SSL v1.9.2
2532+
[EWS] =========== USE_ETHERNET_GENERIC ===========
2533+
[EWS] Default SPI pinout:
2534+
[EWS] MOSI: 23
2535+
[EWS] MISO: 22
2536+
[EWS] SCK: 24
2537+
[EWS] SS: 16
2538+
[EWS] =========================
2539+
[EWS] Board : SAMD_ZERO , setCsPin: 10
2540+
[EWS] =========================
2541+
[EWS] Currently Used SPI pinout:
2542+
[EWS] MOSI: 23
2543+
[EWS] MISO: 22
2544+
[EWS] SCK: 24
2545+
[EWS] SS: 16
2546+
[EWS] =========================
2547+
Using mac index = 1
2548+
Connected! IP address: 192.168.2.89
2549+
Attempting MQTTS connection to broker.emqx.io...connected
2550+
Message Send : MQTT_Pub => Hello from MQTTClient_SSL on SAMD_ZERO
2551+
Message arrived [MQTT_Pub] Hello from MQTTClient_SSL on SAMD_ZERO
2552+
```
2553+
2554+
24882555

24892556
---
24902557
---
@@ -2561,6 +2628,9 @@ Submit issues to: [EthernetWebServer_SSL issues](https://github.com/khoih-prog/E
25612628
32. Add support to custom SPI for Mbed RP2040, Portenta-H7, etc. using W5x00 with [Ethernet_Generic library](https://github.com/khoih-prog/Ethernet_Generic)
25622629
33. Add examples [AdvancedWebServer_Teensy4x_SPI1](examples/AdvancedWebServer_Teensy4x_SPI1) and [AdvancedWebServer_RP2040_SPI1](examples/AdvancedWebServer_RP2040_SPI1) to demo new features
25632630
34. Auto-select SPI(s) `SS/CS` pins according to board package if available
2631+
35. Slow SPI clock for old W5100 shield or SAMD Zero
2632+
36. Use correct Debug Terminal `Serial` for so-called **SAMD21 Zero** boards from Arduino as well as Adafruit
2633+
25642634

25652635
---
25662636
---

changelog.md

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

1313

1414
* [Changelog](#changelog)
15+
* [Releases v1.9.2](#releases-v192)
1516
* [Releases v1.9.1](#releases-v191)
1617
* [Releases v1.9.0](#releases-v190)
1718
* [Releases v1.8.2](#releases-v182)
@@ -42,6 +43,12 @@
4243

4344
## Changelog
4445

46+
### Releases v1.9.2
47+
48+
1. Slow SPI clock for old `W5100` shield or `SAMD Zero`
49+
2. Use correct Debug Terminal `Serial` for so-called **SAMD21 Zero** boards from Arduino as well as Adafruit
50+
3. Update `Packages' Patches`
51+
4552
### Releases v1.9.1
4653

4754
1. Auto-select SPI(s) `SS/CS` pins according to board package if available

library.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "EthernetWebServer_SSL",
3-
"version": "1.9.1",
3+
"version": "1.9.2",
44
"keywords": "WebServer, Ethernet, Ethernet2, Ethernet3, EthernetLarge, EtnernetENC, UIPEthernet, NativeEthernet, QNEthernet, Portenta-H7, Teensy, SAMD21, SAMD51, SAM DUE, nRF52, ESP32, ESP8266, rpi-pico, rp2040, W5x00, W5500, ENC28J60, Ethernet shield, SSL, TLS, HTTP-Client, WebSocket-Client, server, client, websocket",
55
"description": "Simple TLS/SSL Ethernet WebServer, HTTP Client and WebSocket Client library for for AVR, Portenta_H7, Teensy, SAM DUE, SAMD21, SAMD51, STM32F/L/H/G/WB/MP1, nRF52 and RASPBERRY_PI_PICO boards using Ethernet shields W5100, W5200, W5500, ENC28J60 or Teensy 4.1 NativeEthernet/QNEthernet. It now supports Ethernet TLS/SSL Client. The WebServer supports HTTP/HTTPS 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 (SAM DUE, Atmel SAM3X8E ARM Cortex-M3, SAMD21, SAMD51, ESP8266, ESP32, Adafruit nRF52, Teensy and RASPBERRY_PI_PICO boards) using Wiznet W5x00, ENC28J60 network shields or Teensy 4.1 built-in NativeEthernet/QNEthernet. Ethernet_Generic library is used as default for W5x00 with custom SPI",
66
"authors":
@@ -32,7 +32,7 @@
3232
{
3333
"owner": "khoih-prog",
3434
"name": "Ethernet_Generic",
35-
"version": "^2.4.0"
35+
"version": "^2.5.2"
3636
},
3737
{
3838
"owner": "ssilverman",

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=EthernetWebServer_SSL
2-
version=1.9.1
2+
version=1.9.2
33
author=Khoi Hoang
44
license=GPLv3
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
@@ -44,14 +44,14 @@ lib_ldf_mode = chain+
4444
lib_deps =
4545
; PlatformIO 4.x
4646
; Functional-Vlpp@~1.0.2
47-
; Ethernet_Generic>=2.4.0
47+
; Ethernet_Generic>=2.5.2
4848
; EthernetENC@~2.0.3
4949
; UIPEthernet@~2.0.12
5050
; QNEthernet@>=0.15.0
5151

5252
; PlatformIO 5.x
5353
khoih-prog/Functional-Vlpp@~1.0.2
54-
khoih-prog/Ethernet_Generic@~2.4.0
54+
khoih-prog/Ethernet_Generic@~2.5.2
5555
jandrassy/EthernetENC@~2.0.3
5656
uipethernet/UIPEthernet@~2.0.12
5757
ssilverman/QNEthernet@>=0.15.0

0 commit comments

Comments
 (0)