aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA
Commit message (Collapse)AuthorAgeFilesLines
* Add extra check for OUT ZLP in the CDC Device Class driver service task to ↵Dean Camera2009-08-312-3/+6
| | | | quickly clear zero-length termination packets from the host.
* Removed unused INCLUDE_FROM_BOARD_DRIVER internal define from the board ↵Dean Camera2009-08-316-6/+2
| | | | driver dispatch headers.
* Changed the parameters and behaviour of the USB_GetDeviceConfigDescriptor() ↵Dean Camera2009-08-314-29/+54
| | | | function so that it now performs size checks and data validations internally, to simplify user code.
* Remove deleted source files from the LUFA library makefile.Dean Camera2009-08-304-11/+9
| | | | Renamed parameters of SI_Host_ConfigurePipes() to match other Host mode Class drivers.
* Added start of the Still Image Host Class driver demo and driver code.Dean Camera2009-08-3010-21/+255
| | | | Re-enabled building of the Host mode demos ClassDriver directory.
* Remove skeleton Audio and MIDI Host mode Class drivers -- will not implement ↵Dean Camera2009-08-308-227/+0
| | | | in next release.
* Replace -finline-limit with -fno-inline-small-functions in project makefiles.Dean Camera2009-08-301-0/+3
|
* Fixed Device mode HID Class driver not explicitly initializing the ↵Dean Camera2009-08-273-5/+6
| | | | ReportSize parameter to zero before calling callback routine, so that ignored callbacks don't cause incorrect data to be sent.
* Condensed SCSI command functions in the LowLevel Mass Storage Host demo, to ↵Dean Camera2009-08-272-3/+6
| | | | | | save on FLASH space. Fixed issue in AVRISP project where the target RESET line was being toggled before it was tristated, causing problems synchronising to some targets (thanks to Mike Alex).
* Add check to Pipe_IsEndpointBound() in the Mass Storage Host mode Class ↵Dean Camera2009-08-272-2/+6
| | | | driver to ensure that multiple instances of the driver can be used on a single device with multiple Mass Storage interfaces.
* Simplified Host mode Mass Storage Class driver to reduce compiled program size.Dean Camera2009-08-272-102/+47
|
* Fix memory corruption in Host mode Mass Storage Class driver.Dean Camera2009-08-271-2/+2
|
* Added better USB Class driver overviews.Dean Camera2009-08-277-15/+45
|
* Added new "Common" section to the class drivers, to hold all ↵Dean Camera2009-08-2711-87/+165
| | | | | | mode-independant definitions for clarity. Moved SCSI command/sense constants into the Mass Storage Class driver, instead of the user-code.
* Added extra note about missing OUT endpoint configuration to the HID Device ↵Dean Camera2009-08-271-0/+4
| | | | | | mode Class driver. Added pinout information to the AVRISP project.
* Fixed Device mode HID Class driver always sending IN reports, even when no ↵Dean Camera2009-08-272-3/+4
| | | | data is to be reported.
* Minor documentation fixes to the completed Host mode Class drivers.Dean Camera2009-08-274-7/+13
|
* Completed initial Host mode Mass Storage class driver.Dean Camera2009-08-272-10/+271
|
* Added MS_Host_TestUnitReady() and MS_Host_ReadDeviceCapacity() to the host ↵Dean Camera2009-08-262-13/+137
| | | | mode Mass Storage Class driver.
* Add SCSICodes.h to the Class Driver Common folder, and automatically include ↵Dean Camera2009-08-264-4/+133
| | | | it in both the Host and Device Mass Storage Class drivers. Delete existing version from the ClassDriver MassStorage device demo's /Lib/ folder.
* Oops: Really disable building of Projects/Host/ClassDriver directory in the ↵Dean Camera2009-08-264-16/+56
| | | | | | | | 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.
* More work on the Mass Storage Host mode Class driver.Dean Camera2009-08-2611-79/+405
| | | | | | Added ATTR_NON_NULL_PTR_ARG() attributes to the class drivers to improve user code reliability by disallowing explicit NULL pointers as pointer parameters in function calls where the parameter must not be NULL. Disabled building of the Demos/Host/ClassDriver directory until Host Mode Class drivers are complete to prevent build errors in the meantime.
* Optimized Endpoint_Read_Word_* and Pipe_Read_Word_* macros to reduce ↵Dean Camera2009-08-253-16/+33
| | | | | | compiled size. Fixed Programmer's Notepad project file to reflect new location of AVRISP project.
* Fixed AVRISP V2 Protocol handler for the READ_FLASH_ISP and READ_EEPROM_ISP ↵Dean Camera2009-08-251-1/+3
| | | | handler - can now correctly read back device data. Programming command handler is still broken, although first page is written correctly to FLASH in paged write mode.
* Updated Benito project -- added hardware interrupt and software buffering ↵Dean Camera2009-08-251-0/+3
| | | | | | | | for serial data reception to prevent missed characters, condensed pulse generation counters into a struct for clarity. Added check to CDC_Device_BytesReceived() to ensure 0 is returned when device is not enumerated to a host. Move AVRISP project's V2Protocol_DelayMS() function to be static inline, as it is now very minimal. Added extra project doxygen documentation.
* Moved out target-related V2 protocol commands into a seperate file for the ↵Dean Camera2009-08-231-0/+1
| | | | | | AVRISP project. Added Load Extended Command functionality to the LOAD ADDRESS V2 Protocol command handler for devices with more than 64KB of memory.
* Fixed AVRISP programmer demo -- can now connect to a target and read/write ↵Dean Camera2009-08-234-14/+32
| | | | | | | | Sig/Lock/Fuse/OSCCAL bytes successfully. Changed SPI_Init() to allow for the clock polarity and data sample modes to be set. Changed Dataflash_Init() to no longer call SPI_Init() automatically.
* Added V2Protocol handlers to the AVRISP project to enter/exit programming ↵Dean Camera2009-08-236-4/+38
| | | | | | mode, and read/write fuses, lockbits, OSCCAL and Signature bytes. Added ShutDown functions for all hardware peripheral drivers, so that peripherals can be turned off after use.
* Add LOAD ADDRESS command parsing to the V2 Protocol hander in the AVRISP ↵Dean Camera2009-08-203-22/+22
| | | | | | project. Fix up references to functions in the Endpoint/Pipe documentation.
* Corrections to the unfinished AVRISP Programmer project to allow AVRStudio ↵Dean Camera2009-08-191-0/+1
| | | | to connect to it.
* Fixed invalid data being returned when a GetStatus request is issued in ↵Dean Camera2009-08-181-0/+2
| | | | | | 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 beginnings of a new AVRISP-MKII clone project.Dean Camera2009-08-175-4/+15
| | | | | | 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.
* Added return values to the CDC and MIDI class driver transmit functions.Dean Camera2009-08-166-25/+44
|
* Fix misspelt event name in the Class driver USBtoSerial demo, preventing ↵Dean Camera2009-08-161-0/+3
| | | | correct operation.
* Added new EVENT_USB_Device_StartOfFrame() event, controlled by the new ↵Dean Camera2009-08-165-1/+40
| | | | USB_Device_EnableSOFEvents() and USB_Device_DisableSOFEvents() macros to give bus-synchronised millisecond interrupts when in USB device mode.
* Added explicit attribute masks to the device mode demos' descriptors.Dean Camera2009-08-131-2/+3
|
* Added CDC_Device_Flush() command to the CDC Device mode class driver.Dean Camera2009-08-139-24/+190
| | | | | | Minor updates to the unfinished SideShow demo for clarity. Added unfinished MassStorageHost class driver demo.
* Added flag to the HID report parser to indicate if a device has multiple ↵Dean Camera2009-08-115-24/+31
| | | | | | | | | | reports. SetIdle requests to the HID device driver with a 0 idle period (send changes only) now only affect the requested HID interface within the device, not all HID interfaces. Apply correct fix to the HID report parser for PUSH items - current HID item attribute stack was being copied in the wrong direction. Fixed HID report parser not resetting the FEATURE item count when a REPORT ID item is encountered.
* Add CDC Host class driver EVENT_CDC_Host_ControLineStateChanged() event.Dean Camera2009-08-113-3/+14
| | | | Minor documentation fixes.
* Document CDC Host class driver functions and enums.Dean Camera2009-08-112-1/+61
|
* Add new functions to the HID host class driver, refine HID interface ↵Dean Camera2009-08-114-18/+51
| | | | | | protocol matching. Remove stray state variable from the CDC host class driver.
* Fixed swapped paremeters in the HID state memory copy call while processing ↵Dean Camera2009-08-116-47/+51
| | | | | | | | | | a HID PUSH item in the HID report parser. Fixed memory corruption HID report parser when too many COLLECTION or PUSH items were processed. Make RNDIS device class driver include the CDC device class driver header, so that it can inherrit the required CDC functional descriptor macro. Make HID host class driver include the HID report parser.
* Completion of initial CDC host mode class driver.Dean Camera2009-08-113-9/+34
| | | | Adjustments to the CDC and MIDI device class drivers to use sizeof() on the actual variable being transmitted or received rather than its datatype to reduce possible mistakes.
* Fix issue in CDC device class driver where received data the size of the ↵Dean Camera2009-08-1111-10/+156
| | | | | | | | data endpoint could lock up the driver. Further work on the new CDC and HID host mode class drivers. Reset changelog et. al. to reset development information for the new version currently under development.
* Commit for the 090810 release.Dean Camera2009-08-091-1/+0
|
* Cleanups to RNDIS device demos. Fix issue in RNDIS demos where the memory ↵Dean Camera2009-08-071-11/+2
| | | | | | | | 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.
* Make Benito ping-pong LED code more explicit, using masks of the TX and RX ↵Dean Camera2009-08-072-7/+10
| | | | | | LED masks for ping-pong toggle rather than the ambiguous LED "Busy" mask. Fix incorrect event name in MassStorageHost.c.
* Make Endpoint control transfers more reliable; early-abort when an ↵Dean Camera2009-08-061-2/+11
| | | | | | 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.
* Fixed issue in USBtoSerial demos where the USART Rx line was not having its ↵Dean Camera2009-08-054-6/+1
| | | | | | | | pullup enabled at startup, leading to noise being received from the Rx pin when left floating. Removed unused relative Common.h header include from the DriverStubs board stub drivers. Fixed Benito programmer, use the correct LED functions where needed to ensure correct status display at all times.
* Make Control Endpoint stream transfers more reliable by adding in early ↵Dean Camera2009-08-054-31/+27
| | | | | | | | 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.