AnsweredAssumed Answered

stm32F0 discovery and printf on usart

Question asked by davis.robin on Dec 13, 2016
Latest reply on Mar 20, 2017 by Clive One

Hi all. I'm net to STM micros , so excuse the stupid question.

I've set up USART1 on the stm32F0 discovery board, using the SPL , NOT cube.

If I send data out the usart using the "USART_SendData" function provided by the peripheral library , the data

is sent out no problem , but if I use printf("dsfs") , nothing is sent.

How do I ensure the printf sends data to the serial port , and not a screen or anywhere else?

I am using Atollic6

Cheers

Neddie

Outcomes