You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tried to use the serial interface and found it unusable from the terminal.
The reason (in main.c) being: int len = uart_readline(serial_cmd, 255);
returns immediately after a single character, which only works for '?'
As far as I can understand this call should be non-blocking as it would block the keyboard interface otherwise. So this needs some kind of re-write, I think.
I'm feeling like I'm missing a point somewhere, how could it ever work the way it's done?!
Helmut
The text was updated successfully, but these errors were encountered:
A pre made and tested shell is a good idea. Did I get the wrong idea or does that shell only receive data and not transmit?. I could see shellGetLine() but not shellPutLine()
It simply uses chprintf() a ChibiOS specific output (resembling printf but working on a chibi stream).
I'm currently dissecting the main working thread to be able to plug it in.
Hi,
I just tried to use the serial interface and found it unusable from the terminal.
The reason (in main.c) being:
int len = uart_readline(serial_cmd, 255);
returns immediately after a single character, which only works for '?'
As far as I can understand this call should be non-blocking as it would block the keyboard interface otherwise. So this needs some kind of re-write, I think.
I'm feeling like I'm missing a point somewhere, how could it ever work the way it's done?!
Helmut
The text was updated successfully, but these errors were encountered: