Skip to main content
MSm
Associate II
November 4, 2019
Question

Hi. I'm using stm32f746 discovery and I have trouble with TouchGFX

  • November 4, 2019
  • 2 replies
  • 735 views

When I make a project with stm32cubemx 5.4 and touchgfx 4.12.3 and compile project with keil or iar or openstm32 much errors occur.

For example in iar I have errors like this in linking level :

No definition for MX_FREERTOS_Init() from main.o

And many others...

Image attached.

Could you please help me.

Thanx

This topic has been closed for replies.

2 replies

Martin KJELDSEN
Principal III
November 4, 2019

Did you remember to open the project in the TouchGFX designer and to press "Generate code" ? The designer will "bootstrap" your application by copying appropriate library and headerfiles and updating your specified project IF TouchGFX knows about it. e.g. I don't think we do anything with openstm32, but we can update keil uvprojx and IAR ewp files with the files that have been generated by the designer.

/Martin

Zui
Senior
November 4, 2019

In main.cpp add extern "C" right before void MX_FREERTOS_Init(void); (should be in line 91)

then you will need to manual import some files into keil project, can't remember exactly which ones... let me know if you getting other weird errors