- 04 Jun, 2009 4 commits
-
-
Dean Camera authored
Fixed EVENT_USB_CDC_ControLineStateChanged() event not taking the CDC interface structure as a parameter. Converted TestApp demo over to the new demo structure. More class driver documentation improvements.
-
Dean Camera authored
-
Dean Camera authored
Ensure all USB device class drivers have the same three main functions as their interface for consistency.
-
Dean Camera authored
Redocumented all device demos, now that they have changed over to the new USB class drivers. Added C linkage to class drivers for C++ support. Added prefixes to most of the class driver constants to prevent name clashes.
-
- 02 Jun, 2009 1 commit
-
-
Dean Camera authored
Removed new Start of Frame event from the library; performance suffered far too much and it was only useful in one of the standard classes (HID). Altered HID demos to use the previous method of tracking millisecond periods via a hardware timer rather than the SOF events. Fixed MIDI class driver blocking on unread events to the host.
-
- 01 Jun, 2009 2 commits
-
-
Dean Camera authored
Add MIDI class driver, update MIDI device demo to use the new USB class driver. All device demos/projects have now been converted to the new library class drivers, although documentation is yet to be completed.
-
Dean Camera authored
Commit of new class abstraction APIs for all device demos other than the MIDI demo - not documented yet. Removed scheduler and memory allocation libraries. Added new EVENT_USB_StartOfFrame event in the library to indicate the start of each USB frame (when generated). Removed Tx interrupt from the USBtoSerial demo; now sends characters via polling to ensure more time for the Rx interrupt.
-
- 26 May, 2009 1 commit
-
-
Dean Camera authored
Change USBtoSerial Tx to polling-driven rather than interrupt driven, to ensure more time for the Rx interrupt to be serviced.
-
- 22 May, 2009 2 commits
-
-
Dean Camera authored
Moved out each demos' functionality library files (e.g. Ring Buffer library) to /Lib directories for a better directory structure.
-
Dean Camera authored
Deleted StdDescriptors.c, renamed USB_GetDescriptor() to 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.
-
- 20 May, 2009 1 commit
-
-
Dean Camera authored
-
- 18 May, 2009 1 commit
-
-
Dean Camera authored
Fixed incorrect ENDPOINT_EPNUM_MASK mask preventing endpoints above EP3 from being selected (thanks to Jonathan Oakley). Removed STREAM_CALLBACK() macro - callbacks now use regular function definitions to clarify user code. Removed DESCRIPTOR_COMPARATOR() macro - comparators should now use regular function definitions to clarify user code.
-
- 17 May, 2009 1 commit
-
-
Dean Camera authored
-
- 15 May, 2009 3 commits
-
-
Dean Camera authored
Create a new function pointer type in StreamCallbacks.h for endpoint/pipe stream callbacks, to make stream function prototypes clearer.
-
Dean Camera authored
Fix to previous patch (make CDCHost demo deallocate pipes when an invalid CDC interface is skipped). Remove the saving of the USB_GetNextDescriptorComp() return value in all host demos, since it went unused anyway; replaced with a simple check against the success error code for clarity.
-
Dean Camera authored
Fixed CDCHost not clearing configured endpoints and resetting configured endpoints mask when a partially enumerated invalid CDC interface is skipped.
-
- 14 May, 2009 1 commit
-
-
Dean Camera authored
Removed all user pipe/endpoint interrupt APIs, added internal library support for interrupt driven control endpoints when in device mode by defining INTERRUPT_CONTROL_ENDPOINT token and passing it to the compiler via the -D switch.
-
- 13 May, 2009 1 commit
-
-
Dean Camera authored
Moved USB Host state machine code out from USBTask.c and into Host.c, where it more properly belongs.
-
- 12 May, 2009 2 commits
-
-
Dean Camera authored
-
Dean Camera authored
Fixed Mouse and Keyboard device demos not acting in accordance with the HID specification for idle periods (thanks to Brian Dickman). Removed support for endpoint/pipe non-control interrupts; these did not act in the way users expected, and had many subtle issues.
-
- 11 May, 2009 2 commits
-
-
Dean Camera authored
Fixed RNDISEthernet not working under Linux due to Linux requiring an "optional" request which was unhandled.
-
Dean Camera authored
Fixed bug in RNDISEthernet and DualCDC demos not using the correct USB_ControlRequest structure for control request data. Fixed documentation showing incorrect USB mode support on the supported AVRs list.
-
- 10 May, 2009 1 commit
-
-
Dean Camera authored
Commit for the 090510 release.
-
- 07 May, 2009 2 commits
-
-
Dean Camera authored
Renamed the the TotalHIDReports element of the HID descriptor structure in the HID class demos to TotalReportDescriptors, to be more accurate of the element's function (thanks to Brian Dickman).
-
Dean Camera authored
-
- 06 May, 2009 2 commits
-
-
Dean Camera authored
Change device demos to cache the board button values in the same manner as the board joystick to maintain consistency.
-
Dean Camera authored
Changed HWB board driver to Buttons driver, to allow for the support of future boards with more than one mounted GPIO button.
-
- 04 May, 2009 1 commit
-
-
Dean Camera authored
Changed PIPE_CONTROLPIPE_DEFAULT_SIZE from 8 to 64 to try to prevent 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.
-
- 03 May, 2009 2 commits
-
-
Dean Camera authored
-
Dean Camera authored
-
- 01 May, 2009 1 commit
-
-
Dean Camera authored
-
- 26 Apr, 2009 1 commit
-
-
Dean Camera authored
Fixed PREVENT ALLOW MEDIUM REMOVAL command issuing in the MassStorageHost demo using incorrect parameters (thanks to Mike Alex). Fixed MassStorageHost demo broken due to an incorrect if statement test in MassStore_GetReturnedStatus().
-
- 24 Apr, 2009 1 commit
-
-
Dean Camera authored
Endpoint configuration is now refined to give better output when all configurations have static inputs - removed the now useless STATIC_ENDPOINT_CONFIGURATION compile time token.
-
- 23 Apr, 2009 1 commit
-
-
Dean Camera authored
Fixed USB_RemoteWakeupEnabled flag never being set (the REMOTE WAKEUP Set Feature request was not being handled). Renamed the FEATURELESS_CONTROL_ONLY_DEVICE compile-time token to CONTROL_ONLY_DEVICE.
-
- 22 Apr, 2009 3 commits
-
-
Dean Camera authored
-
Dean Camera authored
Applied STATIC_ENDPOINT_CONFIGURATION and FIXED_CONTROL_SIZE tokens to all Device mode demos to reduce binary size.
-
Dean Camera authored
USB_HostRequest renamed to USB_ControlRequest, entire control request header is now read into USB_ControlRequest in Device mode rather than having the library pass only partially read header data to the application. The USB_UnhandledControlPacket event has had its parameters removed, in favour of accessing the new USB_ControlRequest structure. The Endpoint control stream functions now correctly send a ZLP to the host when less data than requested is sent.
-
- 21 Apr, 2009 1 commit
-
-
Dean Camera authored
Removed specialized Endpoint_ClearControl* and Pipe_ClearControl* macros in favour of the standard Endpoint_Clear* and Pipe_Clear* macros (Atmel have confirmed no effect from setting FIFOCON on control endpoints).
-
- 20 Apr, 2009 2 commits
-
-
Dean Camera authored
-
Dean Camera authored
Changed over all deprecated GCC structure tag initializers to the standardized C99 format (thanks to Mike Alexander).
-