mimxrt/tusb_config.h: Preliminary fix for TinyUSB HS endpoint overflow.

Sending more than 64 bytes to the USB CDC endpoint in HS mode will lead to
a hard crash.  This commit fixes the issue, although there may be a better
fix from upstream TinyUSB in the future.
This commit is contained in:
Philipp Ebensberger 2020-06-07 18:23:36 +02:00 committed by Damien George
parent 1e6d18c915
commit 6ac05af8e1
1 changed files with 3 additions and 2 deletions

View File

@ -30,7 +30,8 @@
#define CFG_TUSB_OS (OPT_OS_NONE)
#define CFG_TUD_CDC (1)
#define CFG_TUD_CDC_RX_BUFSIZE (256)
#define CFG_TUD_CDC_TX_BUFSIZE (256)
#define CFG_TUD_CDC_RX_BUFSIZE (512)
#define CFG_TUD_CDC_TX_BUFSIZE (512)
#define CFG_TUD_CDC_EPSIZE (512)
#endif // MICROPY_INCLUDED_MIMXRT_TUSB_CONFIG_H