5 Replies Latest reply on Dec 22, 2014 11:09 AM by CMata_Intel

    Adapt the Marlin 3D Printer Firmware to the board galileo gen2

    ocanen

      Hi, I'm trying to adapt the Marlin 3D Printer Firmware  to the board galileo gen2, since the limitation of space is not an issue in this case and that in theory the number of pins is not an issue, I would like to know if anyone has encountered this error and if anyone can help me:

       

      In file included from D:\ArduinoGalileo\hardware\arduino\x86\variants\galileo_fab_g/variant.h:20:0,

                       from D:\ArduinoGalileo\hardware\arduino\x86\cores\arduino/Arduino.h:33,

                       from Marlin.h:30,

                       from BlinkM.cpp:5:

      D:\ArduinoGalileo\hardware\arduino\x86\cores\arduino/TTYUART.h:30:1: error: expected class-name before '{' token

      D:\ArduinoGalileo\hardware\arduino\x86\cores\arduino/TTYUART.h:64:8: error: 'Print' has not been declared

      In file included from Marlin.h:41:0,

                       from BlinkM.cpp:5:

      MarlinSerial.h: In member function 'int MarlinSerial::available()':

      MarlinSerial.h:100:47: error: 'rx_buffer' was not declared in this scope

      MarlinSerial.h: In member function 'void MarlinSerial::write(uint8_t)':

      MarlinSerial.h:105:1: error: 'UCSR1A' was not declared in this scope

      MarlinSerial.h:105:1: error: 'UDRE1' was not declared in this scope

      MarlinSerial.h:108:1: error: 'UDR1' was not declared in this scope

      MarlinSerial.h: In member function 'void MarlinSerial::checkRx()':

      MarlinSerial.h:114:1: error: 'UCSR1A' was not declared in this scope

      MarlinSerial.h:114:1: error: 'RXC1' was not declared in this scope

      MarlinSerial.h:115:1: error: 'UDR1' was not declared in this scope

      MarlinSerial.h:116:32: error: 'rx_buffer' was not declared in this scope

       

       

      into file configuration.h , I select the option:

       

      // 4  = Duemilanove w/ ATMega328P pin assignment

       

       

      I needed these libraries:

      #include <util/delay.h>

      #include <avr/eeprom.h>

      #include <avr/interrupt.h>

       

      and fix through Re: How to find avr/io.h: No such file or directory in Galileo folder

       

      but I've been stopped, someone could help me.