cancel
Showing results for 
Search instead for 
Did you mean: 

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

MSm
Associate II

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

2 REPLIES 2
Martin KJELDSEN
Chief III

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

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