Page 1 of 1

Wifi Shield

Posted: Thu Dec 21, 2017 12:00 pm
by hortplus
I recently received a SparkFun WiFi Shield - ESP8266. It all started well but now when i try run a sketch i get the error messages:

Arduino: 1.6.7 (Windows 10), Board: "SparkFun ESP8266 Thing, 80 MHz, 115200"

libraries\SparkFun_ESP8266_AT_Arduino_Library-master\SparkFunESP8266WiFi.cpp.o: In function `ESP8266Class::getAP(char*)':

C:\Users\Dell\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/Stream.h:93: undefined reference to `strspn'

libraries\SparkFun_ESP8266_AT_Arduino_Library-master\SparkFunESP8266WiFi.cpp.o: In function `ESP8266Class::localIP()':

C:\Users\Dell\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/Stream.h:93: undefined reference to `strspn'

libraries\SparkFun_ESP8266_AT_Arduino_Library-master\SparkFunESP8266WiFi.cpp.o: In function `ESP8266Class::updateStatus()':

C:\Users\Dell\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/Stream.h:93: undefined reference to `strspn'

C:\Users\Dell\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/Stream.h:93: undefined reference to `strspn'

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling.

Any idea how to fix this?

Thanks in advance

Andrew
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

Re: Wifi Shield

Posted: Fri Dec 22, 2017 9:12 pm
by hortplus
A funny thing happened. I swapped boards and now it works fine