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

How to redirect printf to USART

Hi,

I'm using the STM32F103ZD uC with keil uVision IDE C-compiler and I would like to have the printf function send it's data to some onchip USART. Not to the IDE build-in debug viewer.
I saw many examples in the cloud but non of them works.

I'm looking for some tested and working example code.

Thanks

Henk