Yes, you are right. I've overridden write() and now printf outputs
to UART0. Thank you.
Fernando
--- In lpc2000@yahoogroups.com, "ntfreak2000" <ntfreak2@h...> wrote:
>
> Keil gcc uses uclibc, the version you require is:
>
> int write (int file, char * ptr, int len)
> {
> return len;
> }
> All the system functions are just non reentrant versions.
>
> Be careful of uisng uclibc as a clib, even though it is a better
lib
> for smaller devices it comes under lgpl rather than gpl. This is
only
> really a problem if you are statically linking with the libs.
>
> Regards
> SpenMessage
Re: can't get printf() to print on UART0 with GNU
2005-02-25 by tiogate