2025-04-25 2:33 PM - edited 2025-04-25 2:33 PM
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
2025-04-26 7:36 AM
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.
2025-04-26 7:37 AM
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.
2025-04-28 2:18 AM
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.