Quantcast
Channel: Reprap Forum - RAMPS Electronics
Viewing all articles
Browse latest Browse all 1807

Problems enabling Dual Extruders in Marlin 1.0.2 (1 reply)

$
0
0
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/v:SF 103 [ pid_input ])

        (mem:SF (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

Viewing all articles
Browse latest Browse all 1807

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>