MyHwESP8266.cpp:21:20: fatal error: EEPROM.h: No such file or directory #include <EEPROM.h>
-
I am trying to compile the MockMySensors on arduino 1.6.4 for ESP8266
I keep getting the error below.Strangely when i compile the GatewayESP8266 module which has an #include <EEPROM.h>, it compiles and runs just fine.
Can anyone help???Verbose errors
Arduino: 1.6.4 (Windows 8), Board: "Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck, Disabled, None"
Build options changed, rebuilding all
Using library SPI in folder: C:\Users\dinnissj\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\SPI
Using library MySensors in folder: C:\Users\dinnissj\Documents\Arduino\libraries\MySensors
C:\Users\dinnissj\AppData\Roaming\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -IC:\Users\dinnissj\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/include -IC:\Users\dinnissj\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include -IC:\Users\dinnissj\AppData\Local\Temp\build6451806607044567628.tmp/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DLWIP_OPEN_SRC -DARDUINO=10604 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_ESP01" -DESP8266 -IC:\Users\dinnissj\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266 -IC:\Users\dinnissj\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\variants\generic -IC:\Users\dinnissj\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\SPI -IC:\Users\dinnissj\Documents\Arduino\libraries\MySensors C:\Users\dinnissj\AppData\Local\Temp\build6451806607044567628.tmp\MockMySensors.cpp -o C:\Users\dinnissj\AppData\Local\Temp\build6451806607044567628.tmp\MockMySensors.cpp.o
In file included from C:\Users\dinnissj\Documents\Arduino\libraries\MySensors/MySensors.h:67:0,
from MockMySensors.ino:19:
C:\Users\dinnissj\Documents\Arduino\libraries\MySensors/core/MyHwESP8266.cpp:21:20: fatal error: EEPROM.h: No such file or directory
#include <EEPROM.h>
^
compilation terminated.
Error compiling. -
Thanks
i actually just reinstalled arduino from version 1.6.4 to current version 1.6.9 i think and it seemed to fix the issue.
I do still have an error with the mymocksensors example sketch though that it doesnt compile with a series of 'function xx is ambiguous' looks like a duplicate reference somewhere. Ill generate the error and post the information
Cheers
James
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login