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

Commit 48d8e94

Browse files
authored
v1.9.5 to restore support to Teensy, etc.
### Releases v1.9.5 1. Restore support to Teensy, etc. 2. Fix bug in examples
1 parent 1ce3375 commit 48d8e94

30 files changed

+99
-66
lines changed

README.md

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -266,15 +266,10 @@ This [**WiFiWebServer library**](https://github.com/khoih-prog/WiFiWebServer) cu
266266
7. [`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)
267267
8. [`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)
268268
9. [`Seeeduino SAMD core 1.8.3+`](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/)
269-
270269
10. [`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)
271-
272270
11. [`Arduino Core for STM32 v2.3.0+`](https://github.com/stm32duino/Arduino_Core_STM32) for STM32F/L/H/G/WB/MP1 boards. [![GitHub release](https://img.shields.io/github/release/stm32duino/Arduino_Core_STM32.svg)](https://github.com/stm32duino/Arduino_Core_STM32/releases/latest)
273-
274271
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, RASPBERRY_PI_PICO_W, 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)
275-
276272
13. [`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)
277-
278273
14. [`Arduino megaAVR core 1.8.7+`](https://github.com/arduino/ArduinoCore-megaavr/releases) for Arduino megaAVR boards such as **UNO_WIFI_REV2, NANO_EVERY**
279274

280275
15. [`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)
@@ -915,7 +910,7 @@ The following are debug terminal output and screen shot when running example [**
915910

916911
```
917912
Starting AdvancedServer on SAMD_NANO_33_IOT
918-
WiFiWebServer v1.9.4
913+
WiFiWebServer v1.9.5
919914
[NN] ===============================
920915
[NN]
921916
Used/default SPI pinout:
@@ -1068,7 +1063,7 @@ The terminal output of **SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic L
10681063

10691064
```
10701065
Starting SimpleWebSocket on SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic Library
1071-
WiFiWebServer v1.9.4
1066+
WiFiWebServer v1.9.5
10721067
Connecting to SSID: HueNet1
10731068
You're connected to the network, IP = 192.168.2.98
10741069
SSID: HueNet1, Signal strength (RSSI):-24 dBm
@@ -1102,7 +1097,7 @@ The terminal output of **SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic L
11021097

11031098
```
11041099
Starting SimpleHTTPExample on SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic Library
1105-
WiFiWebServer v1.9.4
1100+
WiFiWebServer v1.9.5
11061101
Connecting to SSID: HueNet1
11071102
You're connected to the network, IP = 192.168.2.98
11081103
SSID: HueNet1, Signal strength (RSSI):-21 dBm
@@ -1161,7 +1156,7 @@ The terminal output of **SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic L
11611156

11621157
```
11631158
Starting DweetPost on SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic Library
1164-
WiFiWebServer v1.9.4
1159+
WiFiWebServer v1.9.5
11651160
Connecting to SSID: HueNet1
11661161
You're connected to the network, IP = 192.168.2.98
11671162
SSID: HueNet1, Signal strength (RSSI):-22 dBm
@@ -1184,7 +1179,7 @@ The terminal output of **SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic L
11841179

11851180
```
11861181
Starting DweetGet on SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic Library
1187-
WiFiWebServer v1.9.4
1182+
WiFiWebServer v1.9.5
11881183
Connecting to SSID: HueNet1
11891184
You're connected to the network, IP = 192.168.2.98
11901185
SSID: HueNet1, Signal strength (RSSI):-25 dBm
@@ -1213,7 +1208,7 @@ The terminal output of **SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic L
12131208

12141209
```
12151210
Starting MQTTClient_Auth on SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic Library
1216-
WiFiWebServer v1.9.4
1211+
WiFiWebServer v1.9.5
12171212
Please upgrade the firmware
12181213
Connecting to WPA SSID: HueNet1
12191214
Connected! IP address: 192.168.2.98
@@ -1234,7 +1229,7 @@ The terminal output of **SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic L
12341229
```
12351230
Start MQTT_ThingStream on SAMD_NANO_33_IOT
12361231
Starting MQTTClient_Auth on SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic Library
1237-
WiFiWebServer v1.9.4
1232+
WiFiWebServer v1.9.5
12381233
Please upgrade the firmware
12391234
Connecting to WPA SSID: HueNet1
12401235
Connected! IP address: 192.168.2.98
@@ -1262,7 +1257,7 @@ The terminal output of **RASPBERRY_PI_PICO with Custom WiFi (ESP8266-AT) using C
12621257

12631258
```
12641259
Starting WebClientRepeating on RASPBERRY_PI_PICO with Custom WiFi using Custom WiFi Library
1265-
WiFiWebServer v1.9.4
1260+
WiFiWebServer v1.9.5
12661261
WiFi shield init done
12671262
Connecting to SSID: HueNet1
12681263
You're connected to the network, IP = 192.168.2.76
@@ -1334,7 +1329,7 @@ The following are debug terminal output and screen shot when running example [**
13341329

13351330
```
13361331
Starting AdvancedServer on Nano RP2040 Connect with WiFiNINA using WiFiNINA_Generic Library
1337-
WiFiWebServer v1.9.4
1332+
WiFiWebServer v1.9.5
13381333
Connecting to WPA SSID: HueNet1
13391334
HTTP server started @ 192.168.2.130
13401335
H[WIFI] handleClient: New Client
@@ -1460,7 +1455,7 @@ The terminal output of **ESP32_DEV** running [SimpleHTTPExample example](example
14601455

14611456
```
14621457
Starting SimpleHTTPExample on ESP32_DEV with ESP WiFi using WiFi Library
1463-
WiFiWebServer v1.9.4
1458+
WiFiWebServer v1.9.5
14641459
Connecting to SSID: HueNet1
14651460
You're connected to the network, IP = 192.168.2.80
14661461
SSID: HueNet1, Signal strength (RSSI):-23 dBm
@@ -1526,7 +1521,7 @@ The following are debug terminal output and screen shot when running example [**
15261521

15271522
```
15281523
Starting AdvancedServer on PORTENTA_H7_M7 with Portenta_H7 WiFi
1529-
WiFiWebServer v1.9.4
1524+
WiFiWebServer v1.9.5
15301525
Connecting to WPA SSID: HueNet1
15311526
HTTP server started @ 192.168.2.138
15321527
H[WIFI] String Len = 0, extend to 2048
@@ -1542,7 +1537,7 @@ The terminal output of **PORTENTA_H7_M7 with Portenta_H7 WiFi** running [MQTTCli
15421537

15431538
```
15441539
Starting MQTTClient_Auth on PORTENTA_H7_M7 with Portenta_H7 WiFi
1545-
WiFiWebServer v1.9.4
1540+
WiFiWebServer v1.9.5
15461541
Connecting to SSID: HueNet1
15471542
Connected! IP address: 192.168.2.130
15481543
Attempting MQTT connection to broker.emqx.io...connected
@@ -1562,7 +1557,7 @@ The terminal output of **PORTENTA_H7_M7 with Portenta_H7 WiFi** running [WebClie
15621557

15631558
```
15641559
Starting WebClientRepeating on PORTENTA_H7_M7 with Portenta_H7 WiFi
1565-
WiFiWebServer v1.9.4
1560+
WiFiWebServer v1.9.5
15661561
Connecting to SSID: HueNet1
15671562
You're connected to the network, IP = 192.168.2.130
15681563
SSID: HueNet1, Signal strength (RSSI):-33 dBm
@@ -1634,7 +1629,7 @@ The following are debug terminal output and screen shot when running example [**
16341629

16351630
```
16361631
Starting AdvancedWebServer on ESP32C3_DEV with ESP WiFi using WiFi Library
1637-
WiFiWebServer v1.9.4
1632+
WiFiWebServer v1.9.5
16381633
Connecting to WPA SSID: HueNet1
16391634
HTTP server started @ 192.168.2.86
16401635
HH
@@ -1653,7 +1648,7 @@ The following are debug terminal output and screen shot when running example [**
16531648

16541649
```
16551650
Starting AdvancedWebServer on ESP32S3_DEV with ESP WiFi using WiFi Library
1656-
WiFiWebServer v1.9.4
1651+
WiFiWebServer v1.9.5
16571652
Connecting to WPA SSID: HueNet1
16581653
HTTP server started @ 192.168.2.86
16591654
HH
@@ -1673,7 +1668,7 @@ The following are debug terminal output and screen shot when running example [**
16731668
```
16741669
Starting AdvancedWebServer_WiFiMulti on Nano RP2040 Connect with WiFiNINA using WiFiNINA_Generic Library
16751670
WiFiMulti_Generic v1.2.2
1676-
WiFiWebServer v1.9.4
1671+
WiFiWebServer v1.9.5
16771672
Connecting WiFi...
16781673
WiFi connected, IP address: 192.168.2.113
16791674
You're connected to the network, IP = 192.168.2.113
@@ -1691,7 +1686,7 @@ The following are debug terminal output and screen shot when running example [**
16911686
```
16921687
Starting MQTTClient_Auth_WiFiMulti on Nano RP2040 Connect with WiFiNINA using WiFiNINA_Generic Library
16931688
WiFiMulti_Generic v1.2.2
1694-
WiFiWebServer v1.9.4
1689+
WiFiWebServer v1.9.5
16951690
Connecting WiFi...
16961691
WiFi connected, IP address: 192.168.2.113
16971692
You're connected to the network, IP = 192.168.2.113
@@ -1721,7 +1716,7 @@ The following are debug terminal output and screen shot when running example [**
17211716
```
17221717
Starting WiFiUdpNTPClient_WiFiMulti on Nano RP2040 Connect with WiFiNINA using WiFiNINA_Generic Library
17231718
WiFiMulti_Generic v1.2.2
1724-
WiFiWebServer v1.9.4
1719+
WiFiWebServer v1.9.5
17251720
Connecting WiFi...
17261721
WiFi connected, IP address: 192.168.2.113
17271722
You're connected to the network, IP = 192.168.2.113
@@ -1755,7 +1750,7 @@ The following are debug terminal output and screen shot when running example [**
17551750
```
17561751
Starting AdvancedWebServer_WiFiMulti on RASPBERRY_PI_PICO_W with RP2040W CYW43439 WiFi
17571752
WiFiMulti_Generic v1.2.2
1758-
WiFiWebServer v1.9.4
1753+
WiFiWebServer v1.9.5
17591754
Connecting WiFi...
17601755
17611756
WiFi connected, IP address: 192.168.2.180

changelog.md

Lines changed: 6 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.9.5](#releases-v195)
1516
* [Releases v1.9.4](#releases-v194)
1617
* [Releases v1.9.3](#releases-v193)
1718
* [Releases v1.9.2](#releases-v192)
@@ -50,6 +51,11 @@
5051

5152
## Changelog
5253

54+
### Releases v1.9.5
55+
56+
1. Restore support to Teensy, etc.
57+
2. Fix bug in examples
58+
5359
### Releases v1.9.4
5460

5561
1. Restore support to ESP32 and ESP8266. Check [Problem using ESP8266 nodeMCU 1.0 #20](https://github.com/khoih-prog/WiFiWebServer/issues/20)

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "WiFiWebServer",
3-
"version": "1.9.4",
3+
"version": "1.9.5",
44
"keywords": "wifi, wi-fi, WebServer, WiFiNINA, WiFi101, ESP32, Portenta-H7, SAM-DUE, SAMD, STM32, nRF52, rpi-pico, rp2040, HTTP-Client, WebSocket-Client, server, client, websocket, wifi-multi, mega-avr",
55
"description": "Simple WiFiWebServer, HTTP Client and WebSocket Client library for AVR Mega, megaAVR, Portenta_H7, Teensy, SAM DUE, SAMD21, SAMD51, STM32F/L/H/G/WB/MP1, nRF52, RP2040-based (Nano-RP2040-Connect, RASPBERRY_PI_PICO, RASPBERRY_PI_PICO_W, ESP32/ESP8266, etc.) boards using WiFi, such as WiFiNINA, WiFi101, CYW43439, U-Blox W101, W102, ESP8266/ESP32-AT modules/shields, with functions similar to those of ESP8266/ESP32 WebServer libraries",
66
"authors":

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=WiFiWebServer
2-
version=1.9.4
2+
version=1.9.5
33
author=Khoi Hoang
44
license=MIT
55
maintainer=Khoi Hoang <[email protected]>

src/Parsing-impl.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@file Esp8266WebServer.h
1313
@author Ivan Grokhotkov
1414
15-
Version: 1.9.4
15+
Version: 1.9.5
1616
1717
Version Modified By Date Comments
1818
------- ----------- ---------- -----------
@@ -29,6 +29,7 @@
2929
1.9.2 K Hoang 16/08/2022 Workaround for RP2040W WiFi.status() bug
3030
1.9.3 K Hoang 16/08/2022 Better workaround for RP2040W WiFi.status() bug using ping() to local gateway
3131
1.9.4 K Hoang 06/09/2022 Restore support to ESP32 and ESP8266
32+
1.9.5 K Hoang 10/09/2022 Restore support to Teensy, etc. Fix bug in examples
3233
**********************************************************************************************************************************/
3334

3435
#pragma once

src/WiFiHttpClient.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@file Esp8266WebServer.h
1313
@author Ivan Grokhotkov
1414
15-
Version: 1.9.4
15+
Version: 1.9.5
1616
1717
Version Modified By Date Comments
1818
------- ----------- ---------- -----------
@@ -29,6 +29,7 @@
2929
1.9.2 K Hoang 16/08/2022 Workaround for RP2040W WiFi.status() bug
3030
1.9.3 K Hoang 16/08/2022 Better workaround for RP2040W WiFi.status() bug using ping() to local gateway
3131
1.9.4 K Hoang 06/09/2022 Restore support to ESP32 and ESP8266
32+
1.9.5 K Hoang 10/09/2022 Restore support to Teensy, etc. Fix bug in examples
3233
*****************************************************************************************************************************/
3334

3435
// Library to simplify HTTP fetching on Arduino

src/WiFiWebServer-impl.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@file Esp8266WebServer.h
1313
@author Ivan Grokhotkov
1414
15-
Version: 1.9.4
15+
Version: 1.9.5
1616
1717
Version Modified By Date Comments
1818
------- ----------- ---------- -----------
@@ -29,6 +29,7 @@
2929
1.9.2 K Hoang 16/08/2022 Workaround for RP2040W WiFi.status() bug
3030
1.9.3 K Hoang 16/08/2022 Better workaround for RP2040W WiFi.status() bug using ping() to local gateway
3131
1.9.4 K Hoang 06/09/2022 Restore support to ESP32 and ESP8266
32+
1.9.5 K Hoang 10/09/2022 Restore support to Teensy, etc. Fix bug in examples
3233
**********************************************************************************************************************************/
3334

3435
#pragma once

src/WiFiWebServer.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@file Esp8266WebServer.h
1313
@author Ivan Grokhotkov
1414
15-
Version: 1.9.4
15+
Version: 1.9.5
1616
1717
Version Modified By Date Comments
1818
------- ----------- ---------- -----------
@@ -29,6 +29,7 @@
2929
1.9.2 K Hoang 16/08/2022 Workaround for RP2040W WiFi.status() bug
3030
1.9.3 K Hoang 16/08/2022 Better workaround for RP2040W WiFi.status() bug using ping() to local gateway
3131
1.9.4 K Hoang 06/09/2022 Restore support to ESP32 and ESP8266
32+
1.9.5 K Hoang 10/09/2022 Restore support to Teensy, etc. Fix bug in examples
3233
**********************************************************************************************************************************/
3334

3435
#pragma once
@@ -37,13 +38,13 @@
3738
#define WiFiWebServer_H
3839

3940
#ifndef WIFI_WEBSERVER_VERSION
40-
#define WIFI_WEBSERVER_VERSION "WiFiWebServer v1.9.4"
41+
#define WIFI_WEBSERVER_VERSION "WiFiWebServer v1.9.5"
4142

4243
#define WIFI_WEBSERVER_VERSION_MAJOR 1
4344
#define WIFI_WEBSERVER_VERSION_MINOR 9
44-
#define WIFI_WEBSERVER_VERSION_PATCH 4
45+
#define WIFI_WEBSERVER_VERSION_PATCH 5
4546

46-
#define WIFI_WEBSERVER_VERSION_INT 1009004
47+
#define WIFI_WEBSERVER_VERSION_INT 1009005
4748
#endif
4849

4950
#include "WiFiWebServer.hpp"

src/WiFiWebServer.hpp

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@file Esp8266WebServer.h
1313
@author Ivan Grokhotkov
1414
15-
Version: 1.9.4
15+
Version: 1.9.5
1616
1717
Version Modified By Date Comments
1818
------- ----------- ---------- -----------
@@ -29,6 +29,7 @@
2929
1.9.2 K Hoang 16/08/2022 Workaround for RP2040W WiFi.status() bug
3030
1.9.3 K Hoang 16/08/2022 Better workaround for RP2040W WiFi.status() bug using ping() to local gateway
3131
1.9.4 K Hoang 06/09/2022 Restore support to ESP32 and ESP8266
32+
1.9.5 K Hoang 10/09/2022 Restore support to Teensy, etc. Fix bug in examples
3233
**********************************************************************************************************************************/
3334

3435
#pragma once
@@ -57,8 +58,8 @@
5758

5859
/////////////////////////////////////////////////////////////////////////
5960

60-
#elif ( defined(ARDUINO_SAMD_ZERO) || defined(ARDUINO_SAMD_MKR1000) || defined(ARDUINO_SAMD_MKRWIFI1010) \
61-
|| defined(ARDUINO_SAMD_NANO_33_IOT) || defined(ARDUINO_SAMD_MKRFox1200) || defined(ARDUINO_SAMD_MKRWAN1300) || defined(ARDUINO_SAMD_MKRWAN1310) \
61+
#elif ( defined(ARDUINO_SAMD_ZERO) || defined(ARDUINO_SAMD_MKR1000) || defined(ARDUINO_SAMD_MKRWIFI1010) \
62+
|| defined(ARDUINO_SAMD_NANO_33_IOT) || defined(ARDUINO_SAMD_MKRFox1200) || defined(ARDUINO_SAMD_MKRWAN1300) || defined(ARDUINO_SAMD_MKRWAN1310) \
6263
|| defined(ARDUINO_SAMD_MKRGSM1400) || defined(ARDUINO_SAMD_MKRNB1500) || defined(ARDUINO_SAMD_MKRVIDOR4000) || defined(__SAMD21G18A__) \
6364
|| defined(ARDUINO_SAMD_CIRCUITPLAYGROUND_EXPRESS) || defined(__SAMD21E18A__) || defined(__SAMD51__) || defined(__SAMD51J20A__) || defined(__SAMD51J19A__) \
6465
|| defined(__SAMD51G19A__) || defined(__SAMD51P19A__) || defined(__SAMD21G18A__) )
@@ -74,9 +75,9 @@
7475
/////////////////////////////////////////////////////////////////////////
7576

7677
#elif (defined(NRF52840_FEATHER) || defined(NRF52832_FEATHER) || defined(NRF52_SERIES) || defined(ARDUINO_NRF52_ADAFRUIT) || \
77-
defined(NRF52840_FEATHER_SENSE) || defined(NRF52840_ITSYBITSY) || defined(NRF52840_CIRCUITPLAY) || \
78-
defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) || \
79-
defined(MDBT50Q_RX) || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) )
78+
defined(NRF52840_FEATHER_SENSE) || defined(NRF52840_ITSYBITSY) || defined(NRF52840_CIRCUITPLAY) || \
79+
defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) || \
80+
defined(MDBT50Q_RX) || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) )
8081
#if defined(WIFI_USE_NRF528XX)
8182
#undef WIFI_USE_NRF528XX
8283
#endif
@@ -103,8 +104,8 @@
103104
/////////////////////////////////////////////////////////////////////////
104105

105106
#elif ( defined(STM32F0) || defined(STM32F1) || defined(STM32F2) || defined(STM32F3) ||defined(STM32F4) || defined(STM32F7) || \
106-
defined(STM32L0) || defined(STM32L1) || defined(STM32L4) || defined(STM32H7) ||defined(STM32G0) || defined(STM32G4) || \
107-
defined(STM32WB) || defined(STM32MP1) ) && !( defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4) )
107+
defined(STM32L0) || defined(STM32L1) || defined(STM32L4) || defined(STM32H7) ||defined(STM32G0) || defined(STM32G4) || \
108+
defined(STM32WB) || defined(STM32MP1) ) && !( defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4) )
108109
#if (_WIFI_LOGLEVEL_ > 2)
109110
#warning STM32F/L/H/G/WB/MP1 board selected
110111
#endif
@@ -121,7 +122,7 @@
121122
/////////////////////////////////////////////////////////////////////////
122123

123124
#elif ( defined(ARDUINO_NANO_RP2040_CONNECT) || defined(ARDUINO_ARCH_RP2040) || defined(ARDUINO_RASPBERRY_PI_PICO) || \
124-
defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) || defined(ARDUINO_GENERIC_RP2040) || defined(ARDUINO_RASPBERRY_PI_PICO_W) )
125+
defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) || defined(ARDUINO_GENERIC_RP2040) || defined(ARDUINO_RASPBERRY_PI_PICO_W) )
125126

126127
#if (_WIFI_LOGLEVEL_ > 2)
127128
#if defined(ARDUINO_RASPBERRY_PI_PICO_W)
@@ -175,11 +176,17 @@
175176

176177
#if (_WIFI_LOGLEVEL_ > 2)
177178
#warning Use ESP8266 from WiFiWebServer
178-
#endif
179+
#endif
180+
181+
#elif defined(CORE_TEENSY)
182+
183+
#if (_WIFI_LOGLEVEL_ > 2)
184+
#warning Use Teensy from WiFiWebServer
185+
#endif
179186

180187
#else
181188

182-
#error Unknown or unsupported board
189+
#warning Unknown or unsupported board
183190

184191
#endif
185192

0 commit comments

Comments
 (0)