Skip to main content
MSent.2
Associate II
October 11, 2022
Question

How to create a TouchGFX Project for Custom Board?

  • October 11, 2022
  • 2 replies
  • 9028 views

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.

2 replies

SKacp.1
Associate
October 11, 2022

Hello,

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

Best Regards,

Slawek

MSent.2
MSent.2Author
Associate II
October 11, 2022
Osman SOYKURT
ST Technical Moderator
October 13, 2022

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
October 14, 2022

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
October 24, 2022

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