Skip to content

Commit

Permalink
rp2/tusb_config.h: Set CFG_TUD_CDC_EP_BUFSIZE to 256.
Browse files Browse the repository at this point in the history
This improves the speed of data going out of the MCU.

See related #7479.

Signed-off-by: Damien George <damien@micropython.org>
  • Loading branch information
dpgeorge committed Jul 8, 2021
1 parent 132d938 commit 0613d3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ports/rp2/tusb_config.h
Expand Up @@ -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)

Expand Down

0 comments on commit 0613d3e

Please sign in to comment.