File tree Expand file tree Collapse file tree 1 file changed +2
-36
lines changed Expand file tree Collapse file tree 1 file changed +2
-36
lines changed Original file line number Diff line number Diff line change 1616 SOFTWARE.
1717 */
1818
19- #define PLUGGABLE_USB_ENABLED
19+ // #define PLUGGABLE_USB_ENABLED
2020
2121#if defined(EPRST6 )
2222#define USB_ENDPOINTS 7 // AtMegaxxU4
2323#else
2424#define USB_ENDPOINTS 5 // AtMegaxxU2
2525#endif
2626
27- #define ISERIAL_MAX_LEN 20
28-
29- // Uncomment the following line or pass -DCDC_DISABLED to the compiler
30- // to disable CDC (serial console via USB).
31- // That's useful if you want to create an USB device (like an USB Boot Keyboard)
32- // that works even with problematic devices (like KVM switches).
33- // Keep in mind that with this change you'll have to use the Arduino's
34- // reset button to be able to flash it.
35- //#define CDC_DISABLED
36-
37- #ifndef CDC_DISABLED
38- #define CDC_ENABLED
39- #endif
40-
41- #ifdef CDC_ENABLED
42- #define CDC_INTERFACE_COUNT 2
43- #define CDC_ENPOINT_COUNT 3
44- #else // CDC_DISABLED
45- #define CDC_INTERFACE_COUNT 0
46- #define CDC_ENPOINT_COUNT 0
47- #endif
48-
49- #define CDC_ACM_INTERFACE 0 // CDC ACM
50- #define CDC_DATA_INTERFACE 1 // CDC Data
51- #define CDC_FIRST_ENDPOINT 1
52- #define CDC_ENDPOINT_ACM (CDC_FIRST_ENDPOINT) // CDC First
53- #define CDC_ENDPOINT_OUT (CDC_FIRST_ENDPOINT+1)
54- #define CDC_ENDPOINT_IN (CDC_FIRST_ENDPOINT+2)
55-
56- #define INTERFACE_COUNT (MSC_INTERFACE + MSC_INTERFACE_COUNT)
57-
58- #define CDC_RX CDC_ENDPOINT_OUT
59- #define CDC_TX CDC_ENDPOINT_IN
60-
6127#define IMANUFACTURER 1
6228#define IPRODUCT 2
63- #define ISERIAL 3
29+ #define ISERIAL 3
You can’t perform that action at this time.
0 commit comments