CubeMX5.2/TouchGFX4.10.0/STCUBEIDE1.0 or SW4STM32 or TrueAtollic working properly with 32F746NGDiscovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-05-16 01:36 PM
Has anyone got CubeMX5.2/TouchGFX4.10.0/STCUBEIDE1.0 or SW4STM32 or TrueAtollic working properly with any Discovery board? I mean be able to build with no errors and run it on any Discovery board? I had it working with CubeMX4.xx/TouchGFX4.10.0/SW4STM32. But when I updated CubeMX4.xx to 5.2, I get build errors. I tried the procedure put by Zhi Pang on the community, but it doesn't work anymore. I get build errors.
If you have it working please send me some info on how you did it.
Thanks
Kiran
Solved! Go to Solution.
- Labels:
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-05-27 04:10 AM
Hi guys,
There's a working STM32F746G-DISCO project for your inspection. I will proceed with making a video tutorial now. It's a bit of a cumbersome process but i'll investigate how lenient i can be with official guidelines in order to get it out sooner :)
/Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-05-20 02:09 AM
Hi @KMunj,
There are some quirks to work out, but it should be possible to, with a little bit of effort, make TouchGFX run on a disco board with a parallel RGB screen. e.g. STM32F746G-DISCO.
Can you tell me how far you got? I will write a sticky with some of the initial issues we've identified here re: TouchGFX/CubeIDE integration.
/Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-05-20 03:54 PM
Thanks Martin for responding.
I am using 32F746Discovery Board as per your recommendation. Unfortunately I can't make much progress. I get errors immediately.
I open IDE and select 32F746Discovery. I keep all the defaults and name the project and open. Then I select graphics and select TouchGFX. I make sure every thing in that window is correct. (Attached -2). Then I do "Clean Build" and "Build". I get 4 errors. (Attached -3). So I do "Clean Build" and do "Execute" TouchGFX. It gets started and gives error "Error during code generation" (Attached -4). Then I tried to build the code, but IDE gets hung up.
Next time around, I did "Execute" 1st before and clean/build. But TouchGFX give same error "Error during code generation". I also selected C++ instead of C as Targeted language, but no matter I can't get rid of "Error during code generation" on TouchGFX.
If you need additional, info please let me know.
Thanks
Kiran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-05-20 03:55 PM
Looks like I can do only one attachment.
Here is -2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-05-20 03:55 PM
Here is -3.
Thanks
Kiran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-05-21 01:53 AM
Hi @KMunj,
I created a sticky that should help you through creating a CubeIDE/TouchGFX project. Some of the issues you're having here are addressed there, i believe. Try it out and let me know, okay?
Thanks!
Best regards,
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-05-21 06:12 AM
Thanks, Martin. I would like to try this sticky. But where can I find it. I searched under your name on the Community but couldn't find it. I tried to google it too. But no luck.
Please provide the link to this sticky for creating a CubeIDE/TouchGFX project.
Thanks.
Kiran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-05-21 06:39 AM
At the top of the TouchGFX subforum (this forum). Here's the direct link.
Hope it helps!
/Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-05-22 05:39 AM
Thanks, Martin.
I don't know how to do #7. Is there any sticky for following how to do this?
- The library settings are wrong. Include the touchgfx library in MCU G++ Linker\Libraries:
- Libraries (-I): touchgfx-float-abi-hard
- Libraries search path (-L): \Middlewares\ST\TouchGFX\touchgfx\lib\core\cortex_mx\gcc\
Thanks.
-Kiran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-05-22 11:35 PM
Hi @KMunj,
I'll update the description to be more concise - Here's a few screenshots of how to do this:
