Welcome! Log In Create A New Profile

Advanced

Problems enabling Dual Extruders in Marlin 1.0.2

Posted by eovnu87435ds 
Problems enabling Dual Extruders in Marlin 1.0.2
September 22, 2015 05:18PM
I'm having some issues getting my code to compile for enabling dual extruders. It seems to be the same issue anwofis and k3vbot3000 had here and here. My code compiles just fine until I change #define EXTRUDERS = 1 to 2. When I do change it to 2 extruders, this is the error I am getting in the Arduino IDE. I tried the solutions listed in each of their threads, but to no avail.

Arduino: 1.6.2 (Windows 8.1), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

temperature.cpp: In function 'void manage_heater()':

temperature.cpp:665:1: error: unable to find a register to spill in class 'POINTER_REGS'

 }

 ^

temperature.cpp:665:1: error: this is the insn:

(insn 98 97 100 4 (set (reg/vconfused smileyF 103 [ pid_input ])

        (memconfused smileyF (post_inc:HI (reg:HI 147 [ ivtmp.210 ])) [4 MEM[base: _113, offset: 0B]+0 S4 A8])) temperature.cpp:449 99 {*movsf}

     (expr_list:REG_INC (reg:HI 147 [ ivtmp.210 ])

        (nil)))

temperature.cpp:665: confused by earlier errors, bailing out

Error compiling.

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.

If anybody could help, it would be greatly appreciated. The currentfw branch in my fork is the code as it is configured for my printer.
https://github.com/eovnu87435ds/Marlin/tree/currentfw
Re: Problems enabling Dual Extruders in Marlin 1.0.2
September 22, 2015 07:27PM
I had this issue with different versions of Arduino IDE. I haven't had an issue with version 1.60.
Sorry, only registered users may post in this forum.

Click here to login