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

Printf redirect to STDOUT

I have a real STM32F103ZE hardware which i program simple test printf redirect to STDOUT UART.

If i put printf("Test"); then it does not output anything until to UART until it reaches 64 bytes and then outputs.

If I put printf("Test\n"); then it instantly transmits to UART.

It seems adding the new line \n character seems to change the printf behavior.

I saw the ARM Compiler documents but it does not seems to be mentioned anywhere.

Can anyone comment on this?