Having issues running a GUI project generated using CubeIDE with TouchGFX application. Please see details below:
Software Versions in use:
- STm32CubeIDE v1.5.1
- TouchGFX v4.16.1
Hardware
- STM32F429I-DISC1
Steps followed to start a test project:
- Start a fresh project in STM32CubeIDE using STM32F429I-DISC1 template
- Select C++ as target language and Initialise all peripheral in default mode
- Project Builds and loads on the board with no issue
- Next, use Software Packs to add TouchGFX. Activate Graphics Application, Interface = Parallel RGB , Application Tick Source = LTDC.
- Save and Generate Code
- open .part to open TouchGFX and create a single screen. Save and Generate Code
- Project Build Fails with error "GPIO.hpp no such file or directory
- Go to properties of Main Project and "Middlewares/ST/touchgfx/framework/include/touchgfx/hal" to path which contains the missing GPIO.hpp file
- Project Builds successfully and uploads on board however nothing happens on display.
A new project created using TouchGFX runs with no issues.
Attached : STM32CubeIDE & TouchGFX projects
Regards,
Prashant