commit | 8b24cbb6131a97a3e91aabe5299c834a75ae8964 | [log] [tgz] |
---|---|---|
author | Diego Elio Pettenò <flameeyes@flameeyes.com> | Fri Feb 08 12:02:34 2019 +0000 |
committer | Diego Elio Pettenò <flameeyes@flameeyes.com> | Fri Feb 08 12:18:53 2019 +0000 |
tree | 826d89bb2900c4fcf9356e2523a92b7999c845c8 | |
parent | a27715f322bb08b1fccffebab776c94df50057e9 [diff] |
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.