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

USART_Init Undefined Symbol

Hello,

I am new to Keil and the STM32F processor.

First Question:
If I understand correctly, I'm using the Standard Peripheral Library in this project I'm inheriting. So I guess this means I'm not using HAL. Is this correct? Is it correct to say the older interface is the SPL and the new interface is HAL?

Second Question:
I'm trying to use some code I found to get a USART working in my existing project. I would have thought that because I'm already using the Standard Peripheral Library that it would know where to find other routines in the library. But after I added the new USART code it now gives the error:
Error: L6218E: Undefined Symbol: USART_Cmd
Error: L6218E: Undefined Symbol: USART_ITConfig
Error: L6218E: Undefined Symbol: USART_Init
Error: L6218E: Undefined Symbol: USART_SendData

I looked under "Manage Project Items" but am not sure what to change or add to get this to work.
Any suggestions would be appreciated.

Thanks,
Dan

Parents Reply Children