Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] printf

2005-04-01 by Robert Adsett

At 01:49 PM 4/1/05 -0300, Leonardo Santos wrote:
>Could you elaborate on that? I'm using GCC 3.4.3 + newlib 1.13 I downloaded
>from http://rod.info/arm.html. I've been able to compile FreeRTOS for a
>LPC2106 target and played a little with it. But I really miss the printf
>function. I think this question might be off topic, but if I could get some
>pointers, I'd be very grateful.
>
>Lesson:
>Never take stdio.h for granted!

The newlib-lpc layer http://www.aeolusdevelopment.com provides the stub 
functions needed for printf etc.. to work on a LPC.  You can take a look at 
it as an example or just use it.  There is also a link on the site to Bill 
Gatliff's articles on porting newlib which is a quick useful overview.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,   be 
they legal, genetic, or physical.  If you don't believe me, try to chew a 
radio signal. "  -- Kelvin Throop, III
http://www.aeolusdevelopment.com/

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.