I’ve ripped my hair out for days trying to get Lulzbot’s fork of Marlin compiled for my Taz 6. I wanted to modify Marlin’s settings, such as saving my toolhead offsets so I don’t have to save the configs in Cura when using dual extrusion.
Upon compiling Marlin with the latest Arduino with the Rambo json board addons, I’d get weird behavior from the LCD freezing to the toolhead homing twice, with the second ramming the nozzle into the homing switch.
- Clone the Lulzbot Marlin repo (Smartgit works well) for your printer.
- Checkout the branch required for your printer (oliveoil is the Taz 6, gladiola is the mini. dually, moar and so on are toolheads).
- Install Arduino 1.0.6 from here.
- Open the Program Files (x86)/Arduino directory
- Open a new window, open the Lulzbotrepo/ArduinoAddons/Arduino_1.0.x directory in the Lulzbot repo on your local machine
- Delete the tools folder from Lulzbotrepo/ArduinoAddons/Arduino_1.0.x/hardware. The repo contains a corrupted avr binary and it won’t compile with it! Arduino 1.0.6 comes with a working compiler.
- Copy both the hardware and libraries folders from Lulzbotrepo/ArduinoAddons/Arduino_1.0.x to the Program Files (x86)/Arduino directory. DO NOT replace any existing files, skip.
- Make the desired changes to the Marlin firmware
- Open the Marlin.ino file in the Lulzbotrepo/Marlin folder, Arduino will open up
- Select Tools>Boards then select RAMBo
- Select Sketch>Verify/Compile
- Open a new Explorer window. Type in %AppData%, then go to \AppData\Local\Temp
- The compiled firmware which can be flashed using Lulzbot Cura will be in a buildxxxxxxxxxx.tmp folder such as build2296577116678913177.tmp with the firmware file being Marlin.cpp.hex
- Open Cura>Machine then Flash Custom Firmware
- Watch your first print to ensure nothing is amiss.
If it goes horribly wrong, select Machine>Install default firmware to revert to stock