Skip to content

custom baudrate for darwin and linux#113

Open
colinrgodsey wants to merge 1 commit intotarm:masterfrom
colinrgodsey:master
Open

custom baudrate for darwin and linux#113
colinrgodsey wants to merge 1 commit intotarm:masterfrom
colinrgodsey:master

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