Hi, I'm trying to adapt theMarlin 3D Printer Firmware to the board galileo gen2,since thelimitation ofspace isnot an issue inthis case and thatin theorythe number ofpins isnot an issue, I would like to knowif anyonehas encounteredthis error andif anyone can helpme:
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 neededtheselibraries:
#include <util/delay.h>
#include <avr/eeprom.h>
#include <avr/interrupt.h>
and fix through
but I've been stopped, someone could helpme.