Skip to content

Commit 7f16681

Browse files
committed
ports/mimxrt: Increase USB CDC buffer sizes.
1 parent 8e3fcd0 commit 7f16681

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ports/mimxrt/boards/OPENMV_RT1060/mpconfigboard.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,3 +242,8 @@ extern void mimxrt_hal_bootloader(void);
242242
{ IOMUXC_GPIO_B1_11_ENET_RX_ER, 0, 0xB0E9u }, \
243243
{ IOMUXC_GPIO_EMC_41_ENET_MDIO, 0, 0xB0E9u }, \
244244
{ IOMUXC_GPIO_EMC_40_ENET_MDC, 0, 0xB0E9u },
245+
246+
// USB CDC config
247+
#define CFG_TUD_CDC_EP_BUFSIZE (4096)
248+
#define CFG_TUD_CDC_RX_BUFSIZE (4096)
249+
#define CFG_TUD_CDC_TX_BUFSIZE (4096)

0 commit comments

Comments
 (0)