Browse Source

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 <damien@micropython.org>
pull/7492/head
Damien George 3 years ago
parent
commit
0613d3e356
  1. 1
      ports/rp2/tusb_config.h

1
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)

Loading…
Cancel
Save