Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. SerialGateway fails to load avr/eeprom.h to Intel Galileo Gen2

SerialGateway fails to load avr/eeprom.h to Intel Galileo Gen2

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 2 Posters 3.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SparkAndHale
    wrote on last edited by SparkAndHale
    #1

    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?

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #2

      Does the Intel Galileo platform have something similar as Avr's eeprom library?

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SparkAndHale
        wrote on last edited by SparkAndHale
        #3

        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?

        1 Reply Last reply
        0
        • hekH Offline
          hekH Offline
          hek
          Admin
          wrote on last edited by
          #4

          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?

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SparkAndHale
            wrote on last edited by
            #5

            @hek Yes, I look into that and send a pull request as soon as there is a prototype.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            13

            Online

            11.7k

            Users

            11.2k

            Topics

            113.1k

            Posts


            Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • MySensors
            • OpenHardware.io
            • Categories
            • Recent
            • Tags
            • Popular