This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LCD_demo.axf: Error: L6218E: Undefined symbol GPIO_Init (referred from glcd.o).

I have the STM32F4 standard Peripheral Library folder provided by STM on the include path. Everything compiles fine but i get the following linker error

Build target 'LCD_Demo'
compiling GLCD.cpp...
compiling main.cpp...
compiling system_stm32f4xx.c...
assembling startup_stm32f4xx.s...
linking...
LCD_demo.axf: Error: L6218E: Undefined symbol GPIO_Init (referred from glcd.o).
LCD_demo.axf: Error: L6218E: Undefined symbol GPIO_PinAFConfig (referred from glcd.o).
LCD_demo.axf: Error: L6218E: Undefined symbol GPIO_ResetBits (referred from glcd.o).
LCD_demo.axf: Error: L6218E: Undefined symbol GPIO_SetBits (referred from glcd.o).
LCD_demo.axf: Error: L6218E: Undefined symbol RCC_AHB1PeriphClockCmd (referred from glcd.o).
LCD_demo.axf: Error: L6218E: Undefined symbol RCC_APB2PeriphClockCmd (referred from glcd.o).
LCD_demo.axf: Error: L6218E: Undefined symbol SPI_Cmd (referred from glcd.o).
LCD_demo.axf: Error: L6218E: Undefined symbol SPI_I2S_DeInit (referred from glcd.o).
LCD_demo.axf: Error: L6218E: Undefined symbol SPI_I2S_SendData (referred from glcd.o).
LCD_demo.axf: Error: L6218E: Undefined symbol SPI_Init (referred from glcd.o).
Target not created

I have not yet found a .LIB for the STM32F4 series in the Keil Library.

Can someone help me out?

0