Me Creator 2 Firmware update
Posted: Sat Jul 01, 2017 9:22 am
When I use Arduino to attempt to update the firmware I get a compile error:
Arduino: 1.8.3 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from sketch\Marlin_main.cpp:47:0:
sketch\language.h:36:0: warning: "MACHINE_NAME" redefined
#define MACHINE_NAME "MeCreator 2 "
^
In file included from sketch\Marlin.h:22:0,
from sketch\Marlin_main.cpp:30:
sketch\Configuration.h:6:0: note: this is the location of the previous definition
#define MACHINE_NAME MECREATOR2
^
sketch\Marlin_main.cpp:2678: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 (x86)\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'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Arduino: 1.8.3 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from sketch\Marlin_main.cpp:47:0:
sketch\language.h:36:0: warning: "MACHINE_NAME" redefined
#define MACHINE_NAME "MeCreator 2 "
^
In file included from sketch\Marlin.h:22:0,
from sketch\Marlin_main.cpp:30:
sketch\Configuration.h:6:0: note: this is the location of the previous definition
#define MACHINE_NAME MECREATOR2
^
sketch\Marlin_main.cpp:2678: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 (x86)\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'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.