This is a fork of the MKS-Robin-Nano-Marlin2.0-Firwmare GitHub with configurations and changes made to specifically support the FOKOOS Odin 5-F3 ( and eventually F4 ) 3D printer.
The printer firmware is based on that of the MKS Robin Nano, which itself is forked from Marlin2.0.x and adds the LittlevGL adds a colourful GUI and touch screen suport. LittlevGL support is being folded back into the main Marlin 2.0 firmware tree and at that point this firmware will be refactored to operate off that branch until everything can be folded back in the main line.
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 build it directly using PlatformIO Shell Commands
Or you can use IDEs that integrate PlatformIO Core(CLI), for example, VSCode and Atom. VSCode is recommended.
MKS has developed a plugin for Cura to add image previews to the g-code files. It is compatible with Cura 4.4 and higher.
- The Odin 5-F3 uses a 480x320 display for full-screen items such as the boot logo
- Pay attention to the size of icons. You have to create them at the correct size.
- 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.
Please refer to MKS Robin Nano github.