Skip to main content
MSent.2
Associate II
Oct 11, 2022 6:13 AM UTC
Question

How to create a TouchGFX Project for Custom Board?

Hello Everybody, I am trying to create a TouchGFX project for my custom board. I follow embryonic.dk's video on Youtube. However I couldn't manage to build a project. I received errors in the first image. It says No such file or directory for app_touchgfx.h. However, It is in the project. The interesting thing is when I check it's properties the exclude resource from build option was selected.I deselect it. But I receive more errors. I tried to deselect exclude from build option for every folder in the project manually but it didn't work. How can I create a TouchGFX project for my custom board? I was not expecting that it's gonna be that hard. I don't have much knowledge. I am using STMCubeIDE version 1.10.1, TouchGFX generator version 4.20 and TouchGFX Designer version 4.20.0693W00000UnmsOQAR.png0693W00000UnmqSQAR.png

0693W00000UnmpFQAR.png

This topic has been closed for replies.

10 replies

SKacp.1
Associate
Oct 11, 2022 10:13 AM UTC

Hello,

Please share Your project. I will try to help You.

Best Regards,

Slawek

MSent.2
MSent.2Author
Associate II
Oct 11, 2022 11:14 AM UTC
Osman SOYKURT
ST Technical Moderator
Oct 13, 2022 3:11 PM UTC

Hello MSent.2,

I recommend you to use STM32CubeMX and start your project from there. Then you will need to include TouchGFX component and that will allows you to design your app. We have a video on our Youtube channel that explains it very well, I invite you to have a look at it ;)

Tell me if you don't succeed on it, and I'll try to guide you more.

/Osman

ST Software Developer | TouchGFX
MSent.2
MSent.2Author
Associate II
Oct 14, 2022 12:49 PM UTC

Hello @Osman SOYKURT​ ,

I tried to use STM32CubeMX but unfortunately I got an error. When I open the .log file, It says !MESSAGE Application error

!STACK 1

java.lang.IllegalArgumentException.

0693W00000Uo4vuQAB.png0693W00000Uo4vaQAB.jpg

Osman SOYKURT
ST Technical Moderator
Oct 24, 2022 8:11 AM UTC

Hello MSent.2,

I think you tried to open your .project file (generated by STM32CubeIDE) in STM32CubeMX. This last one use an .ioc file instead.

You can still use STM32CubeIDE and do the steps described in the video with this interface :

0693W00000UodFCQAZ.png 

/Osman

ST Software Developer | TouchGFX