Seems like all U[S]ARTs works well. Tested on speeds up to 2Mbaud (as CH340 can).

This commit is contained in:
Edward Emelianov
2026-02-17 23:37:17 +03:00
parent fb570367fa
commit 68028f42a3
13 changed files with 104 additions and 64 deletions

View File

@@ -22,11 +22,8 @@
#include "usb_dev.h"
// DMA linear buffers for Rx/Tx
#define DMARXBUFSZ 128
#define DMATXBUFSZ 128
// ringbuffers for collected data
#define USARTRXRBSZ 256
#define USARTTXRBSZ 256
#define DMARXBUFSZ 512
#define DMATXBUFSZ 512
void usart_config(uint8_t ifNo, usb_LineCoding *lc);
void usart_start(uint8_t ifNo);