AnsweredAssumed Answered

BSP library failed to link with HAL library

Question asked by Dai chou on Jun 28, 2017
Latest reply on Jul 10, 2017 by Chen Wei Yu

I use BSP/STM32469l-Discovery (from STM32CubeMx) , and use STM32F4xx_HAL_Driver to do a small project like this video : STM32CubeMX Graphic LCD using STM32F429I-DISCO part1 [1/2] - YouTube  (I convert evaluation board from STM32F429-Disco to STM32469-Disco)

But I got some error like:

LCD_TEST\LCD_TEST.axf: Error: L6218E: Undefined symbol HAL_DSI_ConfigPhyTimer (referred from stm32469i_discovery_lcd.o).
LCD_TEST\LCD_TEST.axf: Error: L6218E: Undefined symbol HAL_DSI_ConfigVideoMode (referred from stm32469i_discovery_lcd.o).
LCD_TEST\LCD_TEST.axf: Error: L6218E: Undefined symbol HAL_DSI_DeInit (referred from stm32469i_discovery_lcd.o).
LCD_TEST\LCD_TEST.axf: Error: L6218E: Undefined symbol HAL_DSI_IRQHandler (referred from stm32469i_discovery_lcd.o).
LCD_TEST\LCD_TEST.axf: Error: L6218E: Undefined symbol HAL_DSI_Init (referred from stm32469i_discovery_lcd.o).
LCD_TEST\LCD_TEST.axf: Error: L6218E: Undefined symbol HAL_DSI_LongWrite (referred from stm32469i_discovery_lcd.o).
LCD_TEST\LCD_TEST.axf: Error: L6218E: Undefined symbol HAL_DSI_ShortWrite (referred from stm32469i_discovery_lcd.o).
LCD_TEST\LCD_TEST.axf: Error: L6218E: Undefined symbol HAL_DSI_Start (referred from stm32469i_discovery_lcd.o).
Not enough information to list image symbols.
Finished: 1 information, 0 warning and 8 error messages.
"LCD_TEST\LCD_TEST.axf" - 8 Error(s), 0 Warning(s).

It seems that stm32469i_discovery_lcd.c cannot link to HAL(stm32f4xx_hal_dsi.c).

But In complie section , I found all require obj file create.

My stm32f4xx_hal_dsi.c version is V1.7.1

My stm32469i_discovery_lcd.c version is V2.0.0

My MDK-ARM version is V5.23

 

Outcomes