AnsweredAssumed Answered

Retarget fprintf

Question asked by nlemoz on Dec 30, 2015

Hi.

I am trying to retarget fprintf on kinetis sdk 1.3 using gcc.

I am doing this so I can send output to multiple UARTs depending on the "FILE" I print to.

 

I can retarget printf successfully by implementing a _write function, but this does not work for fprintf.

Can someone give me a hint on how to retarget fprintf for gcc?

 

Thanks,

Nick

Outcomes