Skip to main content
Fab_0815
Associate II
October 14, 2019
Question

STM32CubeIDE with TouchGFX 4.12.3

  • October 14, 2019
  • 8 replies
  • 2342 views

I have several errors while generating my code.

A few errors i am able to solve with excluding the simulator files from my project.

But now i have a new error with an undifened reference.

../TouchGFX/generated/fonts/src/GeneratedFont.cpp:12: undefined reference to `touchgfx::ConstFont::ConstFont

Do you have any workaround for me to solve this error?

EDIT:

I found in the CubeMX file the expected version 4.10 .

Maybe this could be a problem by generating the code?!

0690X00000AqKciQAF.png

This topic has been closed for replies.

8 replies

Martin KJELDSEN
Principal III
October 16, 2019

CubeMX does not generate TouchGFX code. We asked for the "External application info" description to be modified - It wants to tell you what the "minimum" required version is.

Did you remember to press "Generate code" in the designer?

/Martin

Fab_0815
Fab_0815Author
Associate II
October 16, 2019

Yes, I created a new project with the CubeIDE opened touchGFX trough the IDE.

I created a simple GUI and generated the code.

After excluding the simulation files and try to build the error appeard.

I saw that there is a new update for the IDE.

I will update my IDE now and take a look if it works with it.

Roberto_k_w
Visitor II
October 16, 2019

It's getting better :) .

The default initialization in the new CubeIDE on STM32f469I Discovery could be improved.

Fab_0815
Fab_0815Author
Associate II
October 16, 2019

Yes, this seems to be still a point on their TO-DO.

Actualy I needed to update like 5 .cpp files to get it running.

Roberto_k_w
Visitor II
October 16, 2019

It would be nice if someone finally did it.

Martin KJELDSEN
Principal III
October 17, 2019

I don't think it's ever been the intention of CubeMX / CubeIDE to create working projects for eval/disco-boards. And i don't think that's going to happen, ever.

At some point we hope to have full coverage through the TouchGFX designer for all boards using CubeMX which can then generate projects for any supported IDE. It's something we're working on a general solution for at the TouchGFX office.

/Martin

Roberto_k_w
Visitor II
October 17, 2019

TouchGFX as a separate tool from GUI building is very good.

The problem is with the default STM32f469I Discovery setting in CubeIDE in combination with TouchGFX.

It would be great if someone did the instruction to correctly initialize each STM32f469I Discowery in the new Cube IDE.