cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE with TouchGFX 4.12.3

Fab_0815
Associate III

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

8 REPLIES 8
Martin KJELDSEN
Chief III

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

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.

Okay, I take it all back.

After the update everything works "without any problems". 

You just have to make a few settings and the board works, just like before.

With the new IDE it is no longer necessary to manually remove the simulation files from the build process!

So there are a few nice improvements!

Roberto_k_w
Associate II

It's getting better 🙂 .

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

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
Associate II

It would be nice if someone finally did it.

Martin KJELDSEN
Chief III

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

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.