82Views2Replies

Author Options:

wifi program will not compile. Using win 8, board manager for 8266. ? Answered

error message reads: C:\Users\bevjean\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar: unable to rename 'C:\Users\bevjean\AppData\Local\Temp\arduino_build_802985/arduino.ar'; reason: File exists

Using library ESP8266WiFi at version 1.0 in folder: C:\Users\bevjean\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0\libraries\ESP8266WiFi

exit status 1

Error compiling for board Adafruit HUZZAH ESP8266.

can't find file in question.

Discussions

0
None
meurs274

5 months ago

If your sketch does not compile and returns error:
error: return-statement with a value, in function returning 'void' [-fpermissive]
virtual void flush() { return iClient->flush(); };

You are most liklely using Firmware Beta 2.5.0 for the ESP8266. This update breaks compatibility with ArduinoHttpClient(which is used by Adafruit IO). The Adafruit IO Arduino library is currently unsupported by this beta firmware. To get it working, we'll downgrade the firmware on the ESP8266 to a stable version.

Launch the Board Manager from Arduino by navigating to Tools -> Boards -> Board Manager. Type ESP8266 into the search bar. From the dropdown, select version 2.4.2

0
None
SoWmyWayne

1 year ago

8266 is the port number of adafruit website