MKS_Robin_Nano_Marlin2.0_Firmware - makerbase-mks/MKS-Robin-Nano-V1.X GitHub Wiki

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.

  • You can download the version of MKS from here Mks-Robin-Nano-Marlin2.0-Firmware

  • You can download official marlin from here Marlin 2.x.x, we usually download the firmware LATEST RELEASE, just below the word DOWNLOAD. There, click on the 2.0.x.zip link.

  • In the future you can use MKS TOOL to download marlin from here MKS TOOL, You can directly configure the firmware with the desired parameters from your browser and download it later.

Configure and compile

  • IF you download official marlin, you need change parameters suitable for MKS Robin Nano V1.x board:

    • platformio.ini: "default_envs = mks_robin_nano35"
    • Configuration.h: "#define MOTHERBOARD BOARD_MKS_ROBIN_NANO"
    • Configuration.h: "#define SERIAL_PORT -1"
    • Configuration.h: "#define SERIAL_PORT_2 3" // for communication with USB
    • Configuration.h: "#define MKS_ROBIN_TFT35" for MKS Robin TFT35 display
    • Configuration.h: "#define TFT_LVGL_UI" for MKS Robin TFT35 display type
  • IF you download the version from MKS path

    • Configuration.h: "#define MOTHERBOARD BOARD_MKS_ROBIN_NANO"
    • Configuration.h: Change enable "#define TFT_LVGL_UI_FSMC"
  • You can configure the firmware with the desired parameters, Reference documents

Update marlin firmware

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

  • Reset or repower on update firmware