Skip to content
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

custom baudrate for darwin and linux #113

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

colinrgodsey
Copy link

@colinrgodsey colinrgodsey commented Jul 18, 2020

Uses the IOCTL for darwin, and termios2 for linux custom baudrate. Retains non-darwin (termios 1) behavior for other posix targets. Change also modified the DTR "hangup" behavior for linux to more accurately mimic a terminal.

also simulate correct DTR behavior
@colinrgodsey colinrgodsey reopened this Jul 22, 2020
@jaredwolff
Copy link

jaredwolff commented Aug 4, 2020

I was able to test this on OSX, Windows and Linux running 1M BAUD on an external device. Working a-ok here. The only thing I've yet to test is BSD.

@jackjameshoward
Copy link

I've been using this for Raspbian and it works great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants