From 8b24cbb6131a97a3e91aabe5299c834a75ae8964 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= Date: Fri, 8 Feb 2019 12:02:34 +0000 Subject: Add a backend for Silicon Labs CP2110/4 HID-to-UART bridge. These two chips implement UART access via a HID protocol, which can be implemented purely in user space. The protocol is documented by Silicon Labs AN434: https://www.silabs.com/documents/public/application-notes/AN434-CP2110-4-Interface-Specification.pdf The backend is implemented based on cython-hidapi (https://github.com/trezor/cython-hidapi), making it OS-independent, if a bit awkward. --- setup.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 6e8b586..ea53643 100644 --- a/setup.py +++ b/setup.py @@ -97,4 +97,7 @@ Latest: ], platforms='any', scripts=['serial/tools/miniterm.py'], + extras_require = { + 'cp2110': ['hidapi'], + }, ) -- cgit v1.2.3