bportaluri / WiFiEsp

Arduino WiFi library for ESP8266 modules
GNU General Public License v3.0
548 stars 210 forks source link

Arduino nano Every compiling error #205

Closed athdimitriou closed 3 years ago

athdimitriou commented 3 years ago

Hi all,

I am having issues compiling the library on Arduino nano Every. I have tried to #include to a bare minimum to minimise potential issues and still I am getting Error compiling for board Arduino Nano Every. I been trying to find a solution for a week now with no luck.

Any help would be much appreciated.

Regards, Thanasis

JAndrassy commented 3 years ago

in EspDrv.cpp add #define F(string_literal) (reinterpret_cast<const __FlashStringHelper *>(PSTR(string_literal))) after includes

athdimitriou commented 3 years ago

That worked perfectly. Thank you very much @jandrassy

JAndrassy commented 3 years ago

with SDK 3 AT 1.7 or higher, you can use my WiFiEspAT library