cancel
Showing results for 
Search instead for 
Did you mean: 

CubeIDE to Toughgfx integration + build error

PKara.1
Associate II

Having issues running a GUI project generated using CubeIDE with TouchGFX application. Please see details below:

Software Versions in use:

  1. STm32CubeIDE v1.5.1
  2. TouchGFX v4.16.1

Hardware

  1. STM32F429I-DISC1

Steps followed to start a test project:

  1. Start a fresh project in STM32CubeIDE using STM32F429I-DISC1 template
  2. Select C++ as target language and Initialise all peripheral in default mode
  3. Project Builds and loads on the board with no issue
  4. Next, use Software Packs to add TouchGFX. Activate Graphics Application, Interface = Parallel RGB , Application Tick Source = LTDC.
  5. Save and Generate Code
  6. open .part to open TouchGFX and create a single screen. Save and Generate Code
  7. Project Build Fails with error "GPIO.hpp no such file or directory
  8. Go to properties of Main Project and "Middlewares/ST/touchgfx/framework/include/touchgfx/hal" to path which contains the missing GPIO.hpp file
  9. 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

10 REPLIES 10

Yes C-01 is the revision, I just wanted to check if it could be a source of issue :thumbs_up:

/Romain