Search found 13 matches

by PawelJalocha
Sat Apr 28, 2018 12:43 am
Forum: General Discussion
Topic: How to send data to the serial console
Replies: 6
Views: 16875

Re: How to send data to the serial console

Thank you again, In my application, all works fine, when I use putchar() and the base call to send characters to the console. But when I try to use UART library and I call uart_write_bytes(UART_NUM_0, ) then I receive stream of errors like: uart: uart_write_bytes(1073): uart driver error thus what a...
by PawelJalocha
Thu Apr 26, 2018 5:41 pm
Forum: General Discussion
Topic: How to send data to the serial console
Replies: 6
Views: 16875

Re: How to send data to the serial console

Thank you, my main objective right now is to avoid the NL to CR+NL translation and keep the call as elementary as possible. Involving printf() for every character printed would clearly be too much overhead. Thus I can assume the UART for the console is open and so I can just write to it. Can I read ...
by PawelJalocha
Tue Apr 24, 2018 9:22 pm
Forum: General Discussion
Topic: How to send data to the serial console
Replies: 6
Views: 16875

How to send data to the serial console

What is the best/easiest/quickest method of sending data to the serial console ?
I mean the most direct method, with least overhead and no data manipulation.
I use putchar() for now but I find it does NL to CR+NL conversion and I would like to avoid such conversion if possible.