2019-10-14 06:52 AM
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?!
2019-10-16 04:13 AM
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
2019-10-16 09:06 AM
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.
2019-10-16 10:02 AM
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!
2019-10-16 12:56 PM
It's getting better :) .
The default initialization in the new CubeIDE on STM32f469I Discovery could be improved.
2019-10-16 01:12 PM
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.
2019-10-16 01:26 PM
It would be nice if someone finally did it.
2019-10-16 11:37 PM
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
2019-10-17 10:17 AM
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.