AnsweredAssumed Answered

Problem with STM32Cube libraries

Question asked by bryant.mike on Nov 10, 2014
Latest reply on Nov 18, 2014 by Amel N
I am developing a product on an STM32F4Discovery using Keil UV5 and the STM32 Cube libraries.  Mostly this has been straightforward but for some reason the USART functions were not included in the demo audio project.  I use the HAL_USART_Init() function so added stm32f4xx_hal_usart.c to the Drivers/HAL group with the Manage Project Items tool and included stm32f4xx_hal_usart.h in main.h.  Everything compiles ok until the end when I get the message :

STM32F4-DISCO\STM32F4-DISCO.axf: Error: L6218E: Undefined symbol HAL_USART_Init (referred from main.o).

I have rebuilt all target files but this doesn't go away.  Has anybody got the HAL_USART file to work, or have suggestions on what I am doing wrong ?
(Please note I do want to use the HAL functions and not write direct to any hardware)

Many thanks