2019-02-26 07:12 AM
When I added interactions to my container the compiler failed stating it did not know what an AbstractButton was.
When I manually added a #include for "touchgfx/widgets/buttons.hpp" using Visual Studio the fault was fixed.
It is a small project so I can zip it up and email if you tell me who to.
2019-02-28 02:30 AM
I assume by the lack of reply from anyone at ST that they don't care their product can not even do the simplest of GUI tasks as have a button in a container of grouped widgets and allow it to be clicked!
Tried a new project just to be sure and yes as soon as you put a click interaction on a flexbutton that is in a container, the designer generated code that will not compile until you manually add
#include <touchgfx/widgets/Button.hpp> to the gui_generated base class for the container.
Since every time you amend the project this is rewritten you have to fix this every time you want to run your code.
Big fault to have let through to release so when is it going to be fixed?
2019-03-06 07:54 AM
Hi @brianshankland9,
I'm the only one monitoring this TouchGFX community and i've been traveling (Embedded World). Sorry you had to wait so long. Which version of TouchGFX are you using?
2019-03-06 08:08 AM
I've verified that this is an issue in 4.10.0 and i'll pass it on to the Designer Team. Thanks for reporting it! There's a possibility that this has already been fixed in 4.11.0 which will be out soon (it's done - I will test this)
And yes, the files in gui_generated will get overwritten ever time the designer generates new code.
I apologize for the inconvenience!
Thanks!
Best regards,
Martin
2019-03-06 08:24 AM
This is not a problem in version 4.11.0 so we've already fixed it - Release is pending CubeMX / Cube Firmware release dates. Will keep this community updated on the release of course.
(Other things in 4.11.0 - 8-bit, Thai support, Dynamic Fonts and Translations, ...)
2019-03-06 08:33 AM
2019-03-06 11:44 PM
Hi @brianshankland9,
I appreciate that. TouchGFX is a relatively small team, so there's just me (for now!) to keep track of the community. I monitor it daily and this past week with no activity on my side is an exception, i promise you that.
I'd be interested in diving deeper into why the OSWrapper_cmsis.cpp doesn't work with RTX. I'll try to follow up on that and see if i can get a hold of RTX here.
Generally I don't advisertise using the NO RTOS Wrapper, even if you're just accessing the framebuffer from the gui task. There are multiple acessors of the framebuffer (CPU, LTDC, DMA) and as such it must be protected. You will have a lot of timing issues and not a lot of time to do real work if you don't use an RTOS. So i think we should just get the OSWrapper/RTX working properly.
Can you share your setup? Using CubeMX, etc?
Thanks!
2019-03-07 12:54 AM