Post
by George501949 » Tue Mar 01, 2016 10:46 am
Hi, I get this error message when installing firmware, help please.
Arduino: 1.6.7 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from sketch\Marlin.h:23:0,
from sketch\BlinkM.cpp:5:
^
sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined [enabled by default]
#define Y_MAX_PIN -1
^
sketch\pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined [enabled by default]
#define Z_MAX_PIN -1
^
sketch\pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
sketch\temperature.cpp:565:50: warning: extra tokens at end of #ifdef directive [enabled by default]
#ifdef THERMAL_RUNAWAY_PROTECTION_BED_PERIOD && THERMAL_RUNAWAY_PROTECTION_BED_PERIOD > 0
^
sketch\temperature.cpp: In function 'void manage_heater()':
temperature.cpp:665: error: unable to find a register to spill in class 'POINTER_REGS'
}
^
temperature.cpp:665: error: this is the insn:
(insn 98 97 100 4 (set (reg/v:SF 103 [ pid_input ])
(mem:SF (post_inc:HI (reg:HI 146 [ ivtmp.209 ])) [4 MEM[base: _110, offset: 0B]+0 S4 A8])) sketch\temperature.cpp:449 99 {*movsf}
(expr_list:REG_INC (reg:HI 146 [ ivtmp.209 ])
(nil)))
sketch\temperature.cpp:665: confused by earlier errors, bailing out
exit status 1
unable to find a register to spill in class 'POINTER_REGS'
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.