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

Using Printf() for usart in stm32f4 discovery board

Hi
im new to the keil MDK .I want to use printf() for USART channels .after searching in the internet ,i found that i need to edit the redirect.c.So i added the redirect.c to my workspace . then i get following errors

.\TIM_PWM_Output\TIM_PWM_Output.axf: Error: L6218E: Undefined symbol SER_GetChar (referred from retarget.o).
.\TIM_PWM_Output\TIM_PWM_Output.axf: Error: L6218E: Undefined symbol SER_PutChar (referred from retarget.o).

i want to know where did i get wrong?

0