The firmware of MKS Robin Nano, based on Marlin2.0.x, added the LittlevGL, supporting colourful GUI and touch screen. It is developed on PlatformIO, we hope more and more developers will participate the development of this repository.
As the firmware is based on Marlin2.0.x which is built on the core of PlatformIO, the buid compiling steps are the same as Marlin2.0.x. You can directly using PlatformIO Shell Commands, or using IDEs contain built-in PlatformIO Core(CLI), for example, VSCode and Atom. VSCode is recommended.
The images should be added to gcode file when slicing, and MKS has developed the plugin for Cura to make it.
- Open LVGL online image converter tool.
- Open bmp images.
- Enter the saved file name.
- Choose color format:True color.
- Choose file output format:Binary RGB565.
- Start convertion.
- Save bin file.
- Copy the converted bin file to the assets folder.
- Copy the assets folder to the SD card.
- SD card is connected to the motherboard, and you can see the update interface after powering on.
- Build config:
-
platformio.ini:
default_envs = mks_robin_nano35
-
Configuation.h:
#define SERIAL_PORT 3
#define MKS_ROBIN_TFT35
#define MOTHERBOARD BOARD_MKS_ROBIN_NANO
#define TFT_LVGL_UI
#define TOUCH_SCREEN
- Update firmware:
- Enter the
.pio\build\mks_robin_nano35
directory, copy theassets
folder andRobin_nano35.bin
to the sd card - Insert SD card to the motherboard, and you can see the update interface after power on.
- Build config:
-
platformio.ini:
default_envs = mks_robin_nano35
-
Configuation.h:
#define SERIAL_PORT 3
#define MKS_TS35_V2_0
#define MOTHERBOARD BOARD_MKS_ROBIN_NANO_V2
#define TFT_LVGL_UI
#define TOUCH_SCREEN
- Update firmware:
- Enter the
.pio\build\mks_robin_nano35
directory, copy theassets
folder andRobin_nano35.bin
to the sd card - Insert SD card is to the motherboard, and you can see the update interface after power on.
- Build config:
-
platformio.ini:
default_envs = mks_robin_nano_v3_usb_flash_drive_msc
-
Configuation.h:
#define SERIAL_PORT -1
#define MKS_TS35_V2_0
#define MOTHERBOARD BOARD_MKS_ROBIN_NANO_V3
#define TFT_LVGL_UI
#define TOUCH_SCREEN -
Configuation_adv.h:
Now you can either use the TF card or USB disk, use TF card:
// #define USB_FLASH_DRIVE_SUPPORT
Use USB disk:
#define USB_FLASH_DRIVE_SUPPORT
- Update firmware:
- Enter the
.pio\build\mks_robin_nano35
directory, copy theassets
folder andRobin_nano35.bin
to the sd card or usb disk - Insert sdcard or usb disk to the motherboard, and you can see the update interface after power on.
Please refer to MKS Robin Nano github.
Please refer to MKS Robin Nano V2 github.
Please refer to MKS Robin Nano V3 github.