retarget printf to uart?

duane ellis duane-newlib@duaneellis.com
Fri May 29 05:09:00 GMT 2009


Jesper Vestergaard wrote:
> Hi Creaig
>
> The newline trick did its magic.
> Thanks a bunch. I have used quite a long time with this problem.
>
> Regards Jesper

If I remember correctly, this is caused because you are not implementing 
the "isatty" function call - and are using I believe the library 
default. If the function isatty() was implemented this problem would go 
away and printf() would autoflush.

-Duane



More information about the Newlib mailing list