[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] Re: printf in avr-libc

From: Jörgen
Subject: Re: [avr-libc-dev] Re: printf in avr-libc
Date: Mon, 16 Sep 2002 00:34:04 -0700 (PDT)

Didn't think out the crystal dependency. Just wanted
to help the newbie programmer by providing a default
putchar. Maybe on devices with JTAG we can have a
default putchar?

Does anybody know where to find alexender's printf
version. I cannot find it so I have not been able to
do a diff yet.


--- Joerg Wunsch <address@hidden> wrote:
> As daniel_laptop wrote:
> > > Well, actually not all of our supported devices
> have a UART.  Also,
> > > UART speed depends on system clock, so an
> automatic implied
> > > initialization is impossible anyway.
> > You can do a global #define on the command line
> (makefile) with "-D"
> Sure.  But that doesn't help in the case of a
> library, since the
> library objects are already pre-compiled.  One could
> use a global
> variable to supply the system clock, but in that
> case, i'd rather
> prefer that the application programmer just supplies
> the entire
> uart_putc() function itself (which is only a couple
> of lines of code),
> and integrates the UART initialization into their
> usual ioinit()
> function that's basically required in any actual
> project anyway.
> -- 
> J"org Wunsch                                         Unix support engineer
> address@hidden       
> http://www.interface-systems.de/~j/
> _______________________________________________
> AVR-libc-dev mailing list
> address@hidden

Do you Yahoo!?
Yahoo! News - Today's headlines

reply via email to

[Prev in Thread] Current Thread [Next in Thread]