Fatal error when include <EEPROM.h>, develop using Arduino IDE

Simplify IoT Development.

Moderators: lily.li, violet, seth.welday

Post Reply
ree.wang
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Wed May 09, 2018 10:17 am

Fatal error when include <EEPROM.h>, develop using Arduino IDE

Post by ree.wang » Thu May 17, 2018 10:14 am

Hi Friends,

I have bought a Wio LTE Tracker.
I am going to use Arduino EEPROM methods, but when I add #include <EEPROM.h> and compile the sketch in Arduino IDE, I get error:

"
C:\Wio LTE\Library\Wio_LTE_Arduino_Library-master\examples\MyDevice\MyDevice.ino:7:20: fatal error: EEPROM.h: No such file or directory

#include <EEPROM.h>

^

compilation terminated.

exit status 1
Error compiling for board Wio Tracker LTE.
"

Could you please help me to find a good solution?

jlcurty
Pre-kindergarten
Pre-kindergarten
Posts: 7
Joined: Tue Mar 20, 2018 5:14 am

Re: Fatal error when include <EEPROM.h>, develop using Arduino IDE

Post by jlcurty » Thu Jun 07, 2018 7:20 pm

I have the same issue ...
Jean-louis

hong.jiang
Staff
Staff
Posts: 200
Joined: Tue Apr 17, 2018 11:03 am

Re: Fatal error when include <EEPROM.h>, develop using Arduino IDE

Post by hong.jiang » Wed Jun 20, 2018 10:59 am

Hi:
The EEPROM.h is compiled for Arduino/Genuino UNO and so on ,these boards use AVR chips.BUT the Wio LTE Tracker boards use STM32F4 chip,so you can not include EEPROM.H in your Wio LTE Tracker project.

Post Reply