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

Commit 6bdd113

Browse files
authored
v1.6.0 to add custom SPI support
### Releases v1.6.0 1. Add support to any custom hardware / software `SPI` for W5x00 using [Ethernet_Generic Library](https://github.com/khoih-prog/Ethernet_Generic) 2. Add support to STM32L5 boards, such as `Nucleo-L552ZE-Q`
1 parent 3990bad commit 6bdd113

23 files changed

+72
-66
lines changed

src/EthernetHttpClient_SSL_STM32.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
EthernetHttpClient_SSL_STM32.h - Dead simple HTTP WebClient.
33
For STM32 with built-in Ethernet LAN8742A (Nucleo-144, DISCOVERY, etc) or W5x00/ENC28J60 shield/module
44
5-
EthernetWebServer_STM32 is a library for the STM32 running Ethernet WebServer
5+
EthernetWebServer_SSL_STM32 is a library for the STM32 running Ethernet WebServer
66
77
Based on and modified from ESP8266 https://github.com/esp8266/Arduino/releases
8-
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_STM32
8+
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_SSL_STM32
99
10-
Version: 1.5.1
10+
Version: 1.6.0
1111
1212
Version Modified By Date Comments
1313
------- ----------- ---------- -----------
@@ -22,6 +22,7 @@
2222
1.4.5 K Hoang 29/03/2022 Sync with `SSLClient` v1.6.11
2323
1.5.0 K Hoang 05/04/2022 Use Ethernet_Generic library as default
2424
1.5.1 K Hoang 27/04/2022 Change from `arduino.cc` to `arduino.tips` in examples
25+
1.6.0 K Hoang 03/05/2022 Add support to STM32L5 and to custom SPI, such as SPI2, SPI3, SPI_New, etc.
2526
****************************************************************************************************************************/
2627

2728
// Library to simplify HTTP fetching on Arduino

src/EthernetWebServer_SSL_STM32-impl.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
Use SSLClient Library code from https://github.com/OPEnSLab-OSU/SSLClient
88
99
Based on and modified from ESP8266 https://github.com/esp8266/Arduino/releases
10-
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_STM32
10+
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_SSL_STM32
1111
12-
Version: 1.5.1
12+
Version: 1.6.0
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -24,6 +24,7 @@
2424
1.4.5 K Hoang 29/03/2022 Sync with `SSLClient` v1.6.11
2525
1.5.0 K Hoang 05/04/2022 Use Ethernet_Generic library as default
2626
1.5.1 K Hoang 27/04/2022 Change from `arduino.cc` to `arduino.tips` in examples
27+
1.6.0 K Hoang 03/05/2022 Add support to STM32L5 and to custom SPI, such as SPI2, SPI3, SPI_New, etc.
2728
****************************************************************************************************************************/
2829

2930
#pragma once

src/EthernetWebServer_SSL_STM32.h

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
Use SSLClient Library code from https://github.com/OPEnSLab-OSU/SSLClient
88
99
Based on and modified from ESP8266 https://github.com/esp8266/Arduino/releases
10-
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_STM32
10+
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_SSL_STM32
1111
12-
Version: 1.5.1
12+
Version: 1.6.0
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -24,6 +24,7 @@
2424
1.4.5 K Hoang 29/03/2022 Sync with `SSLClient` v1.6.11
2525
1.5.0 K Hoang 05/04/2022 Use Ethernet_Generic library as default
2626
1.5.1 K Hoang 27/04/2022 Change from `arduino.cc` to `arduino.tips` in examples
27+
1.6.0 K Hoang 03/05/2022 Add support to STM32L5 and to custom SPI, such as SPI2, SPI3, SPI_New, etc.
2728
****************************************************************************************************************************/
2829

2930
#pragma once
@@ -55,13 +56,13 @@
5556

5657
#endif
5758

58-
#define ETHERNET_WEBSERVER_SSL_STM32_VERSION "EthernetWebServer_SSL_STM32 v1.5.1"
59+
#define ETHERNET_WEBSERVER_SSL_STM32_VERSION "EthernetWebServer_SSL_STM32 v1.6.0"
5960

