2024-07-15 09:11 AM
Hi,
I have used TouchGFX on an F4 without any problems so far, except that the animations were a bit slow. Now I bought this H7A3ZIQ and when I add TouchGFX to the project, I get 230 'undefined reference' errors. Any ideas on how this is possible?
Solved! Go to Solution.
2024-07-16 09:52 AM - edited 2024-07-16 09:54 AM
Hello @GaetanGodart,
On the other nucleo (F401RE), I set everything as usual. I created the project in CubeIDE (1.15.1), set up the clock configuration, pinout, SPI, added my libraries, then selected the TouchGFX component and added a picture or something. It worked every time.
I tried the same method on the H7, (but with the newer 1.16.0 CubeIDE,) and it didn't work.
Eventually after my ~fifth failed attempt I gave a try to CubeMX (6.11.1). I created the project in it, set up everything I could, added touchgfx, then did everything else in CubeIDE and it worked. I don't really understand why, so if you can tell me where I can read about the official way to set it up, I would appreciate it.
2024-07-16 01:17 AM
Hello @kr36 ,
What F4 were you using?
How did you add TouchGFX to that F4.
How did you add TouchGFX to your STM32H7A3ZIQ-nucleo?
I assume you did not follow a proper method, it seems you miss all of the framework files.
Regards,
2024-07-16 09:52 AM - edited 2024-07-16 09:54 AM
Hello @GaetanGodart,
On the other nucleo (F401RE), I set everything as usual. I created the project in CubeIDE (1.15.1), set up the clock configuration, pinout, SPI, added my libraries, then selected the TouchGFX component and added a picture or something. It worked every time.
I tried the same method on the H7, (but with the newer 1.16.0 CubeIDE,) and it didn't work.
Eventually after my ~fifth failed attempt I gave a try to CubeMX (6.11.1). I created the project in it, set up everything I could, added touchgfx, then did everything else in CubeIDE and it worked. I don't really understand why, so if you can tell me where I can read about the official way to set it up, I would appreciate it.
2024-07-17 01:59 AM
I am glad you were able to fix your problem.
I don't know what really happened, but the "right" way to do it is to create a project from STM32CubeMX.
Here is the official documentation : board-bring-up
Regards,