diff options
Diffstat (limited to 'osal')
| -rw-r--r-- | osal/idf/usb_config.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/osal/idf/usb_config.h b/osal/idf/usb_config.h index 3eca2e79..c443c12e 100644 --- a/osal/idf/usb_config.h +++ b/osal/idf/usb_config.h @@ -28,7 +28,7 @@ // #define CONFIG_USB_DCACHE_ENABLE -/* attribute data into no cache ram +/* attribute data into no cache ram * DRAM_DMA_ALIGNED_ATTR was introduced in IDF 5.3. If not defined, it falls back to DMA_ATTR */ #ifndef DRAM_DMA_ALIGNED_ATTR @@ -158,7 +158,7 @@ #define CONFIG_USBHOST_MAX_INTF_ALTSETTINGS 2 #define CONFIG_USBHOST_MAX_ENDPOINTS 4 -#define CONFIG_USBHOST_MAX_CDC_ACM_CLASS 4 +#define CONFIG_USBHOST_MAX_SERIAL_CLASS 4 #define CONFIG_USBHOST_MAX_HID_CLASS 4 #define CONFIG_USBHOST_MAX_MSC_CLASS 2 #define CONFIG_USBHOST_MAX_AUDIO_CLASS 1 @@ -193,6 +193,10 @@ #define CONFIG_USBHOST_MSC_TIMEOUT 5000 #endif +#ifndef CONFIG_USBHOST_SERIAL_RX_SIZE +#define CONFIG_USBHOST_SERIAL_RX_SIZE 2048 +#endif + /* This parameter affects usb performance, and depends on (TCP_WND)tcp eceive windows size, * you can change to 2K ~ 16K and must be larger than TCP RX windows size in order to avoid being overflow. */ |
