ekstrand / ESP8266wifi

ESP8266 Arduino library with built in reconnect functionality
MIT License
450 stars 235 forks source link

Problem with avr/pgmspace.h #39

Closed zen closed 7 years ago

zen commented 7 years ago

I'm trying to compile some code with PlatformIO and I'm getting this error:

Compiling .pioenvs/nodemcuv2/src/EnviroMonitorStation.ino.o Compiling .pioenvs/nodemcuv2/src/EnviroMonitorStation.ino.o Compiling .pioenvs/nodemcuv2/lib/ESP8266wifi_ID1101/ESP8266wifi.o Compiling .pioenvs/nodemcuv2/lib/ESP8266wifi_ID1101/ESP8266wifi.o In file included from .piolibdeps/ESP8266wifi_ID1101/ESP8266wifi.cpp:9:0: .piolibdeps/ESP8266wifi_ID1101/ESP8266wifi.h:23:26: fatal error: avr/pgmspace.h: No such file or directory

include <avr/pgmspace.h>

^ compilation terminated.

I found this https://github.com/esp8266/Arduino/issues/2366

I think it might be related. Is there anything I could do to allow compilation?