summaryrefslogtreecommitdiff
path: root/Bootloaders/DFU/Descriptors.c
AgeCommit message (Collapse)Author
2012-02-05Add new tag for the LUFA-120219-BETA release.LUFA-120219-BETADean
git-svn-id: http://lufa-lib.googlecode.com/svn/tags/LUFA-120219-BETA@2033 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-12-23Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵dean
trailing whitespace at the end of each line. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2007 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-03-18Oops - Bootloader optimizations to GetDescriptor() don't work, as the ↵Dean
Configuration Descriptor's header does not contain the full length of the descriptor, breaking full enumeration. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1719 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-06Oops - fix missing constants in the TempDataLogger FatFS diskio.h header file.Dean
Add const to all project descriptor definitions for safety. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1655 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-06Tighten up the Bootloader GetDescriptor() function, as the descriptor size ↵Dean
can be extracted from the header after the address has been found. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1654 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-01Update copyright year on all source files.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1622 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-11-30Fixed broken USBFOO board drivers due to missing BOARD_USBFOO define.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1598 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-29Added new NO_BLOCK_SUPPORT, NO_EEPROM_BYTE_SUPPORT, NO_FLASH_BYTE_SUPPORT ↵Dean
and NO_LOCK_BYTE_SUPPORT compile time options to the CDC class bootloader. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1547 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-28Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean
redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1541 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-25Add descriptor class, subclass and protocol constants to the class drivers, ↵Dean
modify all demos to use them where possible. Move out private/internal host class driver constants to the common class driver headers, so that they can be used in the Low Level host mode demos. Ensure all demos, projects and bootloaders use the class driver constants where possible to minimise code repetition. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1538 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-13Clean up excessive whitespace at the end of each line using the wspurify ↵Dean
tool made by Laszlo Monda git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1524 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-09-30Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction ↵Dean
on the configuration order instead to ensure maximum reliability. Altered all low level device and host mode demos to ensure that endpoints and pipes are configured in ascending order properly. Rewrote all low level host mode demos' configuration descriptor parser code to ensure that pipes are enumerated in ascending order, and to ensure maximum compatibility with devices. Incremented all device mode demo's device descriptor revision numbers to ensure that any descriptor changes are re-fetched on machines which have enumerated previous versions. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1502 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-09-28Added CDC functional descriptor structs to the Low Level CDC demos and CDC ↵Dean
class bootloader, to improve the readability of the descriptors. Fixed BootloaderCDC project failing on some operating systems due to removed Line Encoding options (thanks to Alexey Belyaev). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1498 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-08-24Changed the signature of the CALLBACK_USB_GetDescriptor() callback function ↵Dean
so that the descriptor pointer is const, to remove the need for extra casting inside the callback (thanks to Jonathan Kollasch). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1452 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-21Update all demos, projects and bootloaders to indent all function ↵Dean
parameters, one per line, for better readability. Add missing const qualifiers to the demos. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1400 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-08Add svn:eol-style property to source files, so that the line endings are ↵Dean
correctly converted to the target system's native end of line style. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1248 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-03-22Standardized the naming scheme given to configuration descriptor ↵Dean
sub-elements in the Device mode demos, bootloaders and projects. Fix errors in the MouseHostWithParser demo from incorrect use of the HID_ALIGN_DATA() macro. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1172 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-30Update copyright year to 2010.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1032 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-28Fix MIT license language to make its intent clearer.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1019 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-20Added new NO_DEVICE_SELF_POWER and NO_DEVICE_REMOTE_WAKEUP compile time options.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@994 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-11-11Minor code cleanups for clarity.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@892 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-11-09Spell check all source code variables, comments and strings.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@889 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-02Rename TOTAL_NUM_CONFIGURATIONS to FIXED_NUM_CONFIGURATIONS, to match the ↵Dean
existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@712 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-05-22Deleted StdDescriptors.c, renamed USB_GetDescriptor() to ↵Dean
CALLBACK_USB_GetDescriptor, moved ConfigDescriptor.c/.h from the LUFA/Drivers/USB/Class/ directory to LUFA/Drivers/USB/HighLevel/ in preperation for the new USB class APIs. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@558 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-05-17Removed DESCRIPTOR_ADDRESS() macro as it was largely supurflous and only ↵Dean
served to obfuscate code. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@553 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-05-04Changed PIPE_CONTROLPIPE_DEFAULT_SIZE from 8 to 64 to try to prevent ↵Dean
problems with faulty devices which do not respect the given wLength value when reading in the device descriptor. Further documentation improvements - removed file view from the main library documentation, replaced file references in the documentation with group references. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@533 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-04-20Changed over all deprecated GCC structure tag initializers to the ↵Dean
standardized C99 format (thanks to Mike Alexander). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@517 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-04-01All comments in the library, bootloaders, demos and projects have now been ↵Dean
spell-checked and spelling mistakes/typos corrected. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@492 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-03-04Updated makefiles to reflect new dfu-ee programming target invocations ↵Dean
(supplied by Opendous, Inc.). Renamed the ATTR_ALWAYSINLINE function attribute macro to ATTR_ALWAYS_INLINE to match the style of the other function attribute macro names. Added ATTR_ALWAYS_INLINE attribute to several inlined library functions, to ensure they are inlined in all circumstances. Cleanups to Endpoint.h and Pipe.h. Added better documentation for the endpoint and pipe interrupts. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@450 d5102386-fcda-11dd-9fdb-3debd5008f28