Add 'Common interfaces'

Triss 2021-07-30 17:20:40 +00:00
parent 74200cb8b3
commit a77921998d
1 changed files with 7 additions and 0 deletions

7
Common-interfaces.md Normal file

@ -0,0 +1,7 @@
Several interfaces appear across all modes:
* USB vendor interface, for runtime configuration
* stdio over UART
* USB-CDC stdio debug interface (when enabled in CMake)
The stdio-over-UART and USB-CDC interfaces can be used for debugging the device. The former is intended to be used with another UART-capable device, while the latter can be used when connected with USB. Both exist, as doing USB transfers while debugging can cause the USB driver on the device to be confused. Thus, a backup UART is still available.