Fwd: LPC 17XX
marcos.diaz at tallertechnologies.com
Thu Jan 16 18:35:12 UTC 2014
On Thu, Jan 16, 2014 at 2:50 PM, Joel Sherrill
<joel.sherrill at oarcorp.com> wrote:
> On 1/16/2014 11:48 AM, Marcos Díaz wrote:
>> Hi, we are adapting the lpc 17xx bsp to one mbed lpc1768, currently we
>> could make the hello example to work but only with printk, not with
>> printf, so, I wanted to know, what's the difference between those two
>> functions, where should I look in order to see what's wrong?
>> debugging i've seen that the program compiled with newlib isn't
>> calling printf, but it calls _puts, is that ok or there is something
> gcc optimizes calls to printf with fixed strings (e.g. no formatting
> into calls to puts.
> Is the console_write() method being called in the BSP?
yes it´s called
> Sometimes BSPs use interrupts for console I/O and hello can run and exit
> before the I/O gets out.
>> thanks in advance
San Lorenzo 47, 3rd Floor, Office 5
Phone: +54 351 4217888 / +54 351 4218211/ +54 351 7617452
More information about the devel