SerialGateway fails to load avr/eeprom.h to Intel Galileo Gen2
-
Hi all,
I installed Arduino IDE 1.6.3 and copied all the library files over to the Arduino library as shown in this video. http://www.mysensors.org/build/ (I omited the libs which are already in place).
I can upload and run successfully the Arduino Blink sketch to my Intel Galileo Gen2. Good so far.
When I load and attempt to upload the MySensors example "SerialGateway", it fails with the following message.
In file included from SAHSerialGateway.ino:16:0:
C:\Program Files (x86)\Arduino\libraries\MySensors/MySensor.h:19:24: fatal error: avr/eeprom.h: No such file or directory
compilation terminated.
Error compiling.What is the root folder of where this eeprom.h file should be placed? Apparently the MySensor header file requires it.
Any one else is having this problem with a new setup?
-
Does the Intel Galileo platform have something similar as Avr's eeprom library?
-
Dear @hek, yes it does have 11kb eeprom . http://www.arduino.cc/en/ArduinoCertified/IntelGalileo
If that is similar to AVR, I don't know. Also, this implementation of the eeprom interface is all capital: ```#include <EEPROM.h>
I tried all programmer options in Arduino, like AVR ISP, AVRISP MKII, etc...
The Intel Pentium ISA SOC is not a ATMEL AVR-like chip. I assume that is the reason why taking this eeprom.h header file will not work - since the Intel SOC is base on a 32-Bit architecture.
@hek shouldn't we try to implement the standard Arduino EEPROM in the mysensors.h header (and pgmspace.h and wdt.h? Or ought we think about a MySensors version for Intel Galileo 32BIT SOC chips?
-
If you look in the development branch the hardware specific code has been moved out of the core library. You could perhaps try to make an Intel Galileo "Hw"-file?
-
@hek Yes, I look into that and send a pull request as soon as there is a prototype.
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting • 26 Feb 2025, 00:32 • dpcons 26 Feb 2025, 06:22 -
Ghost Child
Troubleshooting • 22 days ago • FcNanoLed 18 days ago -
JSN-SR04T-V3.0 Coax cable extended
Troubleshooting • 17 days ago • bocalexandru 16 days ago -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
NODs stop responding, but ping works.
Troubleshooting • 28 days ago • Marcin 28 days ago