Re: Fwd: [arm-gnu] printf problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: [arm-gnu] printf problem
- To: ravi <ravishankar.rangam@xxxxxxxxx>
- Subject: Re: Fwd: [arm-gnu] printf problem
- From: Nathan Sidwell <nathan@xxxxxxxxxxxxxxxx>
- Date: Mon, 17 Mar 2008 11:40:44 +0000
ravi wrote:
If I try with that stub, then printf() will also works?
In my project I need, both printf() and sprintf() both to work.
For printf() to work, i need to modify the __write() to output the
string to serial port. In that case how would I differentiate the call
for __write() is either from printf() or from sprintf()?
__write is not called for sprintf.
Your problem with sprintf is something else, which you will have to debug.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery