Preparing Arduino IDE




Preparing the Arduino IDE for compiling Marlin 1.1.x firmware for the Creality stock board

  1. Download and install Arduino IDE from: https://www.arduino.cc/en/Main/Software (If not done already)
  2. Run the Arduino IDE
  3. Install the Sanguino board type in the Arduino IDE: https://github.com/Lauszus/Sanguino
    The Creality board is a 16mhz Atmega1284 Sanguino type board
    1. Open the preferences menu: File -> Preferences
    2. In the additional boards manager URLs field, paste: https://raw.githubusercontent.com/Lauszus/Sanguino/master/package_lauszus_sanguino_index.json
    3. Click OK
    4. Open the Boards Manager: Tools->Boards->Boards Manager
    5. Search for Sanguino, Select the latest version and install, Close the boards manager
    6. Select the Sanguino board type from Tools-> Boards
    7. From Tools->Processor select ATmega1284 or ATmega1284P (16mhz)
  4. Install the U8glib for the LCD display.
    1. Open the Library Manager: Tools -> Manage Libraries
    2. Search for u8glib and install U8glib by oliver
    3. Close the Library manager

The Arduino IDE now has the necessary prerequisites for building the Marlin firmware