Remove support for devices that were not put into production.

pull/1469/head
Dean Camera 12 years ago
parent 04d13d264c
commit 7d037c7db8

@ -58,10 +58,6 @@
#define AVR_SIGNATURE_1 0x1E #define AVR_SIGNATURE_1 0x1E
#define AVR_SIGNATURE_2 0x96 #define AVR_SIGNATURE_2 0x96
#define AVR_SIGNATURE_3 0x82 #define AVR_SIGNATURE_3 0x82
#elif defined(__AVR_ATmega32U6__)
#define AVR_SIGNATURE_1 0x1E
#define AVR_SIGNATURE_2 0x95
#define AVR_SIGNATURE_3 0x88
#elif defined(__AVR_ATmega32U4__) #elif defined(__AVR_ATmega32U4__)
#define AVR_SIGNATURE_1 0x1E #define AVR_SIGNATURE_1 0x1E
#define AVR_SIGNATURE_2 0x95 #define AVR_SIGNATURE_2 0x95

@ -85,11 +85,6 @@
#define AVR_SIGNATURE_1 0x1E #define AVR_SIGNATURE_1 0x1E
#define AVR_SIGNATURE_2 0x96 #define AVR_SIGNATURE_2 0x96
#define AVR_SIGNATURE_3 0x82 #define AVR_SIGNATURE_3 0x82
#elif defined(__AVR_ATmega32U6__)
#define PRODUCT_ID_CODE 0x2FFB
#define AVR_SIGNATURE_1 0x1E
#define AVR_SIGNATURE_2 0x95
#define AVR_SIGNATURE_3 0x88
#elif defined(__AVR_ATmega32U4__) #elif defined(__AVR_ATmega32U4__)
#define PRODUCT_ID_CODE 0x2FF4 #define PRODUCT_ID_CODE 0x2FF4
#define AVR_SIGNATURE_1 0x1E #define AVR_SIGNATURE_1 0x1E

@ -62,11 +62,6 @@
* <td bgcolor="#EE0000">No</td> * <td bgcolor="#EE0000">No</td>
* </tr> * </tr>
* <tr> * <tr>
* <td>ATMEGA32U6</td>
* <td bgcolor="#00EE00">Yes</td>
* <td bgcolor="#EE0000">No</td>
* </tr>
* <tr>
* <td>AT90USB646</td> * <td>AT90USB646</td>
* <td bgcolor="#00EE00">Yes</td> * <td bgcolor="#00EE00">Yes</td>
* <td bgcolor="#EE0000">No</td> * <td bgcolor="#EE0000">No</td>
@ -143,16 +138,6 @@
* <th width="150px">USB Host Mode</th> * <th width="150px">USB Host Mode</th>
* </tr> * </tr>
* <tr> * <tr>
* <td>AT32UC3A064</td>
* <td bgcolor="#00EE00">Yes</td>
* <td bgcolor="#00EE00">Yes</td>
* </tr>
* <tr>
* <td>AT32UC3A164</td>
* <td bgcolor="#00EE00">Yes</td>
* <td bgcolor="#00EE00">Yes</td>
* </tr>
* <tr>
* <td>AT32UC3A364</td> * <td>AT32UC3A364</td>
* <td bgcolor="#00EE00">Yes</td> * <td bgcolor="#00EE00">Yes</td>
* <td bgcolor="#00EE00">Yes</td> * <td bgcolor="#00EE00">Yes</td>

@ -93,8 +93,7 @@
#if !(defined(__AVR_AT90USB1286__) || defined(__AVR_AT90USB646__) || \ #if !(defined(__AVR_AT90USB1286__) || defined(__AVR_AT90USB646__) || \
defined(__AVR_AT90USB1287__) || defined(__AVR_AT90USB647__) || \ defined(__AVR_AT90USB1287__) || defined(__AVR_AT90USB647__) || \
defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__) || \ defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__))
defined(__AVR_ATmega32U6__))
#error The ADC peripheral driver is not currently available for your selected microcontroller model. #error The ADC peripheral driver is not currently available for your selected microcontroller model.
#endif #endif
@ -276,8 +275,7 @@
static inline void ADC_SetupChannel(const uint8_t ChannelIndex) static inline void ADC_SetupChannel(const uint8_t ChannelIndex)
{ {
#if (defined(__AVR_AT90USB1286__) || defined(__AVR_AT90USB646__) || \ #if (defined(__AVR_AT90USB1286__) || defined(__AVR_AT90USB646__) || \
defined(__AVR_AT90USB1287__) || defined(__AVR_AT90USB647__) || \ defined(__AVR_AT90USB1287__) || defined(__AVR_AT90USB647__))
defined(__AVR_ATmega32U6__))
DDRF &= ~(1 << ChannelIndex); DDRF &= ~(1 << ChannelIndex);
DIDR0 |= (1 << ChannelIndex); DIDR0 |= (1 << ChannelIndex);
#elif (defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__)) #elif (defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__))
@ -318,8 +316,7 @@
static inline void ADC_DisableChannel(const uint8_t ChannelIndex) static inline void ADC_DisableChannel(const uint8_t ChannelIndex)
{ {
#if (defined(__AVR_AT90USB1286__) || defined(__AVR_AT90USB646__) || \ #if (defined(__AVR_AT90USB1286__) || defined(__AVR_AT90USB646__) || \
defined(__AVR_AT90USB1287__) || defined(__AVR_AT90USB647__) || \ defined(__AVR_AT90USB1287__) || defined(__AVR_AT90USB647__))
defined(__AVR_ATmega32U6__))
DDRF &= ~(1 << ChannelIndex); DDRF &= ~(1 << ChannelIndex);
DIDR0 &= ~(1 << ChannelIndex); DIDR0 &= ~(1 << ChannelIndex);
#elif (defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__)) #elif (defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__))

