Serial Debugging
Jump to navigation
Jump to search
Redirecting printf to a Virtual COM port is really easy:
int _write(int file, char *ptr, int len) { CDC_Transmit_FS((uint8_t *)ptr, len); return len; }