KnowCode
Search…
Generating the GUI code - TouchGFX
Using the TouchGFX framework to test your GUI prototype on STM32.

How to use your GUI prototype code on TouchGFX

  1. 1.
    Extract all files from the .zip file generated by KnowCode
  2. 2.
    Open the TouchGFX file
If you’re using the latest version of TouchGFX, this message will be shown. Click on “Yes”

VOILÀ! Your project in TouchGFX is created.

Running on the target device

  1. 1.
    If you want to run direct on the target device, go to the menu in “File>New”
  2. 2.
    Click on “Create New”
  3. 3.
    Choose your target device and click in "Create
REMEMBER: Your project must meet the target device resolution. In this example it’s 480 x 272
TouchGFX - Target Device

Importing the file

  1. 1.
    Into this new project, click on “Edit” in the menu and choose “Import GUI”
  2. 2.
    Click on “Browse” to find the TouchGFX file
  3. 3.
    Choose the TouchGFX file in the folder you’ve extracted the generated file and click on “Open”
  4. 4.
    After choosing the file click on “Yes” to confirm (on the message box)
  5. 5.
    Congratulations! Your embedded GUI project is ready to run on your target device.
Last modified 4mo ago