[riot-devel] mBed default UART

tiago carvalho tiago_carvalho_1 at hotmail.com
Sun Dec 10 16:55:32 CET 2017


Update:

If I use fflush(stdout) after a printf it works. Can this be avoided?
________________________________
De: tiago carvalho <tiago_carvalho_1 at hotmail.com>
Enviado: 10 de dezembro de 2017 12:08
Para: Alexandre Abadie; RIOT OS kernel developers
Assunto: Re: mBed default UART

Thank you for your answers,

I still can't see printf output.

If I use uart_stdio_write() instead, it works with both LPC_UART0 or LPC_UART3.

Any other hints?

Cheers

________________________________
De: devel <devel-bounces at riot-os.org> em nome de Alexandre Abadie <alexandre.abadie at inria.fr>
Enviado: 10 de dezembro de 2017 10:34
Para: RIOT OS kernel developers
Assunto: Re: [riot-devel] mBed default UART

Hi,

For this board, I think the default UART for stdio is available directly via the USB port. You just need to open /dev/ttyACM0 (on Linux) at 115200baud.

Alex

________________________________
Hi guys,

I'm wondering if you guys can help me out with the default UART device for the mbed_lpc1768 board, to see printf and puts outputs in a serial client like putty.

I tried all pins (9/10/13/14/27/28) with several baudrates withouht success. Is there any other action I need to do before this works?

Thanks in advance,
Tiago C



_______________________________________________
devel mailing list
devel at riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20171210/99888b5e/attachment.html>


More information about the devel mailing list