Skip to content

Marlin_firmware

makerbase edited this page Sep 22, 2020 · 3 revisions

Install Visual Studio Code

  • Before starting to edit Marlin, we recommend that you install a good code editor - Visual Studio Code. You can even compile Marlin directly from it.

  • Visual Studio Code can be freely downloaded, after you have edited Marlin and the necessary parameters,you can compile it and upload your new firmware to the printer.

  • How to install Visual Studio Code and PlatformIO,edit and compile marlin,you can find from marlinfw.org

Download Marlin

After install VScode, you should download the Marlin source code. There are three ways to get Marlin source code.

Configure and compile

  • IF you download the version from MKS path

    • Platformio.ini file:

      • Set default_envs = mks_robin_e3p
    • Configuration.h file:

      • Set #define SERIAL_PORT -1
      • Enable and set #define SERIAL_PORT_2 3 //for USB connect
      • Set #define MOTHERBOARD BOARD_MKS_ROBIN_E3P
  • You can configure the firmware with the desired parameters, Reference documents

Update marlin firmware

  • After compile marlin firmware, copy "Robin_e3p.bin" file and assets folder to root directory of TF card [from: Marlin -> .pio - > build -> mks_robin_e3p]

  • Reset or repower on update firmware