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

Commit b0d93db

Browse files
authored
v1.8.1 to add SPI1 support to RP2040
### Releases v1.8.1 1. Add support to SPI1 for RP2040 using [arduino-pico core](https://github.com/earlephilhower/arduino-pico) 2. Rewrite all the examples to support new features 3. Update `Packages' Patches`
1 parent 96221b8 commit b0d93db

File tree

5 files changed

+131
-49
lines changed

5 files changed

+131
-49
lines changed

README.md

Lines changed: 113 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
* [9. For Portenta_H7 boards using Arduino IDE in Linux](#9-for-portenta_h7-boards-using-arduino-ide-in-linux)
4343
* [10. For RTL8720DN boards using AmebaD core](#10-for-rtl8720dn-boards-using-amebad-core)
4444
* [11. For SAMD21 and SAMD51 boards using ArduinoCore-fab-sam core](#11-For-SAMD21-and-SAMD51-boards-using-ArduinoCore-fab-sam-core)
45+
* [12. For Seeeduino RP2040 boards](#12-For-Seeeduino-RP2040-boards)
4546
* [Libraries' Patches](#libraries-patches)
4647
* [1. For application requiring 2K+ HTML page](#1-for-application-requiring-2k-html-page)
4748
* [2. For Ethernet library](#2-for-ethernet-library)
@@ -63,6 +64,7 @@
6364
* [4. How to increase W5x00 TX/RX buffer](#4-how-to-increase-w5x00-txrx-buffer)
6465
* [5. How to adjust sendContent_P() and send_P() buffer size](#5-how-to-adjust-sendcontent_p-and-send_p-buffer-size)
6566
* [6. How to use SPI2 for ESP32 using W5x00 and Ethernet_Generic Library](#6-How-to-use-SPI2-for-ESP32-using-W5x00-and-Ethernet_Generic-Library)
67+
* [7. How to use SPI1 for RP2040 using W5x00 and Ethernet_Generic Library](#7-How-to-use-SPI1-for-RP2040-using-W5x00-and-Ethernet_Generic-Library)
6668
* [WebServer and non TLS/SSL WebClient Usage](#webserver-and-non-tlsssl-webclient-usage)
6769
* [Init the CS/SS pin if use EthernetWrapper](#init-the-csss-pin-if-use-ethernetwrapper)
6870
* [Class Constructor](#class-constructor)
@@ -155,6 +157,7 @@
155157
* [13. MQTTClient_SSL on Teensy 4.1 using QNEthernet Library](#13-mqttclient_ssl-on-teensy-41-using-qnethernet-library)
156158
* [14. WebClientMulti_SSL on Teensy 4.1 using QNEthernet Library](#14-webclientmulti_ssl-on-teensy-41-using-qnethernet-library)
157159
* [15. AdvancedWebServer on PORTENTA_H7_M7 using Portenta_Ethernet Library](#15-AdvancedWebServer-on-PORTENTA_H7_M7-using-Portenta_Ethernet-Library)
160+
* [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)
158161
* [Debug](#debug)
159162
* [Troubleshooting](#troubleshooting)
160163
* [Issues](#issues)
@@ -224,12 +227,12 @@ This [**EthernetWebServer_SSL** library](https://github.com/khoih-prog/EthernetW
224227

225228
#### Currently supported Ethernet shields/modules
226229

227-
1. W5x00 using [`Ethernet`](https://www.arduino.cc/en/Reference/Ethernet), [`EthernetLarge`](https://github.com/OPEnSLab-OSU/EthernetLarge), [`Ethernet2`](https://github.com/adafruit/Ethernet2) or [`Ethernet3`](https://github.com/sstaub/Ethernet3) library
228-
2. ENC28J60 using [`EthernetENC`](https://github.com/jandrassy/EthernetENC) or [`UIPEthernet`](https://github.com/UIPEthernet/UIPEthernet) library
229-
3. Teensy 4.1 built-in Ethernet using [`NativeEthernet`](https://github.com/vjmuzik/NativeEthernet) library
230-
4. Teensy 4.1 built-in Ethernet using [`QNEthernet`](https://github.com/ssilverman/QNEthernet) library
231-
232-
5. Portenta_H7 Ethernet using [`Portenta_Ethernet`](https://github.com/arduino/ArduinoCore-mbed/tree/master/libraries/Ethernet) library
230+
1. W5x00 using [`Ethernet_Generic`](https://github.com/khoih-prog/Ethernet_Generic) library
231+
2. W5x00 using [`Ethernet`](https://www.arduino.cc/en/Reference/Ethernet), [`EthernetLarge`](https://github.com/OPEnSLab-OSU/EthernetLarge), [`Ethernet2`](https://github.com/adafruit/Ethernet2) or [`Ethernet3`](https://github.com/sstaub/Ethernet3) library
232+
3. ENC28J60 using [`EthernetENC`](https://github.com/jandrassy/EthernetENC) or [`UIPEthernet`](https://github.com/UIPEthernet/UIPEthernet) library
233+
4. Teensy 4.1 built-in Ethernet using [`NativeEthernet`](https://github.com/vjmuzik/NativeEthernet) library
234+
5. Teensy 4.1 built-in Ethernet using [`QNEthernet`](https://github.com/ssilverman/QNEthernet) library
235+
6. Portenta_H7 Ethernet using [`Portenta_Ethernet`](https://github.com/arduino/ArduinoCore-mbed/tree/master/libraries/Ethernet) library
233236

234237

235238
---
@@ -243,7 +246,7 @@ This [**EthernetWebServer_SSL** library](https://github.com/khoih-prog/EthernetW
243246
3. [`Teensy core v1.56+`](https://www.pjrc.com/teensy/td_download.html) for Teensy (4.1, 4.0, 3.6, 3.5, 3,2, 3.1, 3.0) boards.
244247
4. [`Arduino SAM DUE core v1.6.12+`](https://github.com/arduino/ArduinoCore-sam) for SAM DUE ARM Cortex-M3 boards.
245248
5. [`Arduino SAMD core 1.8.13+`](https://github.com/arduino/ArduinoCore-samd) for SAMD ARM Cortex-M0+ boards. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-samd.svg)](https://github.com/arduino/ArduinoCore-samd/releases/latest)
246-
6. [`Adafruit SAMD core 1.7.9+`](https://github.com/adafruit/ArduinoCore-samd) for SAMD ARM Cortex-M0+ and M4 boards (Nano 33 IoT, etc.). [![GitHub release](https://img.shields.io/github/release/adafruit/ArduinoCore-samd.svg)](https://github.com/adafruit/ArduinoCore-samd/releases/latest)
249+
6. [`Adafruit SAMD core 1.7.10+`](https://github.com/adafruit/ArduinoCore-samd) for SAMD ARM Cortex-M0+ and M4 boards (Nano 33 IoT, etc.). [![GitHub release](https://img.shields.io/github/release/adafruit/ArduinoCore-samd.svg)](https://github.com/adafruit/ArduinoCore-samd/releases/latest)
247250
7. [`Seeeduino SAMD core 1.8.2+`](https://github.com/Seeed-Studio/ArduinoCore-samd) for SAMD21/SAMD51 boards (XIAO M0, Wio Terminal, etc.). [![Latest release](https://img.shields.io/github/release/Seeed-Studio/ArduinoCore-samd.svg)](https://github.com/Seeed-Studio/ArduinoCore-samd/releases/latest/)
248251
8. [`Adafruit nRF52 v1.3.0+`](https://github.com/adafruit/Adafruit_nRF52_Arduino) for nRF52 boards such as Adafruit NRF52840_FEATHER, NRF52832_FEATHER, NRF52840_FEATHER_SENSE, NRF52840_ITSYBITSY, NRF52840_CIRCUITPLAY, NRF52840_CLUE, NRF52840_METRO, NRF52840_PCA10056, PARTICLE_XENON, **NINA_B302_ublox**, etc. [![GitHub release](https://img.shields.io/github/release/adafruit/Adafruit_nRF52_Arduino.svg)](https://github.com/adafruit/Adafruit_nRF52_Arduino/releases/latest)
249252
9. [`ESP32 Core 2.0.2+`](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/)
@@ -253,11 +256,11 @@ This [**EthernetWebServer_SSL** library](https://github.com/khoih-prog/EthernetW
253256
13. [`ArduinoCore-fab-sam core v1.16.18-alpha2+`](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)
254257
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)
255258
15. Depending on which Ethernet card you're using:
256-
- [`Ethernet_Generic library v2.0.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)
259+
- [`Ethernet_Generic library v2.0.1+`](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)
257260
- [`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**
258261
- [`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)
259262
- [`NativeEthernet Library version stable111+`](https://github.com/vjmuzik/NativeEthernet) for Teensy 4.1 built-in Ethernet.
260-
- [`QNEthernet Library version v0.13.0+`](https://github.com/ssilverman/QNEthernet) for Teensy 4.1 built-in Ethernet. **New**
263+
- [`QNEthernet Library version v0.14.0+`](https://github.com/ssilverman/QNEthernet) for Teensy 4.1 built-in Ethernet. **New**
261264

262265
---
263266

@@ -498,12 +501,12 @@ With core after v1.5.0, this step is not necessary anymore thanks to the PR [Add
498501

499502
#### 9. For Portenta_H7 boards using Arduino IDE in Linux
500503

501-
**To be able to upload firmware to Portenta_H7 using Arduino IDE in Linux (Ubuntu, etc.)**, you have to copy the file [portenta_post_install.sh](Packages_Patches/arduino/hardware/mbed_portenta/3.0.1/portenta_post_install.sh) into mbed_portenta directory (~/.arduino15/packages/arduino/hardware/mbed_portenta/3.0.1/portenta_post_install.sh).
504+
**To be able to upload firmware to Portenta_H7 using Arduino IDE in Linux (Ubuntu, etc.)**, you have to copy the file [portenta_post_install.sh](Packages_Patches/arduino/hardware/mbed_portenta/3.0.0/portenta_post_install.sh) into mbed_portenta directory (~/.arduino15/packages/arduino/hardware/mbed_portenta/3.0.0/portenta_post_install.sh).
502505

503506
Then run the following command using `sudo`
504507

505508
```
506-
$ cd ~/.arduino15/packages/arduino/hardware/mbed_portenta/3.0.1
509+
$ cd ~/.arduino15/packages/arduino/hardware/mbed_portenta/3.0.0
507510
$ chmod 755 portenta_post_install.sh
508511
$ sudo ./portenta_post_install.sh
509512
```
@@ -516,9 +519,9 @@ This will create the file `/etc/udev/rules.d/49-portenta_h7.rules` as follows:
516519
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="035b", GROUP="plugdev", MODE="0666"
517520
```
518521

519-
Supposing the ArduinoCore-mbed core version is 3.0.1. Now only one file must be copied into the directory:
522+
Supposing the ArduinoCore-mbed core version is 3.0.0. Now only one file must be copied into the directory:
520523

521-
- `~/.arduino15/packages/arduino/hardware/mbed_portenta/3.0.1/portenta_post_install.sh`
524+
- `~/.arduino15/packages/arduino/hardware/mbed_portenta/3.0.0/portenta_post_install.sh`
522525

523526
Whenever a new version is installed, remember to copy this files into the new version directory. For example, new version is x.yy.zz
524527

@@ -554,6 +557,22 @@ This file must be copied into the directory:
554557

555558
- `~/.arduino15/packages/Fab_SAM_Arduino/hardware/samd/x.yy.zz/boards.txt`
556559

560+
561+
#### 12. For Seeeduino RP2040 boards
562+
563+
***To be able to compile, run and automatically detect and display BOARD_NAME on Seeeduino RP2040 (XIAO RP2040, Wio RP2040 Mini) boards***, you have to copy the whole [Seeeduino RP2040 Packages_Patches](Packages_Patches/Seeeduino/hardware/rp2040/2.7.2) directory into Seeeduino samd directory (~/.arduino15/packages/Seeeduino/hardware/rp2040/2.7.2).
564+
565+
Supposing the Seeeduino SAMD core version is 2.7.2. This file must be copied into the directory:
566+
567+
- `~/.arduino15/packages/Seeeduino/hardware/rp2040/2.7.2/boards.txt`
568+
- `~/.arduino15/packages/Seeeduino/hardware/rp2040/2.7.2/variants/Seeed_XIAO_RP2040/pins_arduino.h`
569+
570+
Whenever a new version is installed, remember to copy this file into the new version directory. For example, new version is x.yy.zz
571+
This file must be copied into the directory:
572+
573+
- `~/.arduino15/packages/Seeeduino/hardware/samd/x.yy.zz/boards.txt`
574+
- `~/.arduino15/packages/Seeeduino/hardware/samd/x.yy.zz/variants/Seeed_XIAO_RP2040/pins_arduino.h`
575+
557576
---
558577
---
559578

@@ -921,11 +940,37 @@ Note that the buffer size must be larger than 256 bytes. See [Sending GZIP HTML
921940

922941
### 6. How to use SPI2 for ESP32 using W5x00 and Ethernet_Generic Library
923942

924-
- For **Ethernet_Generic** library only, simply use as follows to SPI2 for ESP32
943+
- For **Ethernet_Generic** library only, to use `SPI2` for ESP32
944+
925945
```
926946
#define USING_SPI2 true
927947
```
928948

949+
Pin to use for `SPI2`
950+
951+
```
952+
MOSI: 13
953+
MISO: 12
954+
SCK: 14
955+
SS: 5
956+
```
957+
958+
### 7. How to use SPI1 for RP2040 using W5x00 and Ethernet_Generic Library
959+
960+
- For **Ethernet_Generic** library only, to use `SPI1` for RP2040 using [arduino-pico core](https://github.com/earlephilhower/arduino-pico)
961+
962+
```
963+
#define USING_SPI2 true
964+
```
965+
966+
Pin to use for `SPI1`
967+
968+
```
969+
MOSI: 15
970+
MISO: 12
971+
SCK: 14
972+
SS: 13
973+
```
929974

930975

931976
---
@@ -1433,14 +1478,14 @@ If for some unfortunate reason you need SSL 3.0 or SSL 2.0, you will need to mod
14331478

14341479
#### 1. File [AdvancedWebServer.ino](examples/AdvancedWebServer/AdvancedWebServer.ino)
14351480

1436-
https://github.com/khoih-prog/EthernetWebServer_SSL/blob/4ddbf8a5be6fa7b00373b46b24aa50dbfa0fa2df/examples/AdvancedWebServer/AdvancedWebServer.ino#L44-L409
1481+
https://github.com/khoih-prog/EthernetWebServer_SSL/blob/a1ed00392f5b91e456cc7c8b2f266ad4da0f8d27/examples/AdvancedWebServer/AdvancedWebServer.ino#L44-L424
14371482

14381483

14391484
---
14401485

14411486
#### 2. File [defines.h](examples/AdvancedWebServer/defines.h)
14421487

1443-
https://github.com/khoih-prog/EthernetWebServer_SSL/blob/4ddbf8a5be6fa7b00373b46b24aa50dbfa0fa2df/examples/AdvancedWebServer/defines.h#L10-L473
1488+
https://github.com/khoih-prog/EthernetWebServer_SSL/blob/a1ed00392f5b91e456cc7c8b2f266ad4da0f8d27/examples/AdvancedWebServer/defines.h#L10-L483
14441489

14451490
---
14461491
---
@@ -1457,7 +1502,7 @@ The following are debug terminal output and screen shot when running example [Ad
14571502

14581503
```
14591504
Starting AdvancedWebServer on NRF52840_FEATHER with ENC28J60 using EthernetENC Library
1460-
EthernetWebServer_SSL v1.8.0
1505+
EthernetWebServer_SSL v1.8.1
14611506
[ETHERNET_WEBSERVER] =========================
14621507
[ETHERNET_WEBSERVER] Default SPI pinout:
14631508
[ETHERNET_WEBSERVER] MOSI: 25
@@ -1635,7 +1680,7 @@ The terminal output of **SAM DUE with W5x00 using Ethernet_Generic Library** run
16351680

16361681
```
16371682
Start WebClientMulti_SSL on SAM DUE with W5x00 using Ethernet_Generic Library
1638-
EthernetWebServer_SSL v1.8.0
1683+
EthernetWebServer_SSL v1.8.1
16391684
[ETHERNET_WEBSERVER] =========== USE_ETHERNET_GENERIC ===========
16401685
[ETHERNET_WEBSERVER] Default SPI pinout:
16411686
[ETHERNET_WEBSERVER] MOSI: 75
@@ -1771,7 +1816,7 @@ The terminal output of **SEEED_XIAO_M0 with W5x00 using Ethernet_Generic Library
17711816

17721817
```
17731818
Start WebClient_SSL on SEEED_XIAO_M0 with W5x00 using Ethernet_Generic Library
1774-
EthernetWebServer_SSL v1.8.0
1819+
EthernetWebServer_SSL v1.8.1
17751820
[ETHERNET_WEBSERVER] =========== USE_ETHERNET_GENERIC ===========
17761821
[ETHERNET_WEBSERVER] Default SPI pinout:
17771822
[ETHERNET_WEBSERVER] MOSI: 10
@@ -1875,7 +1920,7 @@ Received 3405 bytes in 0.2072 s, rate = 16.43 kbytes/second
18751920

18761921
```
18771922
Start MQTTClient_SSL_Complex on SAM DUE with W5x00 using Ethernet_Generic Library
1878-
EthernetWebServer_SSL v1.8.0
1923+
EthernetWebServer_SSL v1.8.1
18791924
[ETHERNET_WEBSERVER] =========== USE_ETHERNET_GENERIC ===========
18801925
[ETHERNET_WEBSERVER] Default SPI pinout:
18811926
[ETHERNET_WEBSERVER] MOSI: 75
@@ -1913,7 +1958,7 @@ The terminal output of **SEEED_XIAO_M0 with W5x00 using Ethernet_Generic Library
19131958

19141959
```
19151960
Start MQTTS_ThingStream on SEEED_XIAO_M0 with W5x00 using Ethernet_Generic Library
1916-
EthernetWebServer_SSL v1.8.0
1961+
EthernetWebServer_SSL v1.8.1
19171962
[ETHERNET_WEBSERVER] Board : SEEED_XIAO_M0 , setCsPin: 1
19181963
[ETHERNET_WEBSERVER] Default SPI pinout:
19191964
[ETHERNET_WEBSERVER] MOSI: 10
@@ -1945,7 +1990,7 @@ The terminal output of **MBED RASPBERRY_PI_PICO with W5x00 using Ethernet_Generi
19451990

19461991
```
19471992
Start MQTTS_ThingStream on MBED RASPBERRY_PI_PICO with W5x00 using Ethernet_Generic Library
1948-
EthernetWebServer_SSL v1.8.0
1993+
EthernetWebServer_SSL v1.8.1
19491994
[ETHERNET_WEBSERVER] =========== USE_ETHERNET_GENERIC ===========
19501995
[ETHERNET_WEBSERVER] Default SPI pinout:
19511996
[ETHERNET_WEBSERVER] MOSI: 3
@@ -1976,7 +2021,7 @@ The terminal output of **MBED RASPBERRY_PI_PICO with W5x00 using Ethernet_Generi
19762021

19772022
```
19782023
Start MQTTClient_SSL on MBED RASPBERRY_PI_PICO with W5x00 using Ethernet_Generic Library
1979-
EthernetWebServer_SSL v1.8.0
2024+
EthernetWebServer_SSL v1.8.1
19802025
[ETHERNET_WEBSERVER] =========== USE_ETHERNET_GENERIC ===========
19812026
[ETHERNET_WEBSERVER] Default SPI pinout:
19822027
[ETHERNET_WEBSERVER] MOSI: 3
@@ -2022,7 +2067,7 @@ The following are debug terminal output and screen shot when running example [Ad
20222067

20232068
```
20242069
Starting AdvancedWebServer on MBED RASPBERRY_PI_PICO with W5x00 using Ethernet_Generic Library
2025-
EthernetWebServer_SSL v1.8.0
2070+
EthernetWebServer_SSL v1.8.1
20262071
[EWS] =========== USE_ETHERNET_GENERIC ===========
20272072
[EWS] Default SPI pinout:
20282073
[EWS] MOSI: 3
@@ -2054,7 +2099,7 @@ The terminal output of **RASPBERRY_PI_PICO with W5x00 using Ethernet_Generic Lib
20542099

20552100
```
20562101
Start MQTTClient_SSL on RASPBERRY_PI_PICO with W5x00 using Ethernet_Generic Library
2057-
EthernetWebServer_SSL v1.8.0
2102+
EthernetWebServer_SSL v1.8.1
20582103
[ETHERNET_WEBSERVER] =========== USE_ETHERNET_GENERIC ===========
20592104
[ETHERNET_WEBSERVER] Default SPI pinout:
20602105
[ETHERNET_WEBSERVER] MOSI: 19
@@ -2093,7 +2138,7 @@ The following are debug terminal output and screen shot when running example [Ad
20932138

20942139
```
20952140
Starting AdvancedWebServer on RASPBERRY_PI_PICO with W5x00 using Ethernet_Generic Library
2096-
EthernetWebServer_SSL v1.8.0
2141+
EthernetWebServer_SSL v1.8.1
20972142
[ETHERNET_WEBSERVER] =========== USE_ETHERNET_GENERIC ===========
20982143
[ETHERNET_WEBSERVER] Default SPI pinout:
20992144
[ETHERNET_WEBSERVER] MOSI: 19
@@ -2130,7 +2175,7 @@ The following are debug terminal output and screen shot when running example [Ad
21302175

21312176
```
21322177
Starting AdvancedWebServer_QNEthernet on TEENSY 4.1 using QNEthernet
2133-
EthernetWebServer_SSL v1.8.0
2178+
EthernetWebServer_SSL v1.8.1
21342179
[ETHERNET_WEBSERVER] =========== USE_QN_ETHERNET ===========
21352180
Initialize Ethernet using static IP => IP Address = 192.168.2.222
21362181
HTTP EthernetWebServer is @ IP : 192.168.2.222
@@ -2147,7 +2192,7 @@ The following are debug terminal output and screen shot when running example [MQ
21472192

21482193
```
21492194
Starting MQTTClient_SSL on TEENSY 4.1 using QNEthernet
2150-
EthernetWebServer_SSL v1.8.0
2195+
EthernetWebServer_SSL v1.8.1
21512196
[ETHERNET_WEBSERVER] =========== USE_QN_ETHERNET ===========
21522197
Initialize Ethernet using static IP => IP Address = 192.168.2.222
21532198
Attempting MQTTS connection to broker.emqx.io...connected
@@ -2177,7 +2222,7 @@ The following are debug terminal output and screen shot when running example [We
21772222

21782223
```
21792224
Starting WebClientMulti_SSL on TEENSY 4.1 using QNEthernet
2180-
EthernetWebServer_SSL v1.8.0
2225+
EthernetWebServer_SSL v1.8.1
21812226
[ETHERNET_WEBSERVER] =========== USE_QN_ETHERNET ===========
21822227
Initialize Ethernet using static IP => IP Address = 192.168.2.222
21832228
Connecting to www.arduino.cc...
@@ -2261,7 +2306,7 @@ The following are debug terminal output and screen shot when running example [Ad
22612306
```
22622307
22632308
Starting AdvancedWebServer on PORTENTA_H7_M7 with Ethernet using Portenta_Ethernet Library
2264-
EthernetWebServer_SSL v1.8.0
2309+
EthernetWebServer_SSL v1.8.1
22652310
[ETHERNET_WEBSERVER] ======== USE_PORTENTA_H7_ETHERNET ========
22662311
Using mac index = 2
22672312
Connected! IP address: 192.168.2.101
@@ -2271,6 +2316,43 @@ HTTP EthernetWebServer is @ IP : 192.168.2.101
22712316
```
22722317

22732318

2319+
---
2320+
2321+
#### 16. AdvancedWebServer on RASPBERRY_PI_PICO with W5x00 using Ethernet_Generic Library on SPI1
2322+
2323+
The following are debug terminal output and screen shot when running example [AdvancedWebServer](examples/AdvancedWebServer) on **PORTENTA_H7_M7** using Portenta_Ethernet Library
2324+
2325+
<p align="center">
2326+
<img src="https://github.com/khoih-prog/EthernetWebServer_SSL/blob/main/pics/AdvancedWebServer_RPi_Pico_SPI1.png">
2327+
</p>
2328+
2329+
2330+
```
2331+
Starting AdvancedWebServer on RASPBERRY_PI_PICO with W5x00 using Ethernet_Generic Library on SPI1
2332+
EthernetWebServer_SSL v1.8.1
2333+
[EWS] =========== USE_ETHERNET_GENERIC ===========
2334+
[EWS] Default SPI pinout:
2335+
[EWS] MOSI: 15
2336+
[EWS] MISO: 12
2337+
[EWS] SCK: 14
2338+
[EWS] SS: 13
2339+
[EWS] =========================
2340+
[EWS] RPIPICO setCsPin: 13
2341+
[EWS] =========================
2342+
[EWS] Currently Used SPI pinout:
2343+
[EWS] MOSI: 15
2344+
[EWS] MISO: 12
2345+
[EWS] SCK: 14
2346+
[EWS] SS: 13
2347+
[EWS] =========================
2348+
Using mac index = 13
2349+
Connected! IP address: 192.168.2.104
2350+
HTTP EthernetWebServer is @ IP : 192.168.2.104
2351+
.[EWS] String Len = 0, extend to 2048
2352+
......... ..
2353+
```
2354+
2355+
22742356
---
22752357
---
22762358

@@ -2340,7 +2422,7 @@ Submit issues to: [EthernetWebServer_SSL issues](https://github.com/khoih-prog/E
23402422
26. Use new [**Ethernet_Generic** library](https://github.com/khoih-prog/Ethernet_Generic) as default for W5x00.
23412423
27. Support **SPI2 for ESP32**
23422424
28. Rewrite library and add example [multiFileProject](examples/multiFileProject) to demo for multiple-file project to fix `multiple-definitions` linker error
2343-
2425+
29. Add support to SPI1 for RP2040 using [arduino-pico core](https://github.com/earlephilhower/arduino-pico)
23442426

23452427
---
23462428
---

0 commit comments

Comments
 (0)