2019-01-14 10:08 PM
Hello all,
We are working on STM32F429 Discovery board.
Following are the steps we followed to create a project in TrueStudio using CubeMX and TouchGFX
But this results in compilation and linking errors as shown in below screenshots
Please help me with the solution to above errors
UPDATE:
One more change I did in testing today.
RESULT: Same compilation errors as above
There are no compilation/linking errors without GRAPHICS enabled.
Solved! Go to Solution.
2019-01-16 06:01 AM
2019-01-16 01:49 AM
The TouchGFX+CubeMX+TrueSTUDIO integration is not complete. This first implementation was not really intended for TrueSTUDIO so I would doubt that it would work out of the box.
2019-01-16 06:01 AM
2019-01-16 11:41 AM
Note that you will have to tweak your display clock in cubemx for the stm32f429 to work. I think it is all covered in the link that @Mon2 indicated above.
2019-01-16 09:01 PM
Which integration would be better than TouchGFX+CubeMX+TrueSTUDIO? Can you suggest?
2019-01-16 10:30 PM
Thank you very much for the answer.
Now my project has successfully built and running on the board.
Will still have to make some changes in graphics settings to get the best image result, though.
2019-01-18 03:46 AM
Thank you for a detailed tutorial regarding creation of project.
I can now run my project successfully.
But, now if I have to glow an LED on board, upon button press event on touchscreen, how should I proceed?
I am searcing for handler functions for the event of Button press.
Event regarding button press is "handleClickEvent" in Application.hpp, right?
Even after setting a breakpoint in the respective location, the control is not getting set at that location.
Please suggest me where to keep my breakpoint to detect Button Press.
2019-01-18 04:57 AM
Hi. You will need to study the following:
https://touchgfx.zendesk.com/hc/en-us/articles/205074561-Connecting-the-UI-to-your-system
While this is all new to us as well, the TouchGFX uses what is referenced as the MVP model of design.
M = Model
V = View
P = Presenter
https://touchgfx.zendesk.com/hc/en-us/articles/205717801-The-Screen-Concept-and-Model-View-Presenter
So, V = your LCD screen where you will use the GUI tool to build a button
Use the same GUI tool to launch a virtual routine.
Modify this routine to call the Presenter - this presenter can be considered a "mail man" who takes your packet from the LCD screen to your physical hardware.
The physical hardware is the Model.
Once the model receives this alert packet of data, you will use standard HAL routines to toggle your physical LED.
Somewhere in the YouTube videos is a nice webinar posting that details all of these steps but unable to locate it at this time. Will search for it again later.
The examples at the above URL also offer great examples for your review and on subject. We have done this but took us a few hours to digest the procedure. Always is difficult the first time around. Time permitting, will review to document in another future tutorial. Hope this helps.
2019-01-18 05:04 AM
Found it !!
Great video that should clarify the process required to interact hardware with the TouchGFX tools:
https://www.youtube.com/watch?v=jQO7zhX0e0Q
The video is by Martin @Martin KJELDSEN (now works for ST) who monitors this forum.
PS: We are close to performing all of these steps as well in the next week or so.
Hope this helps.
2019-01-19 02:25 AM
The links are great! Going through it. Will let you know the updates.
Thanks a lot for posting the link as well!