| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
into account.
Re-added Pipe_IsEndpointBound() calls to the CDC and RNDIS host class drivers, not that the function has the correct behaviour for devices with bidirectional endpoints.
|
|
|
|
| |
code for the ATMEGA32U2.
|
|
|
|
|
|
| |
Fixed lack of support for the ATMEGA32U2 in the DFU and CDC class bootloaders
Changed incomplete Webserver project over to using the uIP timer library.
|
| |
|
| |
|
|
|
|
| |
STALL back to the host.
|
| |
|
|
|
|
| |
interface is shut down and both Host and Device modes can be used (thanks to Daniel Levy).
|
|
|
|
| |
Add new HotmailNotifier project, which changes a LED's colour based on the user's unread email count as sent from Windows Live Messenger.
|
| |
|
|
|
|
| |
programming. Add a delay to the clock toggling in the AVRISP project to ensure that the programming speed does not exceed 10MHz under any conditions to satisfy the limits in the datasheet for all target voltages. Fix incorrect pin being used as the DATA in in PDI programming mode.
|
| |
|
|
|
|
|
|
|
|
| |
(up from 5) to account for slow-processing devices.
Added brace guards to macros with parameters to prevent unintended changed evaluation of the macro expression.
Minor code cleanups (remove redundant comments, fix spacing, etc.).
|
| |
|
|
|
|
| |
inverted logic, HID Parser was assigning the usage Min/Max usage value to the report item's collection path rather than the report item itself.
|
|
|
|
| |
failure to enumerate certain devices.
|
|
|
|
|
|
| |
and ATMEGA16U2.
Simplified the USB.h master include file's target validity checks.
|
|
|
|
|
|
|
|
| |
Class Driver demo.
Fixed all Class drivers to ensure they have appropriate guards on each function to ensure the device is enumerated before running, fixed error codes on all guards to return "DeviceDisconnected" where possble.
Renamed HOST_SENDCONTROL_DeviceDisconnect enum value to HOST_SENDCONTROL_DeviceDisconnected to be in line with the rest of the library enum error codes.
|
|
|
|
| |
macro for setting a pipe's direction. Fixed CDCHost failing on devices with bidirectional endpoints.
|
|
|
|
| |
HOST_DEVICE_SETTLE_DELAY_MS is set to zero.
|
|
|
|
|
|
| |
ahead double the expected amount.
Fixed Pipe_IsEndpointBound() not masking the given Endpoint Address against PIPE_EPNUM_MASK.
|
|
|
|
|
|
|
|
|
|
|
|
| |
storage classes, so that program data can either be loaded onto the device's Dataflash storage, or read off an attached USB memory stick.
The USB target family and allowable USB mode tokens are now public and documented (USB_CAN_BE_*, USB_SERIES_*_AVR).
The SCSI_Request_Sense_Response_t and SCSI_Inquiry_Response_t type defines are now part of the Mass Storage Class driver common defines, rather than being defined in the Host mode Class driver section only.
The USB_MODE_HOST token is now defined even when host mode is not available.
Added missing CDC_Host_CreateBlockingStream() function code to the CDC Host Class driver.
|
|
|
|
| |
when the given data length is zero.
|
|
|
|
| |
(thanks to Dave Lyons).
|
|
|
|
| |
Change device demos which use the joystick to use the natural UP, DOWN, LEFT, RIGHT ordering in all demos when checking the joystick's position.
|
| |
|
|
|
|
|
|
| |
avr-libc return codes for errors and EOF.
Fix pointer arithmetic on void byte buffers by explicitly typecasting the buffer pointers to uint8_t* before altering them.
|
| |
|
|
|
|
| |
Descriptor processing routines now pass around void pointers rather than uint8_t pointers, as their destination datatype is know well known -- they are just streams of bytes until they are cast to the correct destination type by DESCRIPTOR_CAST.
|
|
|
|
| |
directory. Add guards to macro parameters to ensure that formulas passed as parameters don't mess up the internal macro structure.
|
|
|
|
|
|
| |
possible to reduce code size and (potentially) allow for centralized status stage timeouts.
Fix Joystick device demo HID descriptors - buttons should be placed outside the Pointer collection.
|
|
|
|
| |
Add new manual pages detailing the advantages of LUFA over the official Atmel USB AVR stack, and reasons why LUFA should be used over a built-from-scratch USB stack.
|
|
|
|
| |
CDC demo. Added const qualifier to Endpoint/Pipe stream write routines.
|
|
|
|
| |
Simplify AudioOutput demos, to reduce the number of cycles needed to process each incomming sample.
|
| |
|
|
|
|
|
|
|
|
| |
checking for sytax errors in the library.
MIDI device demos now receive MIDI events from the host and display note ON messages via the board LEDs.
Added beginnings of a MIDI class bootloader.
|
|
|
|
| |
Make HID item filtering routines clearer in the HID WithParser demos.
|
|
|
|
| |
Fix KeyboardHost ClassDriver demo; boot protocol keyboard report structure in the Host Mode HID Class driver uses the full keycode array from the attached device.
|
|
|
|
|
|
|
|
| |
is frozen.
Added new USB_GetHIDReportSize() function to the HID report parser to retrieve the size of a given report by its ID.
More additions to the unfinished HID Host Class Driver.
|
|
|
|
|
|
| |
standard descriptors into seperate USB_Descriptor_* and USB_StdDescriptor_* structures so that both can be used within the one project.
Add guard to the HID Host Class driver SetProtocol command, to ensure that the device supports boot protocol mode before issuing the request.
|
|
|
|
|
|
| |
Ensure IsActive is set on the interface to allow device functions to run.
Fix spelling of "Received" in all source files where it is misspelt "Recieved".
|
|
|
|
|
|
|
|
| |
Projects/Host/ makefile.
Add more skeleton functions and definitions to the Mass Storage Host mode Class driver.
Made Endpoint_Write_DWord_* functions echo the structure of the matching Endpoint routines for clarity.
|
|
|
|
|
|
| |
compiled size.
Fixed Programmer's Notepad project file to reflect new location of AVRISP project.
|
|
|
|
|
|
| |
project.
Fix up references to functions in the Endpoint/Pipe documentation.
|
|
|
|
|
|
| |
Device mode with an unhandled data recipient.
Fix up Programmers Notepad Project file to show new Projects directory layout. Remove now moved AVRISP project from the Projects directory makefile.
|
|
|
|
|
|
| |
Added new Endpoint_SetEndpointDirection() macro to set the current endpoint direction for bidirectional endpoints.
Renamed internal USB_INT_ENDPOINT_SETUP macro to USB_INT_RXSTPI to fit in with the rest of the interrupt vector macros.
|
|
|
|
| |
USB_Device_EnableSOFEvents() and USB_Device_DisableSOFEvents() macros to give bus-synchronised millisecond interrupts when in USB device mode.
|
|
|
|
|
|
| |
Minor updates to the unfinished SideShow demo for clarity.
Added unfinished MassStorageHost class driver demo.
|
|
|
|
|
|
|
|
| |
would become corrupted due to an incorrect bounds check when iterating over the port state table, causing random resets.
Revert change to Template_Endpoint_Control_R.c, which broke control stream reads.
Remove uneeded ADC.h include in the class driver AudioOutput demo.
|
|
|
|
|
|
| |
incomplete packet is sent from the host (indicating end of transfer), add check for control reads to ensure that no more than wLength bytes are read from the interface.
Condense sequential printf_P/puts_P calls to single printf_P calls for size and clarity.
|