Yet another Marlin for M2 fork

Have questions or comments about Simplify3D, Slic3r, Cura, Reptier, etc? Or wondering about which CAD software to use...discuss it here...
Post Reply
jsc
Posts: 1864
Joined: Thu Apr 10, 2014 4:00 am

Yet another Marlin for M2 fork

Post by jsc » Thu Aug 27, 2015 5:47 am

I realize several people have their own tracking forks of Marlin, but they're all to add support for hardware I don't have and none are for the dual setup, so here's mine: https://github.com/jinschoi/Marlin

Fork of latest Release branch (1.0.2) with support for v4 dual extruders. Changes from stock:
Configuration set up for M2, using settings blindly transferred over one by one from MakerGear's M2_Dual_Extruder_Marlin firmware. Only settings not taken directly were to enable the auto extruder fan and put in my own PID values.
temperature.cpp modified to workaround a compiler bug with dual extruders using the least invasive "fix" from here: https://github.com/MarlinFirmware/Marlin/issues/1523
stepper.cpp modified to add a workaround for skipped steps during fast moves exacerbated in newer versions of the Arduino IDE.

I haven't given it a thorough testing yet.

User avatar
jimc
Posts: 2888
Joined: Wed Apr 09, 2014 11:30 pm
Location: mullica, nj
Contact:

Re: Yet another Marlin for M2 fork

Post by jimc » Thu Aug 27, 2015 1:20 pm

Ok this is good jin and thanks. Now to change this from a dual firmware to a single is it just a matter of turning off tool 1? any special changes need to be made for that to happen?

jsc
Posts: 1864
Joined: Thu Apr 10, 2014 4:00 am

Re: Yet another Marlin for M2 fork

Post by jsc » Thu Aug 27, 2015 4:50 pm

To convert it to a plain jane single extruder version, yes, set EXTRUDERS to 1, and also set EXTRUDER_1_AUTO_FAN_PIN from 6 to -1 to turn off the auto extruder fan activation on the non-existent second extruder (Configuration_adv.h).

For the E3D, you will want to do whatever you do for that as well (extruder current and PID settings, thermistor table switch).

jsc
Posts: 1864
Joined: Thu Apr 10, 2014 4:00 am

Re: Yet another Marlin for M2 fork

Post by jsc » Thu Aug 27, 2015 5:17 pm

Oops, missed the EEPROM support setting, turned that on just now.

jsc
Posts: 1864
Joined: Thu Apr 10, 2014 4:00 am

Re: Yet another Marlin for M2 fork

Post by jsc » Thu Aug 27, 2015 6:20 pm

Aaaand I got the missed steps workaround wrong, so I had to fix that.

Post Reply