-
Notifications
You must be signed in to change notification settings - Fork 61
Marlin_firmware
-
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
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 SGEN_L Marlin 2.x.x, We suggest you download it because configure(platformio.ini,configuration.h) is suitable for MKS SGEN_L V1.0 board.
-
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.
-
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.
-
IF you download official marlin,you need change parameters suitable for MKS SGEN_L V1.0 board:
- platformio.ini:"default_envs = LPC1768"
- configuration.h:"#define MOTHERBOARD BOARD_MKS_SGEN_L"
- configuration.h:"#define SERIAL_PORT -1"
- configuration.h:"#define SERIAL_PORT_2 0" // for communication with MKS TFT series
-
IF you download the version of MKS,the configure is ok,you don't need to change it.
-
You can configure the firmware with the desired parameters, Reference documents,
-
After compile marlin firmware,copy "firmware.bin" file to root directory of TF card [from: Marlin -> .pio - > build -> LPC1768]
-
Reset or repower on update firmware