You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.
When using the esp8266 nodemcu 1.0 board, with the esp core installed and 1.9.3 of WiFiWebServer, on compile the WifiWebServer reports "#error Unknown or unsupported board" and fails.
Using Arduino 2.0 rc 9.3.
Installed the esp core. The board is recognized and is selected correctly.
Steps to Reproduce
Sample sketch to reproduce with nodemcu 1.0 (ESP-12E) selected as board.
#include <ESP8266WiFi.h>
#include <WiFiWebServer.h>
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Expected behavior
I am making the assumption as the documentation says that the ESP8266 is supported, it should work without modifications.
Actual behavior
The compile fails. I am able to make it work by modifying the WiFiWebServer.hpp to include the following at line 166:
#elif (ESP8266)
#define USE_WIFI_NINA false
// To use the default WiFi library here
#define USE_WIFI_CUSTOM true
Arduino IDE version: 2.0 rc9.3
ESP32 Core Version 3.0.2
OS: Windows 11 Home
The text was updated successfully, but these errors were encountered:
Describe the bug
When using the esp8266 nodemcu 1.0 board, with the esp core installed and 1.9.3 of WiFiWebServer, on compile the WifiWebServer reports "#error Unknown or unsupported board" and fails.
Using Arduino 2.0 rc 9.3.
Installed the esp core. The board is recognized and is selected correctly.
Steps to Reproduce
Sample sketch to reproduce with nodemcu 1.0 (ESP-12E) selected as board.
#include <ESP8266WiFi.h>
#include <WiFiWebServer.h>
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Expected behavior
I am making the assumption as the documentation says that the ESP8266 is supported, it should work without modifications.
Actual behavior
The compile fails. I am able to make it work by modifying the WiFiWebServer.hpp to include the following at line 166:
#elif (ESP8266)
#define USE_WIFI_NINA false
// To use the default WiFi library here
#define USE_WIFI_CUSTOM true
The text was updated successfully, but these errors were encountered: