retarget printf to uart?

Jesper Vestergaard openocd@jespervestergaard.dk
Wed May 27 15:45:00 GMT 2009


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



More information about the Newlib mailing list