aboutsummaryrefslogtreecommitdiffstats
path: root/Bootloaders/MassStorage/Descriptors.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-03-18 17:18:11 +0000
committerDean Camera <dean@fourwalledcubicle.com>2013-03-18 17:18:11 +0000
commitbe33d3a5156ea3fde221c9e174ad0405eb8d1f8d (patch)
treeb027f4af999f39ed4554270c089a003479be7af7 /Bootloaders/MassStorage/Descriptors.h
parentf8a1dc7424cd83f2f3e87274010d379a661b76e4 (diff)
downloadlufa-be33d3a5156ea3fde221c9e174ad0405eb8d1f8d.tar.gz
lufa-be33d3a5156ea3fde221c9e174ad0405eb8d1f8d.tar.bz2
lufa-be33d3a5156ea3fde221c9e174ad0405eb8d1f8d.zip
Update Mass Storage bootloader so that it can support devices with only 4KB bootloader sections by creating a special AUX section before the real bootloader section to store part of the bootloader code.
Diffstat (limited to 'Bootloaders/MassStorage/Descriptors.h')
-rw-r--r--Bootloaders/MassStorage/Descriptors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bootloaders/MassStorage/Descriptors.h b/Bootloaders/MassStorage/Descriptors.h
index 7261fabfa..4460fdab3 100644
--- a/Bootloaders/MassStorage/Descriptors.h
+++ b/Bootloaders/MassStorage/Descriptors.h
@@ -70,7 +70,7 @@
uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
const uint8_t wIndex,
const void** const DescriptorAddress)
- ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3);
+ ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3) AUX_BOOT_SECTION;
#endif