|
|
@@ -114,7 +114,6 @@ let me know? http://forum.pjrc.com/forums/4-Suggestions-amp-Bug-Reports |
|
|
|
#if defined(USB_SERIAL) |
|
|
|
#define VENDOR_ID 0x16C0 |
|
|
|
#define PRODUCT_ID 0x0483 |
|
|
|
#define DEVICE_CLASS 2 // 2 = Communication Class |
|
|
|
#define MANUFACTURER_NAME {'T','e','e','n','s','y','d','u','i','n','o'} |
|
|
|
#define MANUFACTURER_NAME_LEN 11 |
|
|
|
#define PRODUCT_NAME {'U','S','B',' ','S','e','r','i','a','l'} |
|
|
@@ -122,7 +121,8 @@ let me know? http://forum.pjrc.com/forums/4-Suggestions-amp-Bug-Reports |
|
|
|
#define EP0_SIZE 64 |
|
|
|
#define NUM_ENDPOINTS 4 |
|
|
|
#define NUM_USB_BUFFERS 12 |
|
|
|
#define NUM_INTERFACE 3 |
|
|
|
#define NUM_INTERFACE 2 |
|
|
|
#define CDC_IAD_DESCRIPTOR 1 // Serial |
|
|
|
#define CDC_STATUS_INTERFACE 0 |
|
|
|
#define CDC_DATA_INTERFACE 1 |
|
|
|
#define CDC_ACM_ENDPOINT 2 |
|
|
@@ -133,7 +133,7 @@ let me know? http://forum.pjrc.com/forums/4-Suggestions-amp-Bug-Reports |
|
|
|
#define CDC_TX_SIZE_480 512 |
|
|
|
#define CDC_RX_SIZE_12 64 |
|
|
|
#define CDC_TX_SIZE_12 64 |
|
|
|
#define EXPERIMENTAL_INTERFACE 2 |
|
|
|
//#define EXPERIMENTAL_INTERFACE 2 |
|
|
|
#define ENDPOINT2_CONFIG ENDPOINT_RECEIVE_UNUSED + ENDPOINT_TRANSMIT_INTERRUPT |
|
|
|
#define ENDPOINT3_CONFIG ENDPOINT_RECEIVE_BULK + ENDPOINT_TRANSMIT_UNUSED |
|
|
|
#define ENDPOINT4_CONFIG ENDPOINT_RECEIVE_UNUSED + ENDPOINT_TRANSMIT_BULK |