diff options
Diffstat (limited to 'LUFA/Drivers/USB/Core/USBMode.h')
-rw-r--r-- | LUFA/Drivers/USB/Core/USBMode.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/LUFA/Drivers/USB/Core/USBMode.h b/LUFA/Drivers/USB/Core/USBMode.h index 1cb132812..4acfda247 100644 --- a/LUFA/Drivers/USB/Core/USBMode.h +++ b/LUFA/Drivers/USB/Core/USBMode.h @@ -82,6 +82,11 @@ */ #define USB_SERIES_7_AVR + /** Indicates that the target AVR microcontroller belongs to the UC3B Series USB controller + * (i.e. AT32UC3B*) when defined. + */ + #define USB_SERIES_UC3B_AVR + /** Indicates that the target microcontroller and compilation settings allow for the * target to be configured in USB Device mode when defined. */ @@ -112,6 +117,13 @@ #define USB_SERIES_7_AVR #define USB_CAN_BE_DEVICE #define USB_CAN_BE_HOST + #elif (defined(__AVR32_UC3B0512__) || defined(__AVR32_UC3B1512__) || \ + defined(__AVR32_UC3B0256__) || defined(__AVR32_UC3B1256__) || \ + defined(__AVR32_UC3B0128__) || defined(__AVR32_UC3B1128__) || \ + defined(__AVR32_UC3B064__) || defined(__AVR32_UC3B164__)) + #define USB_SERIES_UC3B_AVR + #define USB_CAN_BE_DEVICE + #define USB_CAN_BE_HOST #endif #if (defined(USB_CAN_BE_DEVICE) && defined(USB_CAN_BE_HOST)) |