Re: Fwd: [arm-gnu] printf problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: [arm-gnu] printf problem



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