Skip to main content
kvkhekale
Associate III
January 15, 2019
Solved

Compilation errors in project created from STM32F0429 board with touchGFX interface

  • January 15, 2019
  • 3 replies
  • 4498 views

Hello all,

We are working on STM32F429 Discovery board.

Following are the steps we followed to create a project in TrueStudio using CubeMX and TouchGFX

  1. Create a project in CubeMX by defining STM32F429 Discovery board .
  2. Do the configuration in GRAPHICS as shown in the screenshot as an attachment herewith
  3. Generate the code
  4. Open TouchGFX project throuch "Execute" button on the same screen
  5. Add a simple image in TouchGFX
  6. Generate the code in TouchGFX
  7. Again open CubeMX and generate the code in TrueStudio
  8. Compile the project created in TrueStudio containing CubeMX with UI created in TouchGFX

0690X000006D68NQAS.png

But this results in compilation and linking errors as shown in below screenshots0690X000006D68XQAS.png

0690X000006D69aQAC.png

 Please help me with the solution to above errors

UPDATE:

One more change I did in testing today.

  1. Create a CubeMX project with GRAPHICS enabled
  2. Generate the code and compile it in TrueSTUDIO without any touchGFX interface attached to it.

RESULT: Same compilation errors as above

There are no compilation/linking errors without GRAPHICS enabled.

This topic has been closed for replies.

3 replies

Markus GIRDLAND
ST Employee
January 16, 2019

The TouchGFX+CubeMX+TrueSTUDIO integration is not complete. This first implementation was not really intended for TrueSTUDIO so I would doubt that it would work out of the box.

kvkhekale
kvkhekaleAuthor
Associate III
January 17, 2019

Which integration would be better than TouchGFX+CubeMX+TrueSTUDIO? Can you suggest?

Mon2
Mon2Best answer
Senior III
January 16, 2019
kvkhekale
kvkhekaleAuthor
Associate III
January 17, 2019

Thank you very much for the answer.

Now my project has successfully built and running on the board.

Will still have to make some changes in graphics settings to get the best image result, though.

FSTKMARO
Associate II
January 16, 2019

Note that you will have to tweak your display clock in cubemx for the stm32f429 to work. I think it is all covered in the link that @Mon2​  indicated above.