Closed kbeckmann closed 6 years ago
Started working on it on the kb/cdc_uart_bridge branch
Current status:
CDC -> UART seems to work okay but if you send more than 64 bytes in one go, it will break.
UART -> CDC is in a very bad shape, if you spam it a little bit it dies completely and we don't get any calls to HAL_UART_RxCpltCallback for some reason. Task gets stuck waiting for rx_done_semaphore, but since the callback is never called we never get unblocked.
CDC -> UART has been improved a lot. Seems to work reliably. https://asciinema.org/a/jsNkKsJ90bAJdoN9xgyS9PTP7
Implement an uart bridge over usb with no data loss, lag or weird behaviour.
Should also support configuring baudrate, stop bits etc.