MKS-TFT icon indicating copy to clipboard operation
MKS-TFT copied to clipboard

How to configure the firmware?

Open dobromyslov opened this issue 7 years ago • 4 comments

I found DuePanel 3 weeks ago but it's based on expensive Atmel and firmware quality is not good. Then I thought what if I rewrite the firmware to STM32 and improve it. A week ago I found your firmware for MKS-TFT32 and now I explore and rewrite it. I've already fixed several bugs successfully.

And I can't find info about UTouch configuration. There is a method UTouch::getTouchData which requires definition of ILI9325 or ILI9328 or SSD1963_50 or SSD1963_70.

Which one should I define? And what header file should I use for such definition?

dobromyslov avatar Jan 20 '18 10:01 dobromyslov

I found that you use EmBitz and found several build targets. Now I understand how you configured the firmware.

I use CLion and cmake to build my projects and will try to port from EmBitz.

dobromyslov avatar Jan 20 '18 10:01 dobromyslov

Hi Viacheslav!

I'm very pleased that you find my work useful. As you already discovered I used different build targets to configure the source tree for MKS-TFT32 no-bootloader configuration, simple bootloader configuration and also a development board with slightly different MCU and TFT. I can also try to explain you other parts of the source if needed. But please keep in mind that I no longer actively develop this project so please do not expect any more commits to this source tree. If you feel that you can maintain this project yourself then you're welcome.

robotsrulz avatar Jan 20 '18 19:01 robotsrulz

Hi guys I have a mks tft 3.2, I have a Stlink and a Jlink and I’ve a little time to help you to improve the code. I own an Open 107 dev board from Waveshare, it could help. There is a lot of people interested by this alternative firmware, I think we could find some help from the community.

youprint avatar Jan 21 '18 06:01 youprint

First of all let's port this project build system to Makefile or CMake to easily develop further in Eclipse, CodeBlock or CLion. This step will also make available building from command line in Linux or in Windows MinGW.

dobromyslov avatar Jan 21 '18 06:01 dobromyslov