Closed neckkola closed 2 years ago
Hi @neckkola
Thanks for reporting the problem. I just forgot about popular ESP32/ESP8266 recently and therefore the unintended error message.
Please change
as follows
#elif !(ESP32 || ESP8266)
#error Unknown or unsupported board
#endif
I'll fix the issue very soon for next release.
Thank you so much and for a great product. Have a wonderful day.
Hi @neckkola
The new WiFiWebServer releases v1.9.4 has just been published.
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
include
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