From 0613d3e3561a82fffa36594647ef916b19bc912b Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 6 Jul 2021 11:34:19 +1000 Subject: [PATCH] rp2/tusb_config.h: Set CFG_TUD_CDC_EP_BUFSIZE to 256. This improves the speed of data going out of the MCU. See related #7479. Signed-off-by: Damien George --- ports/rp2/tusb_config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ports/rp2/tusb_config.h b/ports/rp2/tusb_config.h index 1402edf379..8c2a9f7560 100644 --- a/ports/rp2/tusb_config.h +++ b/ports/rp2/tusb_config.h @@ -28,6 +28,7 @@ #define CFG_TUSB_RHPORT0_MODE (OPT_MODE_DEVICE) #define CFG_TUD_CDC (1) +#define CFG_TUD_CDC_EP_BUFSIZE (256) #define CFG_TUD_CDC_RX_BUFSIZE (256) #define CFG_TUD_CDC_TX_BUFSIZE (256)