projects
/
pub
/
lufa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
666c0fa
)
Change AVRISP-MKII and XPLAINBridge descriptors to indicate that the device is bus...
author
Dean Camera
<dean@fourwalledcubicle.com>
Tue, 13 Jul 2010 14:17:18 +0000
(14:17 +0000)
committer
Dean Camera
<dean@fourwalledcubicle.com>
Tue, 13 Jul 2010 14:17:18 +0000
(14:17 +0000)
Projects/AVRISP-MKII/Descriptors.c
patch
|
blob
|
blame
|
history
Projects/AVRISP-MKII/Lib/V2Protocol.h
patch
|
blob
|
blame
|
history
Projects/AVRISP-MKII/makefile
patch
|
blob
|
blame
|
history
Projects/XPLAINBridge/AVRISPDescriptors.c
patch
|
blob
|
blame
|
history
Projects/XPLAINBridge/USARTDescriptors.c
patch
|
blob
|
blame
|
history
Projects/XPLAINBridge/makefile
patch
|
blob
|
blame
|
history
diff --git
a/Projects/AVRISP-MKII/Descriptors.c
b/Projects/AVRISP-MKII/Descriptors.c
index
a57ad06
..
95a41f1
100644
(file)
--- a/
Projects/AVRISP-MKII/Descriptors.c
+++ b/
Projects/AVRISP-MKII/Descriptors.c
@@
-81,7
+81,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.ConfigurationNumber = 1,
.ConfigurationStrIndex = NO_DESCRIPTOR,
.ConfigurationNumber = 1,
.ConfigurationStrIndex = NO_DESCRIPTOR,
- .ConfigAttributes =
(USB_CONFIG_ATTR_BUSPOWERED | USB_CONFIG_ATTR_SELFPOWERED)
,
+ .ConfigAttributes =
USB_CONFIG_ATTR_BUSPOWERED
,
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
},
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
},
diff --git
a/Projects/AVRISP-MKII/Lib/V2Protocol.h
b/Projects/AVRISP-MKII/Lib/V2Protocol.h
index
12ab599
..
a4248dd
100644
(file)
--- a/
Projects/AVRISP-MKII/Lib/V2Protocol.h
+++ b/
Projects/AVRISP-MKII/Lib/V2Protocol.h
@@
-70,7
+70,7
@@
#define COMMAND_TIMEOUT_TICKS 100
/** Command timeout counter register, GPIOR for speed. */
#define COMMAND_TIMEOUT_TICKS 100
/** Command timeout counter register, GPIOR for speed. */
- #define TimeoutTicksRemaining GPIOR
0
+ #define TimeoutTicksRemaining GPIOR
1
/** MUX mask for the VTARGET ADC channel number. */
#define VTARGET_ADC_CHANNEL_MASK _GETADCMUXMASK(ADC_CHANNEL, VTARGET_ADC_CHANNEL)
/** MUX mask for the VTARGET ADC channel number. */
#define VTARGET_ADC_CHANNEL_MASK _GETADCMUXMASK(ADC_CHANNEL, VTARGET_ADC_CHANNEL)
diff --git
a/Projects/AVRISP-MKII/makefile
b/Projects/AVRISP-MKII/makefile
index
3434489
..
88e186d
100644
(file)
--- a/
Projects/AVRISP-MKII/makefile
+++ b/
Projects/AVRISP-MKII/makefile
@@
-121,7
+121,10
@@
LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=16
LUFA_OPTS += -D FIXED_NUM_CONFIGURATIONS=1
LUFA_OPTS += -D USE_FLASH_DESCRIPTORS
LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
LUFA_OPTS += -D FIXED_NUM_CONFIGURATIONS=1
LUFA_OPTS += -D USE_FLASH_DESCRIPTORS
LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
-
+LUFA_OPTS += -D NO_INTERNAL_SERIAL
+LUFA_OPTS += -D DEVICE_STATE_AS_GPIOR=0
+LUFA_OPTS += -D NO_DEVICE_REMOTE_WAKEUP
+LUFA_OPTS += -D NO_DEVICE_SELF_POWER
# List C source files here. (C dependencies are automatically generated.)
SRC = $(TARGET).c \
# List C source files here. (C dependencies are automatically generated.)
SRC = $(TARGET).c \
diff --git
a/Projects/XPLAINBridge/AVRISPDescriptors.c
b/Projects/XPLAINBridge/AVRISPDescriptors.c
index
1f2e167
..
397cb56
100644
(file)
--- a/
Projects/XPLAINBridge/AVRISPDescriptors.c
+++ b/
Projects/XPLAINBridge/AVRISPDescriptors.c
@@
-81,7
+81,7
@@
AVRISP_USB_Descriptor_Configuration_t PROGMEM AVRISP_ConfigurationDescriptor =
.ConfigurationNumber = 1,
.ConfigurationStrIndex = NO_DESCRIPTOR,
.ConfigurationNumber = 1,
.ConfigurationStrIndex = NO_DESCRIPTOR,
- .ConfigAttributes = USB_CONFIG_ATTR_
SELF
POWERED,
+ .ConfigAttributes = USB_CONFIG_ATTR_
BUS
POWERED,
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
},
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
},
diff --git
a/Projects/XPLAINBridge/USARTDescriptors.c
b/Projects/XPLAINBridge/USARTDescriptors.c
index
329a206
..
8acbacd
100644
(file)
--- a/
Projects/XPLAINBridge/USARTDescriptors.c
+++ b/
Projects/XPLAINBridge/USARTDescriptors.c
@@
-93,7
+93,7
@@
USART_USB_Descriptor_Configuration_t PROGMEM USART_ConfigurationDescriptor =
.ConfigurationNumber = 1,
.ConfigurationStrIndex = NO_DESCRIPTOR,
.ConfigurationNumber = 1,
.ConfigurationStrIndex = NO_DESCRIPTOR,
- .ConfigAttributes =
(USB_CONFIG_ATTR_BUSPOWERED | USB_CONFIG_ATTR_SELFPOWERED)
,
+ .ConfigAttributes =
USB_CONFIG_ATTR_BUSPOWERED
,
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
},
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
},
diff --git
a/Projects/XPLAINBridge/makefile
b/Projects/XPLAINBridge/makefile
index
1a865a1
..
75f5169
100644
(file)
--- a/
Projects/XPLAINBridge/makefile
+++ b/
Projects/XPLAINBridge/makefile
@@
-123,7
+123,9
@@
LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8
LUFA_OPTS += -D FIXED_NUM_CONFIGURATIONS=1
LUFA_OPTS += -D USE_FLASH_DESCRIPTORS
LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
LUFA_OPTS += -D FIXED_NUM_CONFIGURATIONS=1
LUFA_OPTS += -D USE_FLASH_DESCRIPTORS
LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
-
+LUFA_OPTS += -D DEVICE_STATE_AS_GPIOR=0
+LUFA_OPTS += -D NO_DEVICE_REMOTE_WAKEUP
+LUFA_OPTS += -D NO_DEVICE_SELF_POWER
# List C source files here. (C dependencies are automatically generated.)
SRC = $(TARGET).c \
# List C source files here. (C dependencies are automatically generated.)
SRC = $(TARGET).c \