mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-16 12:51:47 +00:00
Add (still preliminary) support for the ATXMEGA64A4 and ATXMEGA128A4. Fix minor error in the AVRISP-MKII clone project descriptors.
This commit is contained in:
parent
fe8326855a
commit
fdab3aef86
@ -317,6 +317,16 @@
|
|||||||
* <td bgcolor="#EE0000">No</td>
|
* <td bgcolor="#EE0000">No</td>
|
||||||
* </tr>
|
* </tr>
|
||||||
* <tr>
|
* <tr>
|
||||||
|
* <td>ATXMEGA64A4U</td>
|
||||||
|
* <td bgcolor="#00EE00">Yes</td>
|
||||||
|
* <td bgcolor="#EE0000">No</td>
|
||||||
|
* </tr>
|
||||||
|
* <tr>
|
||||||
|
* <td>ATXMEGA128A4U</td>
|
||||||
|
* <td bgcolor="#00EE00">Yes</td>
|
||||||
|
* <td bgcolor="#EE0000">No</td>
|
||||||
|
* </tr>
|
||||||
|
* <tr>
|
||||||
* <td>ATXMEGA64A3U</td>
|
* <td>ATXMEGA64A3U</td>
|
||||||
* <td bgcolor="#00EE00">Yes</td>
|
* <td bgcolor="#00EE00">Yes</td>
|
||||||
* <td bgcolor="#EE0000">No</td>
|
* <td bgcolor="#EE0000">No</td>
|
||||||
|
@ -209,7 +209,8 @@
|
|||||||
#elif (defined(__AVR_ATxmega256A3BU__))
|
#elif (defined(__AVR_ATxmega256A3BU__))
|
||||||
#define USB_SERIES_A3BU_XMEGA
|
#define USB_SERIES_A3BU_XMEGA
|
||||||
#define USB_CAN_BE_DEVICE
|
#define USB_CAN_BE_DEVICE
|
||||||
#elif (defined(__AVR_ATxmega16A4U__) || defined(__AVR_ATxmega32A4U__))
|
#elif (defined(__AVR_ATxmega16A4U__) || defined(__AVR_ATxmega32A4U__) || \
|
||||||
|
defined(__AVR_ATxmega64A4U__) || defined(__AVR_ATxmega128A4U__))
|
||||||
#define USB_SERIES_A4U_XMEGA
|
#define USB_SERIES_A4U_XMEGA
|
||||||
#define USB_CAN_BE_DEVICE
|
#define USB_CAN_BE_DEVICE
|
||||||
#elif (defined(__AVR_ATxmega128B1__) || defined(__AVR_ATxmega64B1__))
|
#elif (defined(__AVR_ATxmega128B1__) || defined(__AVR_ATxmega64B1__))
|
||||||
|
@ -81,7 +81,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
|
|||||||
.ConfigurationNumber = 1,
|
.ConfigurationNumber = 1,
|
||||||
.ConfigurationStrIndex = NO_DESCRIPTOR,
|
.ConfigurationStrIndex = NO_DESCRIPTOR,
|
||||||
|
|
||||||
.ConfigAttributes = USB_CONFIG_ATTR_RESERVED,
|
.ConfigAttributes = (USB_CONFIG_ATTR_RESERVED | USB_CONFIG_ATTR_SELFPOWERED),
|
||||||
|
|
||||||
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
|
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
|
||||||
},
|
},
|
||||||
@ -96,8 +96,8 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
|
|||||||
.TotalEndpoints = 2,
|
.TotalEndpoints = 2,
|
||||||
|
|
||||||
.Class = USB_CSCP_VendorSpecificClass,
|
.Class = USB_CSCP_VendorSpecificClass,
|
||||||
.SubClass = 0x00,
|
.SubClass = USB_CSCP_NoDeviceSubclass,
|
||||||
.Protocol = 0x00,
|
.Protocol = USB_CSCP_NoDeviceProtocol,
|
||||||
|
|
||||||
.InterfaceStrIndex = NO_DESCRIPTOR
|
.InterfaceStrIndex = NO_DESCRIPTOR
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user