summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h
diff options
context:
space:
mode:
authorMichał Górny <mgorny@moritz.systems>2021-10-07 23:14:23 +0200
committerMichał Górny <mgorny@moritz.systems>2021-10-21 10:46:45 +0200
commit4a7b4beac759ad9001671a61846ee2bfc9076eec (patch)
treea2d3975a6532acd7b7e69db42d9f11cec3cf6ab7 /lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h
parent1a8ec24efbae282f39eaacd5b22f37c2d8cad12f (diff)
[lldb] Add serial:// protocol for connecting to serial port
Add a new serial:// protocol along with SerialPort that provides a new API to open serial ports. The URL consists of serial device path followed by URL-style options, e.g.: serial:///dev/ttyS0?baud=115200&parity=even If no options are provided, the serial port is only set to raw mode and the other attributes remain unchanged. Attributes provided via options are modified to the specified values. Upon closing the serial port, its original attributes are restored. Differential Revision: https://reviews.llvm.org/D111355
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h')
0 files changed, 0 insertions, 0 deletions