aboutsummaryrefslogtreecommitdiff
path: root/Bootloaders/CDC/Descriptors.c
AgeCommit message (Collapse)Author
2012-07-29Enhance bootloader descriptor strings in the CDC and DFU bootloaders.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2424 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-05-06Increased endpoint polling interval for all demos and projects to 5ms, as ↵Dean
1ms was causing some enumeration issues on some machines (thanks to Riku Salminen). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2183 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-04-14Reintegrate the FullEPAddresses development branch into trunk.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2155 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-04Update file contributor copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2026 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-04Update file header copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2025 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-03Add API support signature to the CDC and DFU class bootloaders, so that the ↵Dean
application can detect the bootloader's API support. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2022 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-01-02USB_CONFIG_ATTR_BUSPOWERED constant renamed to USB_CONFIG_ATTR_RESERVED, as ↵Dean
this was misnamed (thanks to NXP Semiconductors). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2009 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-12-01Fix incorrect Capabilities value in the CDC class Bootloader descriptors.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2002 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-19Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ↵Dean
ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1895 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-01Remove custom CDC class descriptor definitions from the CDC bootloader, and ↵Dean
switch it to use the CDC Class Driver descriptor definitions. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1838 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-22Lower bulk endpoint polling rate in the descriptors to the lowest possible ↵Dean
value to give maximum throughput. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1588 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-11-10Fixed incorrect PollingIntervalMS values in the demo/project/bootloader ↵Dean
endpoint descriptors (thanks to MCS Electronics). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1576 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 board hardware driver support for the Arduino Uno development board.Dean
Fixed incorrect LEDs_ChangeLEDs() function in the Benito board LED driver. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1499 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-20Renamed CDC device class demos' ManagementEndpoint descriptor to ↵Dean
NotificationEndpoint to more accurately indicate its purpose. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1266 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-05-06Remove incorrect Abstract Call Management class specific descriptor from the ↵Dean
CDC demos, bootloaders and projects. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1241 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-08-13Added explicit attribute masks to the device mode demos' descriptors.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@738 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-05-02Fixed Endpoint_Write_Control_* functions writing more data than expected by ↵Dean
the host, causing it to panic (thanks to Johannes Raschke). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@529 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