diff options
| author | Peter Zhang <[email protected]> | 2018-10-26 14:29:22 +0800 |
|---|---|---|
| committer | Peter Zhang <[email protected]> | 2018-10-26 14:29:22 +0800 |
| commit | 328a697c1d386fc2e5f5463382a2d024f5233380 (patch) | |
| tree | 2c55681848d561dba2091a438771b0a633b4762b /components/drivers/Kconfig | |
| parent | f97e19c509c7cab61a402e9932fef26c17d64557 (diff) | |
[components][drivers][usb][usb_device][cdc_vcom]: Add 'RT_VCOM_TX_TIMEOUT' to configure TX_TIMEOUT whick may block vcom tx thread for a long time. Add 'RT_VCOM_TASK_STK_SIZE', 'RT_VCOM_TX_USE_DMA', 'RT_VCOM_SERNO', 'RT_VCOM_SER_LEN', 'RT_VCOM_TX_TIMEOUT' to Kconfig
Diffstat (limited to 'components/drivers/Kconfig')
| -rwxr-xr-x | components/drivers/Kconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/components/drivers/Kconfig b/components/drivers/Kconfig index f70ed4961f..f750c1c69b 100755 --- a/components/drivers/Kconfig +++ b/components/drivers/Kconfig @@ -392,6 +392,23 @@ menu "Using USB" bool "Enable to use device as winusb device" default n endif + if RT_USB_DEVICE_CDC + config RT_VCOM_TASK_STK_SIZE + int "virtual com thread stack size" + default 512 + config RT_VCOM_TX_USE_DMA + bool "Enable to use dma for vcom tx" + default n + config RT_VCOM_SERNO + string "serial number of virtual com" + default "32021919830108" + config RT_VCOM_SER_LEN + int "serial number length of virtual com" + default 14 + config RT_VCOM_TX_TIMEOUT + int "tx timeout(ticks) of virtual com" + default 1000 + endif if RT_USB_DEVICE_WINUSB config RT_WINUSB_GUID string "Guid for winusb" |
