[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.
/Jörgen
--- 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
>
http://mail.freesoftware.fsf.org/mailman/listinfo/avr-libc-dev
__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com
- Re: [avr-libc-dev] Re: printf in avr-libc, (continued)
- Re: [avr-libc-dev] Re: printf in avr-libc, Joerg Wunsch, 2002/09/12
- Re: [avr-libc-dev] Re: printf in avr-libc, Joerg Wunsch, 2002/09/12
- Re: [avr-libc-dev] Re: printf in avr-libc, Jörgen, 2002/09/12
- Re: [avr-libc-dev] Re: printf in avr-libc, E. Weddington, 2002/09/12
- [avr-libc-dev] Multithreaded strtok, Harald Kipp, 2002/09/13
- Re: [avr-libc-dev] Multithreaded strtok, Joerg Wunsch, 2002/09/13
- Re: [avr-libc-dev] Re: printf in avr-libc, Joerg Wunsch, 2002/09/13
- Re: [avr-libc-dev] Re: printf in avr-libc, daniel_laptop, 2002/09/13
- Re: [avr-libc-dev] Re: printf in avr-libc, Joerg Wunsch, 2002/09/13
- Re: [avr-libc-dev] Re: printf in avr-libc, daniel_laptop, 2002/09/13
- Re: [avr-libc-dev] Re: printf in avr-libc,
Jörgen <=
- Re: [avr-libc-dev] Re: [avr-gcc-list] I fixed dtostre(), Chris Baugher, 2002/09/10