Skip to content

Latest commit

 

History

History
57 lines (35 loc) · 3.83 KB

README.md

File metadata and controls

57 lines (35 loc) · 3.83 KB

How to install vscode and platformio for compile

  • Please download VSCode from here According to your computer operating system, to download the corresponding version, for example mine is Win7 64-bit operating system, so choose Windows 7, 8, 10 User Installer 64bit.

image

After the download is complete, double-click the installation. After the installation is complete, open VSCode.

  • You also need to install the PlatformIO plugin, please click on the ① in the picture below, enter PlatformIO in ② and click ③ Install to install.

image

After the download is complete, you still need Reload

image

After Reload, you will be prompted to install PlatformIO Core, which takes a little time.

image

After the installation is successful, you need to reload again. After the Reload, the PlatformIO is installed.

image

  • In the lower left corner of the VSCode, you can see that there’s one more icon, please see the picture(①), which is the PlatformIO plugin, and then click ② Open Project to open the project.

image

how to compile firmware

  • Please see the picture(①), which is the PlatformIO plugin, and then click ② Open Project to open the project. image

  • Find the BIGTREETECH TFT35 firmware source directory , then click Open image

  • After opening the project, go to the platformio.ini file and change the default environment . the “env_default” can be “BIGTREE_TFT35_V1_2”, “BIGTREE_TFT35_V1_1”, and “BIGTREE_TFT35_V1_0” it depends on your hardware. image

  • After the modification is complete, press Ctrl+Alt+B, and platformio will automatically download the compiled component and compile it. image

  • After the compilation is successful, a BIQU_TFT35_V1.x.x.bin file will be generated in the .pioenvs\BIGTREE_TFT35_V1_x directory. We need copy this file to the SD card, and insert this SD Card to TFT35 Touch Screen, then reset the Touch Screen, the firmware will be updated automatically.

how to update firmware

copy these files to SD Card root directory

The structure of the files in SD Card should be as follows image

  • the .bin file is the firmware of BIGTREETECH TFT35, this file needs to be updated every time for update function
  • the TFT24 folder contains the icons and fonts
    • icons: If you want to customize icons, see here, and update the folder by SD Card (don't need update every time)
    • fonts: this is a bitmap fonts of ASCII and GBK. The font is Song typeface (don't need update every time)