The STM32F429 Discovery kit (STM32F429I-DISC1) allows users to easily develop applications with the STM32F429 high-performance MCUs with ARM®Cortex®-M4 core.

Problem with a building with Keil for STM32F429 Discovery kit

23 Dec 2015

Hello,

The program is the example DISCO-F429ZI_LCD_demo. The project successfully exported to Keil uVison 5, but the problem occurs during compilation. It appears the following problem:

*** Using Compiler 'V5.05 update 2 (build 169)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'mbed DISCO_F429ZI'
compiling ili9341.c...
compiling l3gd20.c...
compiling stmpe811.c...
compiling font12.c...
compiling font16.c...
compiling font20.c...
compiling font24.c...
compiling font8.c...
compiling stm32f429i_discovery.c...
compiling stm32f429i_discovery_eeprom.c...
compiling stm32f429i_discovery_gyroscope.c...
compiling stm32f429i_discovery_io.c...
compiling stm32f429i_discovery_lcd.c...
compiling stm32f429i_discovery_sdram.c...
compiling stm32f429i_discovery_ts.c...
compiling main.cpp...
compiling LCD_DISCO_F429ZI.cpp...
linking...
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol HAL_SPI_DeInit (referred from stm32f429i_discovery.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol HAL_SPI_GetState (referred from stm32f429i_discovery.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol HAL_SPI_Init (referred from stm32f429i_discovery.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol HAL_SPI_Receive (referred from stm32f429i_discovery.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol HAL_SPI_Transmit (referred from stm32f429i_discovery.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol HAL_SPI_TransmitReceive (referred from stm32f429i_discovery.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol wait_ms (referred from stm32f429i_discovery.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol HAL_RCCEx_PeriphCLKConfig (referred from stm32f429i_discovery_lcd.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol HAL_SDRAM_Init (referred from stm32f429i_discovery_sdram.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol HAL_SDRAM_ProgramRefreshRate (referred from stm32f429i_discovery_sdram.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol HAL_SDRAM_Read_32b (referred from stm32f429i_discovery_sdram.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol HAL_SDRAM_Read_DMA (referred from stm32f429i_discovery_sdram.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol HAL_SDRAM_SendCommand (referred from stm32f429i_discovery_sdram.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol HAL_SDRAM_WriteProtection_Disable (referred from stm32f429i_discovery_sdram.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol HAL_SDRAM_Write_32b (referred from stm32f429i_discovery_sdram.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol HAL_SDRAM_Write_DMA (referred from stm32f429i_discovery_sdram.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol gpio_init_out (referred from main.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol mbed_assert_internal (referred from main.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol wait (referred from main.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol HAL_RCC_GetClockConfig (referred from hal_tick.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol HAL_RCC_GetPCLK1Freq (referred from hal_tick.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol HAL_TIM_OC_Init (referred from hal_tick.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol HAL_TIM_OC_Start (referred from hal_tick.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol us_ticker_irq_handler (referred from hal_tick.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol SystemCoreClockUpdate (referred from mbed_overrides.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol mbed::FileSystemLike::opendir() (referred from retarget.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol mbed::FilePath::fileSystem() (referred from retarget.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol mbed::FilePath::file() (referred from retarget.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol mbed::FilePath::exists() (referred from retarget.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol mbed::FilePath::isFile() (referred from retarget.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol mbed::FilePath::fileName() (referred from retarget.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol mbed::FilePath::FilePath(const char*) (referred from retarget.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol serial_getc (referred from retarget.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol serial_init (referred from retarget.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol serial_putc (referred from retarget.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol stdio_uart (referred from retarget.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol stdio_uart_inited (referred from retarget.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol SystemInit (referred from startup_stm32f429xx.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol HAL_RCC_GetHCLKFreq (referred from stm32f4xx_hal.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol SystemCoreClock (referred from stm32f4xx_hal_adc.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol USB_CoreInit (referred from stm32f4xx_hal_hcd.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol USB_DisableGlobalInt (referred from stm32f4xx_hal_hcd.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol USB_DriveVbus (referred from stm32f4xx_hal_hcd.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol USB_EnableGlobalInt (referred from stm32f4xx_hal_hcd.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol USB_GetCurrentFrame (referred from stm32f4xx_hal_hcd.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol USB_GetHostSpeed (referred from stm32f4xx_hal_hcd.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol USB_GetMode (referred from stm32f4xx_hal_hcd.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol USB_HC_Halt (referred from stm32f4xx_hal_hcd.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol USB_HC_Init (referred from stm32f4xx_hal_hcd.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol USB_HC_ReadInterrupt (referred from stm32f4xx_hal_hcd.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol USB_HC_StartXfer (referred from stm32f4xx_hal_hcd.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol USB_HostInit (referred from stm32f4xx_hal_hcd.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol USB_InitFSLSPClkSel (referred from stm32f4xx_hal_hcd.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol USB_ReadInterrupts (referred from stm32f4xx_hal_hcd.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol USB_ReadPacket (referred from stm32f4xx_hal_hcd.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol USB_ResetPort (referred from stm32f4xx_hal_hcd.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol USB_SetCurrentMode (referred from stm32f4xx_hal_hcd.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol USB_StopHost (referred from stm32f4xx_hal_hcd.o).
.\build\DISCO-F429ZI_LCD_demo.axf: Error: L6218E: Undefined symbol HAL_RCC_GetPCLK2Freq (referred from stm32f4xx_hal_irda.o).
Not enough information to list image symbols.
Finished: 1 information, 0 warning and 59 error messages.
".\build\DISCO-F429ZI_LCD_demo.axf" - 59 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:01:01
02 Jan 2016