cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F429I Add emWin

IlConte
Associate III

Dear, I have the demo board STM32F4-discovery MB1075C

Use new STM32CubeIDE 1.3.0

Now I start a new project with this board, i need to add the emWin libray.

I have configurated the link to library and copy the file from STM32Cube_FW_F4_V1.25.0

When add the call GUI_Init(); i have this error at linking time:

GUI_Core.c:(.text.GUI__Config+0x62): undefined reference to `GUI_X_Config'

GUI_Core.c:(.text.GUI__Config+0x66): undefined reference to `LCD_X_Config'

Add the project file

Is the first time that i use the emwin

Thanks for help

3 REPLIES 3
berendi
Principal

Read the emwin documentation.

You have to provide these functions yourself, because stemwin has no idea what kind of display do you have and how it is connected.

You might be able to use the ones in the STM32Cube_FW_F4_V1.25.0/Projects/STM32F429I-Discovery/Demonstrations/STemWin/Gui/Target directory as a starting point.

IlConte
Associate III

I have read the document and read the example in STM32Cube_FW_F4_V1, but the problem still.

Can help me

Thanks

berendi
Principal

You should implement both functions. Not just read the example, but write your own functions based on it.