- #define ENDPOINT_DETAILS_MAXEP 7\r
-\r
- #define ENDPOINT_DETAILS_EP0 64, 1\r
- #define ENDPOINT_DETAILS_EP1 64, 2\r
- #define ENDPOINT_DETAILS_EP2 64, 2\r
- #define ENDPOINT_DETAILS_EP3 64, 2\r
- #define ENDPOINT_DETAILS_EP4 64, 2\r
- #define ENDPOINT_DETAILS_EP5 256, 2\r
- #define ENDPOINT_DETAILS_EP6 256, 2\r
+ #if defined(USB_SERIES_UC3A0_AVR) || defined(USB_SERIES_UC3A1_AVR)\r
+ #define ENDPOINT_DETAILS_MAXEP 7\r
+\r
+ #define ENDPOINT_DETAILS_EP0 64, 1\r
+ #define ENDPOINT_DETAILS_EP1 256, 2\r
+ #define ENDPOINT_DETAILS_EP2 256, 2\r
+ #define ENDPOINT_DETAILS_EP3 64, 2\r
+ #define ENDPOINT_DETAILS_EP4 64, 2\r
+ #define ENDPOINT_DETAILS_EP5 256, 2\r
+ #define ENDPOINT_DETAILS_EP6 256, 2\r
+ #elif defined(USB_SERIES_UC3A3_AVR) || defined(USB_SERIES_UC3A4_AVR)\r
+ #define ENDPOINT_DETAILS_MAXEP 8\r
+\r
+ #define ENDPOINT_DETAILS_EP0 64, 1\r
+ #define ENDPOINT_DETAILS_EP1 512, 2\r
+ #define ENDPOINT_DETAILS_EP2 512, 2\r
+ #define ENDPOINT_DETAILS_EP3 512, 2\r
+ #define ENDPOINT_DETAILS_EP4 512, 2\r
+ #define ENDPOINT_DETAILS_EP5 512, 2\r
+ #define ENDPOINT_DETAILS_EP6 512, 2 \r
+ #elif defined(USB_SERIES_UC3B0_AVR) || defined(USB_SERIES_UC3B1_AVR) \r
+ #define ENDPOINT_DETAILS_MAXEP 7\r
+\r
+ #define ENDPOINT_DETAILS_EP0 64, 1\r
+ #define ENDPOINT_DETAILS_EP1 64, 2\r
+ #define ENDPOINT_DETAILS_EP2 64, 2\r
+ #define ENDPOINT_DETAILS_EP3 64, 2\r
+ #define ENDPOINT_DETAILS_EP4 64, 2\r
+ #define ENDPOINT_DETAILS_EP5 256, 2\r
+ #define ENDPOINT_DETAILS_EP6 256, 2 \r
+ #endif\r