This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: retarget printf to uart?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]