Ho scaricato il firmware e provato a compilare ma ho degli errori. Uso IDE 1.8.5.
Arduino:1.8.5 (Windows 7), Scheda:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from sketch\ConfigurationStore.cpp:3:0:
sketch\temperature.h:157:42: warning: extra tokens at end of #ifdef directive
#ifdef THERMAL_RUNAWAY_PROTECTION_PERIOD && THERMAL_RUNAWAY_PROTECTION_PERIOD > 0
^
In file included from sketch\Marlin_main.cpp:42:0:
sketch\temperature.h:157:42: warning: extra tokens at end of #ifdef directive
#ifdef THERMAL_RUNAWAY_PROTECTION_PERIOD && THERMAL_RUNAWAY_PROTECTION_PERIOD > 0
^
sketch\Marlin_main.cpp:2126:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");
^
In file included from sketch\SdFile.h:27:0,
from sketch\cardreader.h:8,
from sketch\Marlin_main.cpp:44:
SdBaseFile.h:38: error: using typedef-name 'fpos_t' after 'struct'
struct fpos_t {
^
In file included from sketch\Marlin.h:10:0,
from sketch\Marlin_main.cpp:30:
c:\program files\arduino\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here
__extension__ typedef long long fpos_t;
^
exit status 1
using typedef-name 'fpos_t' after 'struct'
MA se modifico fpos_t con filepost_t (ho trovato su internet questa soluzione) l'errore diventa questo:
Arduino:1.8.5 (Windows 7), Scheda:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from sketch\Marlin_main.cpp:42:0:
sketch\temperature.h:157:42: warning: extra tokens at end of #ifdef directive
#ifdef THERMAL_RUNAWAY_PROTECTION_PERIOD && THERMAL_RUNAWAY_PROTECTION_PERIOD > 0
^
sketch\Marlin_main.cpp:2126:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");
^
sketch\SdBaseFile.cpp: In member function 'void SdBaseFile::getpos(fpos_t*)':
SdBaseFile.cpp:298: error: request for member 'position' in '* pos', which is of non-class type 'fpos_t {aka long long int}'
pos->position = curPosition_;
^
SdBaseFile.cpp:299: error: request for member 'cluster' in '* pos', which is of non-class type 'fpos_t {aka long long int}'
pos->cluster = curCluster_;
^
sketch\SdBaseFile.cpp: In member function 'void SdBaseFile::setpos(fpos_t*)':
SdBaseFile.cpp:1496: error: request for member 'position' in '* pos', which is of non-class type 'fpos_t {aka long long int}'
curPosition_ = pos->position;
^
SdBaseFile.cpp:1497: error: request for member 'cluster' in '* pos', which is of non-class type 'fpos_t {aka long long int}'
curCluster_ = pos->cluster;
^
exit status 1
request for member 'position' in '* pos', which is of non-class type 'fpos_t {aka long long int}'
Come devo modificare?