6061
#define ETHERNET_WEBSERVER_SSL_STM32_VERSION_MAJOR 1
61-
#define ETHERNET_WEBSERVER_SSL_STM32_VERSION_MINOR 5
62-
#define ETHERNET_WEBSERVER_SSL_STM32_VERSION_PATCH 1
62+
#define ETHERNET_WEBSERVER_SSL_STM32_VERSION_MINOR 6
63+
#define ETHERNET_WEBSERVER_SSL_STM32_VERSION_PATCH 0
6364

64-
#define ETHERNET_WEBSERVER_SSL_STM32_VERSION_INT 1005001
65+
#define ETHERNET_WEBSERVER_SSL_STM32_VERSION_INT 1006000
6566

6667
/////////////////////////////////////////////////////////////////////////
6768

@@ -79,7 +80,7 @@
7980
#endif
8081
#elif USE_CUSTOM_ETHERNET
8182
#if (_ETHERNET_WEBSERVER_LOGLEVEL_ > 2)
82-
#warning Using Custom Ethernet library from EthernetWebServer_STM32. You must include a library or error
83+
#warning Using Custom Ethernet library from EthernetWebServer_SSL_STM32. You must include a library or error
8384
#endif
8485
#elif !( USE_ETHERNET_GENERIC || USE_ETHERNET_ESP8266 || USE_ETHERNET_ENC )
8586
#include <Ethernet_Generic.h>

src/EthernetWebServer_SSL_STM32.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
Use SSLClient Library code from https://github.com/OPEnSLab-OSU/SSLClient
88
99
Based on and modified from ESP8266 https://github.com/esp8266/Arduino/releases
10-
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_STM32
10+
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_SSL_STM32
1111
12-
Version: 1.5.1
12+
Version: 1.6.0
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -24,6 +24,7 @@
2424
1.4.5 K Hoang 29/03/2022 Sync with `SSLClient` v1.6.11
2525
1.5.0 K Hoang 05/04/2022 Use Ethernet_Generic library as default
2626
1.5.1 K Hoang 27/04/2022 Change from `arduino.cc` to `arduino.tips` in examples
27+
1.6.0 K Hoang 03/05/2022 Add support to STM32L5 and to custom SPI, such as SPI2, SPI3, SPI_New, etc.
2728
****************************************************************************************************************************/
2829

2930
#pragma once

src/Ethernet_HTTPClient/Ethernet_HttpClient.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
Use SSLClient Library code from https://github.com/OPEnSLab-OSU/SSLClient
88
99
Based on and modified from ESP8266 https://github.com/esp8266/Arduino/releases
10-
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_STM32
10+
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_SSL_STM32
1111
12-
Version: 1.5.1
12+
Version: 1.6.0
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -24,6 +24,7 @@
2424
1.4.5 K Hoang 29/03/2022 Sync with `SSLClient` v1.6.11
2525
1.5.0 K Hoang 05/04/2022 Use Ethernet_Generic library as default
2626
1.5.1 K Hoang 27/04/2022 Change from `arduino.cc` to `arduino.tips` in examples
27+
1.6.0 K Hoang 03/05/2022 Add support to STM32L5 and to custom SPI, such as SPI2, SPI3, SPI_New, etc.
2728
****************************************************************************************************************************/
2829

2930
// Class to simplify HTTP fetching on Arduino

src/Ethernet_HTTPClient/Ethernet_HttpClient.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
Use SSLClient Library code from https://github.com/OPEnSLab-OSU/SSLClient
88
99
Based on and modified from ESP8266 https://github.com/esp8266/Arduino/releases
10-
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_STM32
10+
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_SSL_STM32
1111
12-
Version: 1.5.1
12+
Version: 1.6.0
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -24,6 +24,7 @@
2424
1.4.5 K Hoang 29/03/2022 Sync with `SSLClient` v1.6.11
2525
1.5.0 K Hoang 05/04/2022 Use Ethernet_Generic library as default
2626
1.5.1 K Hoang 27/04/2022 Change from `arduino.cc` to `arduino.tips` in examples
27+
1.6.0 K Hoang 03/05/2022 Add support to STM32L5 and to custom SPI, such as SPI2, SPI3, SPI_New, etc.
2728
****************************************************************************************************************************/
2829

