Skip to main content
AD�?b
Senior
December 18, 2019
Question

STM32F746GDiscovery, Eclipse, CubeMX 5.4.0, STM32Cube_FW_F7_V1.15.0, TouchGFX 4.12.3

  • December 18, 2019
  • 16 replies
  • 3214 views

I turn on the periphery in defaukt Mode. I add TouchGX, Display Parallel Interface, I set LSD Reset Pin on PI12. I set TouchGFX. I design in TouchGFX Designer. I generate the code, save and leave TouchGFX. I generate code in CubeMX. There are errors after compilation. Why?

This topic has been closed for replies.

16 replies

Martin KJELDSEN
Principal III
December 19, 2019

Hi,

I really don't have a clue :) Maybe you can supply more information?

/Martin

AD�?b
AD�?bAuthor
Senior
December 19, 2019

CubeMX report

scottSD
Senior III
December 19, 2019

The discussion in the following community post has a lot of useful information for you on this topic:

https://community.st.com/s/question/0D50X0000AqD8zPSQS/stm32cubeide-and-touchgfx-4100-resolving-compilation-issues

And I found the following video by "HP" to be VERY useful:

https://www.youtube.com/watch?v=ZQA2lAsIdZA

ST has been working out the kinks in the STM32CubeIDE to TouchGFX integration (as can bee seen in the latest version compared to the previous one).

AD�?b
AD�?bAuthor
Senior
December 19, 2019

After entering BSP there is an error. I set the Drivers / BSP / Inc and Drivers / BSP / Src paths.

stm32f746g_discovery_lcd.h

#include "../Components/rk043fn48h/rk043fn48h.h" Fatal error. The file is not seen. Why?

AD�?b
AD�?bAuthor
Senior
December 19, 2019

Errors appear after loading the BSP library and building in eplipse

Martin KJELDSEN
Principal III
December 20, 2019

Check your project settings. Specifically: Include paths.

AD�?b
AD�?bAuthor
Senior
December 20, 2019

Where to enable libraries? Which paths? Which libraries?

Martin KJELDSEN
Principal III
December 20, 2019

Honestly, i have no idea what your problem is outside of not being able to compile.

Can you please try to be more specific and provide more information on what you've tried and what didn't work?

/Martin

AD�?b
AD�?bAuthor
Senior
December 20, 2019

After compilation, an error is reported in the subdir.mk file: @echo 'Building file: $ <' How to correct it?

AD�?b
AD�?bAuthor
Senior
December 20, 2019

I found an attached file on the web. I followed the instructions carefully. There is an error in subdir.mk: @echo 'Building file: $ <' How to correct it?

Martin KJELDSEN
Principal III
December 20, 2019

Let me tag @Mon2​ and​ @Clark Sann​ who wrote that guide.

I don't have anymore time today and i'll be taking a break from community until i'm back from seasonal holiday. I may check in once in a while.

/Martin

HP_it
Senior II
December 20, 2019

maybe have a look at this video:

https://www.youtube.com/watch?v=ZQA2lAsIdZA

It should walk you through the whole process of setting everything up correctly

Mon2
Senior III
December 20, 2019

Hi @Martin and @Andrzej Dębski​ . The referenced document was written and tested to be working with the noted target kit by Clark Sann. However, this status is from earlier this year. Believe he is monitoring the website but please note that I have been a bit out of the loop on the latest state of these tool chains. Hope to play catch up real soon for some pending interest for a GUI product - perhaps over these holidays.

@Andrzej Dębski​ , can you post your project that raises the issues? Also full details on the compiler and related tool versions will be of help. Perhaps can test the same over the next few days.

Happy holidays to all!

AD�?b
AD�?bAuthor
Senior
December 20, 2019

I understand. Thank you in the meantime. Once again I will try to do the same on SW4STM32. If it will be the same, I will switch to STM32IDE and check it according to the movie on YouTube. Happy rest.

Martin KJELDSEN
Principal III
December 20, 2019

Generally, and going forward, we won't be supporting toolchains like SW4STM32 (AC6) and TrueSTUDIO. we're targeting CubeIDE specifically, but since they're all Eclipse based it may work for others - But it's not something we test for specifically.

/Martin