- Jun 19, 2009
-
-
Dean Camera authored
Fix makefiles -- the auto-addition of -D switches to each LUFA compile time option was faulty, due to GNUMake becomming confused by the spaces in the USE_STATIC_OPTIONS lines. Make user add in the switches explicitly instead.
-
Dean Camera authored
-
Dean Camera authored
Extend USB_GetDeviceConfigDescriptor() routine to require the configuration number within the device to fetch, to add support for multi-configuration devices.
-
Dean Camera authored
Re-add in simple scheduler for compatibility with legacy code, mark all scheduler related files as deprecated.
-
- Jun 18, 2009
-
-
Dean Camera authored
Break device mode class driver interfaces into seperate config and state structs which are then combined, for clarity. Move device mode class driver interfaces back into the device mode class driver headers from the common class headers to make room for host class interfaces.
-
Dean Camera authored
Added new USB_Host_ClearPipeStall() convenience function to clear a stall condition on an attached device's endpoint. Added new USB_Host_GetDeviceDescriptor() convenience function to retrieve the attached device's Device descriptor. Make Pipe_ConfigurePipe() mask the given endpoint number against PIPE_EPNUM_MASK to ensure the endpoint IN direction bit is cleared to prevent endpoint type corruption. Fix documentation mentioning Pipe_GetCurrentToken() function when real name is Pipe_GetPipeToken().
-
- Jun 16, 2009
-
-
Dean Camera authored
Better documentation for the MissleLauncher project - add credit to PyLauncher project.
-
Dean Camera authored
Added new USB_Host_SetDeviceConfiguration() convenience function. Change over Low Level host demos to use the new routine.
-
- Jun 15, 2009
-
-
Dean Camera authored
Remove ConfigDescriptor.c/.h files from the ClassDriver Host demos, as they will be obsoleted when the Host mode class drivers are complete. Add new StillImage stub class driver common header.
-
Dean Camera authored
-
Dean Camera authored
-
Dean Camera authored
Enhanced class drivers to use the same public/private section seperations as other portions of the library.
-
- Jun 14, 2009
-
-
Dean Camera authored
Split out common defines/types from class drivers into a seperate common class driver directory. Make central USB Class driver dispatch headers, used for both device and host modes.
-
Dean Camera authored
Changed per-device controller preprocessor checks over to per-device series for better device control. Fixed error in Endpoint.c using HSOFI rather than SOFI for counting elapsed milliseconds.
-
- Jun 10, 2009
-
-
Dean Camera authored
Fixes to the MIDI device demos (ClassDriver, LowLevel); discard unused read-in events from the host, use standard MIDI event structure in low level demo rather than sending individual bytes.
-
- Jun 09, 2009
-
-
Dean Camera authored
Copy over schedulerless host demos to ClassDrivers directory, for later modification to new Host mode USB class drivers.
-
Dean Camera authored
Deleted Host ClassDriver demos -- not yet started, faster to rebase new ClassDriver demos from the newly schedulerless LowLevel host demos rather than re-convert each demo from the previous scheduler-based implementations. Fixes to MassStorageHost demo to improve compatibility with more USB drives.
-
- Jun 08, 2009
-
-
Dean Camera authored
Converted Host mode demos to schedulerless. Fixed host mode broken due to earlier Start-of-frame event experiments.
-
- Jun 05, 2009
-
-
Dean Camera authored
Copy and convert incomplete Bluetooth Host demo to the library.
-
Dean Camera authored
-
Dean Camera authored
-
Dean Camera authored
Remove outdated AVRStudio project files from demos, projects, bootloaders. Fix makefiles of ClassDriver device demos.
-
- Jun 01, 2009
-
-
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.
-
- May 22, 2009
-
-
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.
-
- May 18, 2009
-
-
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.
-
- May 15, 2009
-
-
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.
-
- May 14, 2009
-
-
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.
-
- May 12, 2009
-
-
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.
-
- May 07, 2009
-
-
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).
-
- May 06, 2009
-
-
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.
-
- May 04, 2009
-
-
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.
-
- May 03, 2009
-
-
Dean Camera authored
-
- May 01, 2009
-
-
Dean Camera authored
-
- Apr 26, 2009
-
-
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().
-
- Apr 23, 2009
-
-
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.
-
- Apr 22, 2009
-
-
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.
-