- Dec 04, 2009
-
-
Dean Camera authored
Oops - fix Host mode pre-enumeration settle delay being ignored leading to failure to enumerate certain devices.
-
- Nov 29, 2009
-
-
Dean Camera authored
Simplified the USB.h master include file's target validity checks.
-
- Nov 26, 2009
-
-
Dean Camera authored
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.
-
- Nov 25, 2009
-
-
Dean Camera authored
Added new RNDISHost Host LowLevel demo. Fixed misnamed Pipe_SetPipeToken() macro for setting a pipe's direction. Fixed CDCHost failing on devices with bidirectional endpoints.
-
- Nov 24, 2009
-
-
Dean Camera authored
Fixed host state machine not enabling Auto VBUS mode when HOST_DEVICE_SETTLE_DELAY_MS is set to zero.
-
Dean Camera authored
Fixed broken USB_GetNextDescriptor() function causing the descriptor to jump ahead double the expected amount. Fixed Pipe_IsEndpointBound() not masking the given Endpoint Address against PIPE_EPNUM_MASK.
-
- Nov 23, 2009
-
-
Dean Camera authored
The incomplete StandaloneProgrammer project now uses Host and Device Mass 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.
-
- Nov 20, 2009
-
-
Dean Camera authored
Fixed Endpoint_Write_Control_Stream_* functions not sending a terminating IN when the given data length is zero.
-
- Nov 15, 2009
-
-
Dean Camera authored
Fix incorrect compiler error message when F_CLOCK is not defined by the user (thanks to Dave Lyons).
-
- Nov 13, 2009
-
-
Dean Camera authored
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.
-
- Nov 11, 2009
-
-
Dean Camera authored
-
- Nov 10, 2009
-
-
Dean Camera authored
Update CDC Class Driver character stream functions to use the correct 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.
-
- Nov 09, 2009
-
-
Dean Camera authored
-
- Nov 07, 2009
-
-
Dean Camera authored
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.
-
- Nov 06, 2009
-
-
Dean Camera authored
Add double banking property to LUFA powered projects in the Projects directory. Add guards to macro parameters to ensure that formulas passed as parameters don't mess up the internal macro structure.
-
- Nov 04, 2009
-
-
Dean Camera authored
Update DevChapter9.c - use the Endpoint_ClearStatusStage() function where 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.
-
- Nov 03, 2009
-
-
Dean Camera authored
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.
-
- Oct 18, 2009
-
-
Dean Camera authored
Moved USBtoSerial demo the Projects directory, as it is simply an expanded CDC demo. Added const qualifier to Endpoint/Pipe stream write routines.
-
- Oct 04, 2009
-
-
Dean Camera authored
Simplify AudioOutput demos, to reduce the number of cycles needed to process each incomming sample.
-
- Oct 03, 2009
-
-
Dean Camera authored
-
- Sep 30, 2009
-
-
Dean Camera authored
Removed mostly useless "TestApp" demo, as it was mainly useful only for 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.
-
- Sep 24, 2009
-
-
Dean Camera authored
Doxygen fixes to \param directives to give data direction in all projects. Make HID item filtering routines clearer in the HID WithParser demos.
-
- Sep 21, 2009
-
-
Dean Camera authored
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.
-
- Sep 20, 2009
-
-
Dean Camera authored
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.
-
- Sep 09, 2009
-
-
Dean Camera authored
Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out 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.
-
- Sep 02, 2009
-
-
Dean Camera authored
Add StillImage Host Class Driver functions for opening and closing sessions. 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".
-
- Aug 26, 2009
-
-
Dean Camera authored
Oops: Really disable building of Projects/Host/ClassDriver directory in the 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.
-
- Aug 25, 2009
-
-
Dean Camera authored
Fixed Programmer's Notepad project file to reflect new location of AVRISP project.
-
- Aug 20, 2009
-
-
Dean Camera authored
Fix up references to functions in the Endpoint/Pipe documentation.
-
- Aug 18, 2009
-
-
Dean Camera authored
Fixed invalid data being returned when a GetStatus request is issued in 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.
-
- Aug 17, 2009
-
-
Dean Camera authored
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.
-
- Aug 16, 2009
-
-
Dean Camera authored
Added new EVENT_USB_Device_StartOfFrame() event, controlled by the new USB_Device_EnableSOFEvents() and USB_Device_DisableSOFEvents() macros to give bus-synchronised millisecond interrupts when in USB device mode.
-
- Aug 13, 2009
-
-
Dean Camera authored
Minor updates to the unfinished SideShow demo for clarity. Added unfinished MassStorageHost class driver demo.
-
- Aug 07, 2009
-
-
Dean Camera authored
Cleanups to RNDIS device demos. Fix issue in RNDIS demos where the memory 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.
-
- Aug 06, 2009
-
-
Dean Camera authored
Make Endpoint control transfers more reliable; early-abort when an 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.
-
- Aug 05, 2009
-
-
Dean Camera authored
Make Control Endpoint stream transfers more reliable by adding in early aborts for unexpected new SETUP tokens, or unexpected status stage during control stream writes. Fix corruption in Device RNDIS demos TCP stack when too many connections attempted simultaneously, freezing the device when a page was re-fetched before the first connection was closed. Fix incorrect model compatibility information in the Host LowLevel demo overview text files.
-
Dean Camera authored
Renamed all library events to properly seperate out Device and Host mode events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only. Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events. Fixed incorrect Host state assignment in the incomplete BluetoothHost demo.
-
- Aug 03, 2009
-
-
Dean Camera authored
Renamed ATTR_NOINLINE to ATTR_NO_INLINE to fit with the rest of the library function attribute names.
-
- Aug 02, 2009
-
-
Dean Camera authored
Rename TOTAL_NUM_CONFIGURATIONS to FIXED_NUM_CONFIGURATIONS, to match the existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option.
-
- Jul 31, 2009
-
-
Dean Camera authored
Renamed USB_Device_SetHighSpeed() to USB_Device_SetFullSpeed() so that the correct terminology is used (thanks to Brian Dickman). Fix USB_PLL_Off() call in the series 4, 6 and 7 microcontroller disconnect interrupt handler code, which wasn't guarded by a test of USB_Options to check if the user has specified manual PLL control (thanks to Brian Dickman).
-