Skip to main content
ADębs.1
Senior
March 27, 2021
Solved

GFX, STM32CubeIDE, STM32F746G-DISCO

  • March 27, 2021
  • 1 reply
  • 692 views

Hi

I start with a template. I'm generating GFX without error. I open the STM32CubeIDE. There are * .cpp files. There is no * .hpp. Why?

Regards

Andrzej

This topic has been closed for replies.
Best answer by Alexandre RENOUX

Hello,

This is how CubeIDE works. When you open the project in CubeIDE, the headers (.hpp) are at the top of the project but they are included. If you build the project it should work. FYI, to include other header files you need to go to the project properties and add includes paths.

So if I understand your question correctly, this is not a TouchGFX question but a question on how to use CubeIDE right ?

/Alexandre

1 reply

Alexandre RENOUX
Alexandre RENOUXBest answer
Visitor II
March 29, 2021

Hello,

This is how CubeIDE works. When you open the project in CubeIDE, the headers (.hpp) are at the top of the project but they are included. If you build the project it should work. FYI, to include other header files you need to go to the project properties and add includes paths.

So if I understand your question correctly, this is not a TouchGFX question but a question on how to use CubeIDE right ?

/Alexandre

ADębs.1
ADębs.1Author
Senior
March 29, 2021

Hi

I start working with a template. Does the GFX template generate files to the IDE from * .hpp? Where does it need to be set?

Andrzej