cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure h745bit6 on CubeIde and TouchGFX

NguyenAnhHieu_
Associate II

Hello,

I am trying to configure the STM32H745BIT6 with the TouchGFX interface. However, during the process, I encountered an error when generating because the build could not find the libraries from TouchGFX.

I have attempted to add the include paths in "MCU/MPU Gcc Compiler" and "MCU/MPU G++ Compiler", but the issue persists. How should I specify the correct paths so that TouchGFX recognizes them? The build process is handled automatically by the app, and I am unsure how to intervene manually.

I have referred to the setup guide from this video: https://www.youtube.com/watch?v=SRQD8JMeg_k&t=2063s

I would appreciate any help.

Thank you!

 NguyenAnhHieu__0-1742528262114.png

3 REPLIES 3
NguyenAnhHieu_
Associate II

Hello everyone,

I am currently working on a project using the STM32H745BIT6 chip, which features dual cores (M7 and M4). I am aiming to set up an LCD interface using TouchGFX. However, I encountered a build error right after writing the initial lines of code— the compiler cannot find a required library.

I have already tried adding the necessary include paths in both the "MCU/MPU Gcc Compiler" and "MCU/MPU G++ Compiler" settings, but the error still persists. Additionally, I attempted various methods to add the ST libraries from the Middlewares package, yet nothing has resolved the issue.

Currently, I am using STM32CubeIDE 1.18 and TouchGFX 4.20.

I would greatly appreciate any help or suggestions to resolve this build error.

Thank you very much for your support!

NguyenAnhHieu__0-1742479151518.png

 

JJhin.1
Senior II

After generating project from CubeMX you need to generate GUI from TouchGFX designer. and after you have to compile the project in Cube ide

GaetanGodart
ST Employee

Hello @NguyenAnhHieu_ and welcome to the community!

 

Was JJhin.1's answer useful? Did it solve your issue?

If not, I invite you to check this thread about how to add files to a STM32CubeIDE project.

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)