Installing Marlin

To install Marlin on your printer youll need to Download, Configure,Compile, and finallyFlashthe compiled binary to your board. This process may seem a bit daunting at first, but once youve done it a few times it becomes second-nature.

Marlin only needs to be re-flashed when options are changed in the configuration files. Several settings can be changed and saved to EEPROM while the printer is running.

The first step is to download the Arduino IDE from theArduino websiteand install it following the usual procedure for your OS. Marlin can be compiled on Linux, Windows, macOS, and Unix.

When choosing a version of Marlin to install, there are a few differentcodebasesto choose from:

If the latest Marlin requires too much Program Memory or SRAM to run on your legacy board, first try disabling some features to reclaim space. Then, if necessary, try an older version such as1.0.2-2or1.0.1. (Older versions of Marlin have fewer global variables and therefore use less SRAM.)

Your printer may require a non-standard Arduino core (e.g.,Sanguino,Teensy++) or additional libraries. SeeConfiguring Marlinand commentary inConfiguration.h/Configuration_adv.hpertaining to your hardware and add-ons. Each feature provides links to the relevant resources.

To configure Marlin youll use the Arduino IDE (or yourfavorite text editor) to edit two text files:Configuration.handConfiguration_adv.h. SeeConfiguring Marlinfor an explanation of the configuration file format and a synopsis of most of options in these files. The configuration files themselves also contain very thorough documentation for every option. We recommend you read both for to better know your RepRap or clone.

file to open it in Arduino IDE. Continuing in the IDE

Select your board/micro-controller from the

Select the serial (USB) port that your board is connected to in the

button at the top of the window to make sure there are no configuration errors. (Marlin checks for several common errors)

Once all errors are fixed, proceed with the upload by clicking on the

is open in the Arduino IDE. Continuing in the IDE

Select your board/micro-controller from the

Select the serial (USB) port that your board is connected to in the

A few boards require setting program mode at this point, but most do not.

button to flash your controller board. A blue or green LED on the board will rapidly flash during this process.

Thats it! Now that youve flashed Marlin to your board, enjoy silky smooth printing!

Brought to you withlack ofand lots of.

The contents of this website are © 2018 under the terms of theGPLv3License.