Mon, 09 Nov 2020 23:05:24 +0100
Refactor HPSerial to get rid of packet collision misbehavior
completely split the key sending code from the irq-based receiveing logic.
When sending keycodes, disable the RxIrq callback and handle send and recv
of bytes synchronously.
The keycode sending routine rus in a dedicated thread.
| 26 | 1 | Use mbed 5.14 |
| 2 | ||
| 3 | For some reason I had to disable mbed-client-cli/ (multiple definition of `cmd' error at | |
| 4 | link time). | |
| 5 | Put a .mbedignore file in: | |
| 6 | ||
| 7 | $ cd /home/david/.platformio/packages/framework-mbed@6.51504.200716/features | |
| 8 | $ cat .mbedignore | |
| 9 | mbed-client-cli/* | |
| 10 | frameworks/mbed-client-cli/* | |
| 11 | ||
| 12 | see https://docs.platformio.org/en/latest/frameworks/mbed.html#ignoring-particular-components |