We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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?
The following code should work:
printf ("Test"); fflush (stdout);