Skip to main content
Dlinky
Associate II
April 10, 2022
Solved

Can somebody help me with the integration of STCubeIDE and TouchGFX ?

  • April 10, 2022
  • 2 replies
  • 1188 views

I desperatly try to configure these applications in order to display 2 buttons on the TFT LCD of my STM32F429I-DISC1 board.

Precisely, I'd like to know:

  1. If using STMCubeMX is required?
  2. How to transfer the TouchGFX layout code into STCubeIDE (I can do an import but then the .ioc file is missing)?
  3. I almost succeded by renaming the TouchGFX files before importing them into CubeMX (I replaced the default board name with my project's name). Then I compiled with no errors but once I added two GPIO, the new compilation yields 5 errors (mostly related to TouchGFX HAL).

What is wrong with all that??? Is there a workflow of some kind to solve my issue?

I appreciate your help. Thank you very much.

This topic has been closed for replies.
Best answer by MM..1

I understand , that you ask for project created in TGFX. Not all have it, but search for folder IDE and in .project file ... doubleclick open in IDE. (in TGFX prepared examples have more versions try search in older if latest dont have)

Same for examples not all have ioc files. Simply can say projects in TGFX is for learning, not for project create.

Normal steps is:

  1. In MX or IDE start new empty STM project, choice MCU or board
  2. In generated project add TGFX software package
  3. Open template in project and create GUI
  4. Add to core src all code ... BSP drivers , user code
  5. ...

2 replies

MM..1
MM..1Best answer
Chief III
April 10, 2022

I understand , that you ask for project created in TGFX. Not all have it, but search for folder IDE and in .project file ... doubleclick open in IDE. (in TGFX prepared examples have more versions try search in older if latest dont have)

Same for examples not all have ioc files. Simply can say projects in TGFX is for learning, not for project create.

Normal steps is:

  1. In MX or IDE start new empty STM project, choice MCU or board
  2. In generated project add TGFX software package
  3. Open template in project and create GUI
  4. Add to core src all code ... BSP drivers , user code
  5. ...
Dlinky
DlinkyAuthor
Associate II
April 10, 2022

Great! I still have two questions:

  1. When creating the project, should I select "Targeted Language: C or C++" (I read somewhere that it is better to select C++)?
  2. Also, during the project setup, should I answer "No" to the question "Initialize all peripherals to their default Mode"?

Thanks again for your help.

MM..1
Chief III
April 10, 2022

1 C++

2 based on your project