4
Common interfaces
sys64738 edited this page 2021-08-17 22:23:40 +00:00
Several interfaces appear across all modes:
- USB vendor interface, for runtime configuration
- stdio over UART
- USB-CDC stdio debug interface (when enabled in CMake, using the
USE_USBCDC_FOR_STDIO
option)
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.