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