I’m trying to compile a project which uses ESP8266WiFi.h (https://github.com/absalom-muc/MHI-AC-Ctrl/
It compiles fine if I select a Wemos D2 board, but if I select the board I’m actually using - a Wemos LOLIN S2 Mini, I get a compiler error of “fatal error: ESP8266WiFi.h: No such file or directory”
The board is officially supported according to this page: WEMOS LOLIN S2 Mini — PlatformIO latest documentation
What am I doing wrong? From what I’ve read, this is a standard Arduino library and therefore should not need to be added to lib_deps.
There are other threads mentioning the same error, but the fixes in those threads are not working for me (like adding lib_ldf_mode = deep+ to platformio.ini).
Any help greatly appreciated!