2022-10-19 06:42 AM
I managed to create a GUI in TouchGFX and compile it as a standalone project.
Now, the GUI should be integrated in an existing project that is already up and running (it has some paramters which are statically defined before compilation).
The sliders are meant to be connected to virtual functions which in turn call methods in the main application to edit those parameters dynamically. So, I still want to preserve all the functionalities and structure of my main application and simply add a way to dynamically alter the parameters through the touch screen.
Thanks (I'm on STM32H735G-DK) :)
2022-10-19 07:12 AM
If your primary project is generated in MX , then simply add software package TouchGFX and import GUI. But custom drivers and gui func need manual copy.
If not MX or IDE wizard ioc project, add TGFX is more complicated...
2022-10-19 08:11 AM
I don't think the project was developed in MX. We just use CubeIDE. I tried to look for that "import GUI" setting, but couldn't find it. Fundamentally, I just need a way to edit parameters dynamically, it doesn't matter how it's done. I though TGFX was going to be an easy-ish solution, but it doesn't look like it. Any suggestions to achieve my goal?
2022-10-19 09:16 AM
CubeIDE have MX plugin. Have your project ioc file ... open it and add software package
After you add package TGFX added is empty template. Open it and in Designer menu search Import GUI.
2022-11-09 05:09 AM
Ok, I think i understand the workflow now. I need to open my existing project in TouchGFX Designer and add a GUI there. However, I don't get how to do that.
I installed the additional TouchGFX package but I can't manage to generate a file that I can open up in TouchGFX Designer (there I will use the import gui tool as you have suggested).
Can you please help me out with this passage?
2022-11-09 06:20 AM
No. if your project is in IDE , then have or havnt ioc file.
2022-11-09 08:35 AM
Ok, I finally managed to get this under control (.ioc and extension files).
However, now I'm stuck at this other thing you mentioned "But custom drivers and gui func need manual copy" . The expansion pack fails to correctly import all the necessary dependancies. Even when I'm manually importing it fails to compile. Any suggestions?
2022-11-09 10:18 AM
Maybe we dont understand, what you ask. Try write step you do and where you fail.