-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support custom rates #30
Comments
I looked into that for a while now and this is very ugly. The problem is: I want to
I see no at least half-pretty way to manage that. picocom duplicates the definition of |
… glibc user land -> do not try - while `TCGETS2` is defined, `struct termios2`, which would be needed to actually use `TCGETS2`, is not defined via <termios.h>. - including <linux/termios.h> which would get us `termios2`, on the other side causes redefinitions of `termio` and `winsize` - As [this](pengutronix/microcom#30 (comment)) comment puts it - "I see no halfway pretty way to manage that", so we forget about termios2 on standard linux glibc user land.
Using 'struct termios2' with the 'TCGETS2' ioctl, custom baud rates could be supported. I need 1384200 for one board. My quick fix was to switch to picocom but custom rates would be nice for microcom as well. I'd be available for testing.
The text was updated successfully, but these errors were encountered: