This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Printf() problems with the GNU Compiler

Hi:
I have problems with the printf() function. I have the UART0 initialised, and the putchar() working fine, so I can send characters to the serial. But the printf() only works if I send only 1 character at a time (printf("A")), and if I use printf("Hello") it doesn't work. This happen with the GNU compiler. With the Keil ARM Compiler, everithing works fine.
What could be the problem?
Thanks

Parents
  • Hi Jon:
    Yes I saw the Hello example, but it's targered for ATMEL, and I 'm working with Philips LPC2106. Also, I saw the Syscalls.c, but I don's know if this is neccesary in the LPC2106 case....

    By the way..What do you mean when you say "Yep. This is the same kind of problems we had with the GNU compiler for ARM. That's why we decided to write our own..."?
    What do you write ?

    Thanks

Reply
  • Hi Jon:
    Yes I saw the Hello example, but it's targered for ATMEL, and I 'm working with Philips LPC2106. Also, I saw the Syscalls.c, but I don's know if this is neccesary in the LPC2106 case....

    By the way..What do you mean when you say "Yep. This is the same kind of problems we had with the GNU compiler for ARM. That's why we decided to write our own..."?
    What do you write ?

    Thanks

Children