Marlin_firmware - makerbase-mks/MKS-Robin-Nano-V3.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.
Configure and compile
-
platformio.ini: default_envs = mks_robin_nano_v3_usb_flash_drive_msc
-
Configuration.h: #define MOTHERBOARD BOARD_MKS_ROBIN_NANO_V3 #define SERIAL_PORT -1 // for communication with USB #define TFT_LVGL_UI // for MKS TS35 display #define TOUCH_SCREEN // for MKS TS35 touch
-
Configuation_adv.h: After 2021.6.7, you can use the multi-volume function. Use the TF card and USB disk together: #define USB_FLASH_DRIVE_SUPPORT Only use TF card: // #define USB_FLASH_DRIVE_SUPPORT
Update marlin firmware
-
After compile marlin firmware, copy "Robin_nano_v3.bin" file and assets folder to root directory of TF card or usb-disk[from: Marlin -> .pio - > build -> mks_robin_nano_v3_usb_flash_drive_msc]
-
Reset or repower on update firmware