We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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?
I have been trying to do what you suggest. I initially had the entire peripheral lib added to the project but still the same error. I am quiet a newbie in this area, can u instruct as to how I can create a library for all the peripherals. Thanks
The key there is: provided by STM - so, for specific support, you should be directing your enquiries to ST
Have you carefully studied the Documentation that ST provided?
Have you spoken to your ST Distributor for assistance?
Many ST Distributors provide training/seminars...