2930
// Class to simplify HTTP fetching on Arduino

src/Ethernet_HTTPClient/Ethernet_URLEncoder.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
Use SSLClient Library code from https://github.com/OPEnSLab-OSU/SSLClient
88
99
Based on and modified from ESP8266 https://github.com/esp8266/Arduino/releases
10-
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_STM32
10+
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_SSL_STM32
1111
12-
Version: 1.5.1
12+
Version: 1.6.0
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -24,6 +24,7 @@
2424
1.4.5 K Hoang 29/03/2022 Sync with `SSLClient` v1.6.11
2525
1.5.0 K Hoang 05/04/2022 Use Ethernet_Generic library as default
2626
1.5.1 K Hoang 27/04/2022 Change from `arduino.cc` to `arduino.tips` in examples
27+
1.6.0 K Hoang 03/05/2022 Add support to STM32L5 and to custom SPI, such as SPI2, SPI3, SPI_New, etc.
2728
****************************************************************************************************************************/
2829

2930
// Library to simplify HTTP fetching on Arduino

src/Ethernet_HTTPClient/Ethernet_URLEncoder.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
Use SSLClient Library code from https://github.com/OPEnSLab-OSU/SSLClient
88
99
Based on and modified from ESP8266 https://github.com/esp8266/Arduino/releases
10-
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_STM32
10+
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_SSL_STM32
1111
12-
Version: 1.5.1
12+
Version: 1.6.0
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -24,6 +24,7 @@
2424
1.4.5 K Hoang 29/03/2022 Sync with `SSLClient` v1.6.11
2525
1.5.0 K Hoang 05/04/2022 Use Ethernet_Generic library as default
2626
1.5.1 K Hoang 27/04/2022 Change from `arduino.cc` to `arduino.tips` in examples
27+
1.6.0 K Hoang 03/05/2022 Add support to STM32L5 and to custom SPI, such as SPI2, SPI3, SPI_New, etc.
2728
****************************************************************************************************************************/
2829

2930
// Library to simplify HTTP fetching on Arduino

src/Ethernet_HTTPClient/Ethernet_WebSocketClient.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
Use SSLClient Library code from https://github.com/OPEnSLab-OSU/SSLClient
88
99
Based on and modified from ESP8266 https://github.com/esp8266/Arduino/releases
10-
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_STM32
10+
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_SSL_STM32
1111
12-
Version: 1.5.1
12+
Version: 1.6.0
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -24,6 +24,7 @@
2424
1.4.5 K Hoang 29/03/2022 Sync with `SSLClient` v1.6.11
2525
1.5.0 K Hoang 05/04/2022 Use Ethernet_Generic library as default
2626
1.5.1 K Hoang 27/04/2022 Change from `arduino.cc` to `arduino.tips` in examples
27+
1.6.0 K Hoang 03/05/2022 Add support to STM32L5 and to custom SPI, such as SPI2, SPI3, SPI_New, etc.
2728
****************************************************************************************************************************/
2829

2930
// (c) Copyright Arduino. 2016

src/Ethernet_HTTPClient/Ethernet_WebSocketClient.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
Use SSLClient Library code from https://github.com/OPEnSLab-OSU/SSLClient
88
99
Based on and modified from ESP8266 https://github.com/esp8266/Arduino/releases
10-
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_STM32
10+
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer_SSL_STM32
1111
12-
Version: 1.5.1
12+
Version: 1.6.0
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -24,6 +24,7 @@
2424
1.4.5 K Hoang 29/03/2022 Sync with `SSLClient` v1.6.11
2525
1.5.0 K Hoang 05/04/2022 Use Ethernet_Generic library as default
2626
1.5.1 K Hoang 27/04/2022 Change from `arduino.cc` to `arduino.tips` in examples
27+
1.6.0 K Hoang 03/05/2022 Add support to STM32L5 and to custom SPI, such as SPI2, SPI3, SPI_New, etc.
2728
****************************************************************************************************************************/
2829

2930
// (c) Copyright Arduino. 2016

0 commit comments

Comments
 (0)