MKS-TFT35-Firmware icon indicating copy to clipboard operation
MKS-TFT35-Firmware copied to clipboard

Information about how to compile

Open stylesuxx opened this issue 4 years ago • 6 comments

I am missing information about how to compile the firmware myself and how the toolchain looks exactly - could you please provide more info in that regards?

stylesuxx avatar Feb 19 '21 10:02 stylesuxx

Now you can build it using PlatformIO and Visual Studio Code.

rhapsodyv avatar Feb 22 '21 12:02 rhapsodyv

Hello, I could compile it @stylesuxx , I can not compile it, it generates the following error:

#include "gui.h" ^~~~~~~ compilation terminated. *** [.pio/build/MKS_TFT35/src/User/others/sd_usr.o] Error 1 In file included from User/others/touch_calibrate.cpp:6:0: User/ui/draw_ui.h:7:10: fatal error: gui.h: No such file or directory

fandres avatar May 02 '21 21:05 fandres

Check the filenames.The project must have been created on a system that does not is not case sensitive. If yous is - as is mine - you will have to rename quite a couple of files - or fix the imports accordingly.

stylesuxx avatar May 02 '21 22:05 stylesuxx

Are you using windows, Linux or Mac?

Probably is because of case sensitive filesystem.

rhapsodyv avatar May 02 '21 22:05 rhapsodyv

Hello, it is correct, use Debian 10 Buster

fandres avatar May 02 '21 22:05 fandres

These are the files which are (case sensitive): Gui. Button TEXT. Draw_LevelingSettings QR_ENCODE. LCDCONF. FF. Draw_Ready_print. Spi_flash.h. Draw_sprayer.h.

fandres avatar May 03 '21 00:05 fandres