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!
Thanks!
On Thursday 24 March 2005 07:24, Anton Erasmus wrote:
> On 24 Mar 2005 at 9:15, neptunus1000 wrote:
> > Hello,
> >
> > I'wondering why my classes are not working. I want to build a Com
> > class so a can use printf to put something on the uart.
> >
> > The functie's com.UARTWriteChar('x'); com.__putchar('\n'); in the main
> > are working good. But the printf is not working. Can some one help my.
>
> {Code snipped]
>
>
> Getting printf to output using your own routines, is more a question of
> porting the standard C library than anything else. Which compiler do you
> use, and which standard library ? If it is newlib, then look at the
> new-lib_lpc stubs library to see an example of how to port newlib.
>
> Regards
> Anton Erasmus
--
This is Linux country.
On a quiet night, you can hear Windows reboot.
Leonardo Pereira Santos
Engenheiro de Projetos
PD3 Tecnologia
av. ParĂ¡ 330/202
(51) 3337 1237
Today Fortune tells us:
"I never let my schooling get in the way of my education."
-- Mark TwainMessage
Re: [lpc2000] printf
2005-04-01 by Leonardo Santos
Attachments
- No local attachments were found for this message.