File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 73
73
#endif // check for GNUC >= or < 4.6
74
74
75
75
76
- // bug in iox128a1u.h and iox64a1u.h
76
+ // bugs in iox128a1u.h and iox64a1u.h
77
77
// the definition for USB_TRNCOMPL_vect and USB_TRNCOMPL_vect_num is wrong
78
78
// this can be corrected here. bug reported 'upstream' for avr-libc 1.8.0 and 1.8.1
79
79
// https://savannah.nongnu.org/bugs/index.php?44279
87
87
#define USB_TRNCOMPL_vect _VECTOR (126 ) /* Transaction complete interrupt */
88
88
#endif // __AVR_ATxmega64A1U__, __AVR_ATxmega128A1U__
89
89
90
+ // additional compatibilty bugs between older and newer versions of iox128a1u.h and iox64a1u.h
91
+ #ifdef USB_EP_BUFSIZE_gm
92
+ #define USB_EP_SIZE_64_gc USB_EP_BUFSIZE_64_gc /* name change of definition from previous header */
93
+ #endif // USB_EP_BUFSIZE_gm
94
+
95
+ #ifndef CLK_USBEN_bm
96
+ #define CLK_USBEN_bm CLK_USBSEN_bm /* name change of definition from previous header */
97
+ #endif // CLK_USBEN_bm
98
+
90
99
91
100
92
101
// number of endpoints - to determine buffer array sizes
You can’t perform that action at this time.
0 commit comments