increase cdc buffer to 256, fix build error with nrf52832

This commit is contained in:
hathach committed 2018-08-30 16:13:20 +07:00
1 parent fe479b7e2e
commit 6de3ce40cf
1 file changed
+7 -2
+7 -2
View File
@@ -47,7 +47,12 @@
// COMMON CONFIGURATION
//--------------------------------------------------------------------
#define CFG_TUSB_MCU OPT_MCU_NRF5X
#ifdef NRF52840_XXAA
#define CFG_TUSB_RHPORT0_MODE OPT_MODE_DEVICE
#else
#define CFG_TUSB_RHPORT0_MODE OPT_MODE_NONE
#endif
#define CFG_TUSB_DEBUG 0
@@ -101,8 +106,8 @@
//--------------------------------------------------------------------
// FIFO size of CDC TX and RX
#define CFG_TUD_CDC_RX_BUFSIZE 64
#define CFG_TUD_CDC_TX_BUFSIZE 64
#define CFG_TUD_CDC_RX_BUFSIZE 256
#define CFG_TUD_CDC_TX_BUFSIZE 256
// TX is sent automatically every Start of Frame event.
// If not enabled, application must call tud_cdc_write_flush() periodically