cancel
Showing results for 
Search instead for 
Did you mean: 

Best way to import/integrate a TouchGFX into an existing STM32 project

Ricko
Senior III

Hi,

While learning TouchGFX, I created a fairly extensive UI application using TouchGFX alone (i.e., without any custom code). I also have a separate, larger Vending Machine Controller project, where the rest of the system has already been coded. I now need to join them.

 

1) What is the best and most reliable way to integrate the TouchGFX project into the Vending Machine Controller project? Is there a detailed guide available for this process?

 

2) Is there a merge or export/import tool available, or should I simply copy the folders manually?

 

3) What steps should I take before and after merging them (such as checking or modifying settings in the TouchGFX project and/or the CubeIDE project)?

 

Thank you

3 REPLIES 3

I recommend doing the opposite. Merge your project into a TouchGFX project.
I also recommend creating the initial TouchGFX project from STM32CubeMX and not from TouchGFX designer.
We have a custom board that use TouchGFX.

Kudo posts if you have the same problem and kudo replies if the solution works.
Click "Accept as Solution" if a reply solved your problem. If no solution was posted please answer with your own.
MM..1
Chief III

Primary condition is your Vending project MX ioc based and created code can use repeatly ioc edit and regenerate?

If yes simply add TGFX software package to your project , this create empty TGFX. After this exist more ways, i preffer first empty screen and activate display drivers and setup to all works. After this import from your existing TGFX into V project. TGFX have import GUI in menu learn use it.

Osman SOYKURT
ST Employee

Hello @Ricko ,

I recommend the custom container approach in your case. This will allow you to import your work to your larger project very easily. And if you have no custom code, I'm expecting that would be pretty straight forward to import it.


Osman SOYKURT
ST Software Developer | TouchGFX