This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
retarget printf to uart?
- From: Jesper Vestergaard <openocd at jespervestergaard dot dk>
- To: newlib at sources dot redhat dot com
- Date: Wed, 27 May 2009 15:01:59 +0200
- Subject: retarget printf to uart?
Hi guys
I have been trying to retarget the printf in newlib so i can use it on a
Icnova / Grasshopper avr32 board. I use the avr32 toolchain which uses
newlib 1.16.0.
I have read on a forum that i must implement _write_r in my code so that
i use the uart but it doesn't work. How do i proper retarget the printf?
Best regards
Jesper