Skip to main content
Fab_0815
Associate II
Oct 14, 2019 1:52 PM UTC
Question

STM32CubeIDE with TouchGFX 4.12.3

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
Oct 16, 2019 11:13 AM UTC

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
Oct 16, 2019 4:06 PM UTC

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
Oct 16, 2019 7:56 PM UTC

It's getting better :) .

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

Fab_0815
Fab_0815Author
Associate II
Oct 16, 2019 8:12 PM UTC

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
Oct 16, 2019 8:26 PM UTC

It would be nice if someone finally did it.

Martin KJELDSEN
Principal III
Oct 17, 2019 6:37 AM UTC

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
Oct 17, 2019 5:17 PM UTC

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.