aboutsummaryrefslogtreecommitdiffstats
path: root/Bootloaders/DFU
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-12-20 13:00:49 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-12-20 13:00:49 +0000
commit8b7565956380c558bb309732c1d7d2cb58b193ea (patch)
treedaa5f27642bd8672bbb426fefccf92eb2c974c74 /Bootloaders/DFU
parent77cd3a42a7eda45138fc9a0fc6a9badd68caac96 (diff)
downloadlufa-8b7565956380c558bb309732c1d7d2cb58b193ea.tar.gz
lufa-8b7565956380c558bb309732c1d7d2cb58b193ea.tar.bz2
lufa-8b7565956380c558bb309732c1d7d2cb58b193ea.zip
Added new NO_DEVICE_SELF_POWER and NO_DEVICE_REMOTE_WAKEUP compile time options.
Diffstat (limited to 'Bootloaders/DFU')
-rw-r--r--Bootloaders/DFU/Descriptors.c2
-rw-r--r--Bootloaders/DFU/makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/Bootloaders/DFU/Descriptors.c b/Bootloaders/DFU/Descriptors.c
index eb5c580b0..2fed76869 100644
--- a/Bootloaders/DFU/Descriptors.c
+++ b/Bootloaders/DFU/Descriptors.c
@@ -81,7 +81,7 @@ USB_Descriptor_Configuration_t ConfigurationDescriptor =
.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)
},
diff --git a/Bootloaders/DFU/makefile b/Bootloaders/DFU/makefile
index 8b16c35c6..cd5d2c7e2 100644
--- a/Bootloaders/DFU/makefile
+++ b/Bootloaders/DFU/makefile
@@ -128,6 +128,8 @@ LUFA_OPTS += -D FIXED_NUM_CONFIGURATIONS=1
LUFA_OPTS += -D USE_RAM_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 NO_DEVICE_SELF_POWER
+LUFA_OPTS += -D NO_DEVICE_REMOTE_WAKEUP
# List C source files here. (C dependencies are automatically generated.)