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
SPL Older HAL Newer
Your project needs to contain the stm32fxxx_uart.c file, sounds like it doesn't, so add it as an existing new file.
OK got it now, Thanks.