@ -133,8 +133,7 @@
#if !(defined(__AVR_AT90USB1286__) || defined(__AVR_AT90USB646__) || \ #if !(defined(__AVR_AT90USB1286__) || defined(__AVR_AT90USB646__) || \
defined(__AVR_AT90USB1287__) || defined(__AVR_AT90USB647__) || \ defined(__AVR_AT90USB1287__) || defined(__AVR_AT90USB647__) || \
defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__) || \ defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__))
defined(__AVR_ATmega32U6__))
#error The TWI peripheral driver is not currently available for your selected microcontroller model. #error The TWI peripheral driver is not currently available for your selected microcontroller model.
#endif #endif

@ -221,9 +221,9 @@
static inline uint16_t Endpoint_BytesInEndpoint(void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE; static inline uint16_t Endpoint_BytesInEndpoint(void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE;
static inline uint16_t Endpoint_BytesInEndpoint(void) static inline uint16_t Endpoint_BytesInEndpoint(void)
{ {
#if (defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR)) && !defined(__AVR_ATmega32U6__) #if (defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR))
return UEBCX; return UEBCX;
#elif defined(USB_SERIES_4_AVR) || defined(__AVR_ATmega32U6__) #elif defined(USB_SERIES_4_AVR)
return (((uint16_t)UEBCHX << 8) | UEBCLX); return (((uint16_t)UEBCHX << 8) | UEBCLX);
#elif defined(USB_SERIES_2_AVR) #elif defined(USB_SERIES_2_AVR)
return UEBCLX; return UEBCLX;

@ -91,7 +91,7 @@
#define USB_PLL_PSC 0 #define USB_PLL_PSC 0
#elif (defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__)) #elif (defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__))
#define USB_PLL_PSC 0 #define USB_PLL_PSC 0
#elif (defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB1286__) || defined(__AVR_ATmega32U6__)) #elif (defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB1286__))
#define USB_PLL_PSC ((1 << PLLP1) | (1 << PLLP0)) #define USB_PLL_PSC ((1 << PLLP1) | (1 << PLLP0))
#elif (defined(__AVR_AT90USB647__) || defined(__AVR_AT90USB1287__)) #elif (defined(__AVR_AT90USB647__) || defined(__AVR_AT90USB1287__))
#define USB_PLL_PSC ((1 << PLLP1) | (1 << PLLP0)) #define USB_PLL_PSC ((1 << PLLP1) | (1 << PLLP0))
@ -103,7 +103,7 @@
#define USB_PLL_PSC (1 << PLLP0) #define USB_PLL_PSC (1 << PLLP0)
#elif (defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__)) #elif (defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__))
#define USB_PLL_PSC (1 << PINDIV) #define USB_PLL_PSC (1 << PINDIV)
#elif (defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB647__) || defined(__AVR_ATmega32U6__)) #elif (defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB647__))
#define USB_PLL_PSC ((1 << PLLP2) | (1 << PLLP1)) #define USB_PLL_PSC ((1 << PLLP2) | (1 << PLLP1))
#elif (defined(__AVR_AT90USB1286__) || defined(__AVR_AT90USB1287__)) #elif (defined(__AVR_AT90USB1286__) || defined(__AVR_AT90USB1287__))
#define USB_PLL_PSC ((1 << PLLP2) | (1 << PLLP0)) #define USB_PLL_PSC ((1 << PLLP2) | (1 << PLLP0))

@ -175,7 +175,7 @@
#elif (defined(__AVR_ATmega32U4__) || defined(__AVR_ATmega16U4__)) #elif (defined(__AVR_ATmega32U4__) || defined(__AVR_ATmega16U4__))
#define USB_SERIES_4_AVR #define USB_SERIES_4_AVR
#define USB_CAN_BE_DEVICE #define USB_CAN_BE_DEVICE
#elif (defined(__AVR_ATmega32U6__) || defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB1286__)) #elif (defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB1286__))
#define USB_SERIES_6_AVR #define USB_SERIES_6_AVR
#define USB_CAN_BE_DEVICE #define USB_CAN_BE_DEVICE
#elif (defined(__AVR_AT90USB647__) || defined(__AVR_AT90USB1287__)) #elif (defined(__AVR_AT90USB647__) || defined(__AVR_AT90USB1287__))

Loading…
Cancel
Save