2024-11-12 02:55 AM
Hi, I'm having a really hard time with the above example TouchGFX Board Setup in TouchGFX Designer 4.24.1. What should be a really straightforward (supported hardware) project has thus far got me very confused. As a simple test for a slightly more complex GUI, I have just 2 screens which I am trying to navigate using the Joystick: 2 (DOWN) for navigating forward to screen2 and 4; (LEFT) for navigating back to screen1. The interaction for this is all correctly configured in TouchGFX Designer. Of course, being 'Hardware button clicks' additional external code is required in the relevant ScreenView *cpp and *hpp files which I have added via CubeIDE. The project compiles without errors However, when flashed to the MCU the joystick does not have any effect whatsoever.
I have investigated a little by looking at the structure of one of my previous projects using a (supported) H503RB and GFX01M2 which worked pretty much out of the box with full joystick useability.
The project structure of both of these is very different which makes it difficult to define whether or not the project has been fully or correctly built. I have noticed that no *ButtonController cpp or hpp files have been generated for the STM32U575ZI + GFX02Z1 project which I find strange. Could this be a source of my issue? If so, what might I have missed whilst generating the project. (I can supply source/screenshots if required). Thanks
Solved! Go to Solution.
2024-11-12 04:23 AM
I sorted the issue with small tweaks in the ScreenView files. All is good.
2024-11-12 04:23 AM
I sorted the issue with small tweaks in the ScreenView files. All is good.