Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix MIT license language to make its intent clearer. | Dean Camera | 2009-12-28 | 73 | -511/+511 |
| | |||||
* | Ensure that unsupported SetFeature/ClearFeature request targets cause a ↵ | Dean Camera | 2009-12-21 | 3 | -7/+16 |
| | | | | STALL back to the host. | ||||
* | Added new NO_DEVICE_SELF_POWER and NO_DEVICE_REMOTE_WAKEUP compile time options. | Dean Camera | 2009-12-20 | 6 | -28/+63 |
| | |||||
* | Fixed USB_CurrentMode not being reset to USB_MODE_NONE when the USB ↵ | Dean Camera | 2009-12-18 | 1 | -1/+1 |
| | | | | interface is shut down and both Host and Device modes can be used (thanks to Daniel Levy). | ||||
* | Un-inline the SendAddress function in NVMTarget.c/.h of the AVRISP project. | Dean Camera | 2009-12-17 | 4 | -17/+20 |
| | | | | Add new HotmailNotifier project, which changes a LED's colour based on the user's unread email count as sent from Windows Live Messenger. | ||||
* | The SImage_Host_SendBlockHeader() and SImage_Host_ReceiveBlockHeader() Still ↵ | Dean Camera | 2009-12-16 | 2 | -7/+22 |
| | | | | Image Host Class driver functions are now public. | ||||
* | Fix a bug in the Still Image Host Class driver where the returned block ↵ | Dean Camera | 2009-12-15 | 1 | -2/+0 |
| | | | | | | status code was being truncated. Add programming support to the AVRISP project's PDI programming mode; paged memory writes are not currently functional. | ||||
* | Test with -Wextra, fix library warnings due to unused function parameters. | Dean Camera | 2009-12-13 | 10 | -11/+22 |
| | |||||
* | Oops - wrong casting on the Configuration Descriptor pointer advance routine. | Dean Camera | 2009-12-13 | 1 | -1/+1 |
| | |||||
* | Use -pedantic compile time option to find and correct several minor code errors. | Dean Camera | 2009-12-13 | 4 | -32/+32 |
| | |||||
* | Fix inverted bit-banged USART logic in the AVRISP project for PDI ↵ | Dean Camera | 2009-12-09 | 1 | -1/+1 |
| | | | | 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. | ||||
* | Fix incorrect definition of Endpoint_BytesInEndpoint() for the U4 parts. | Dean Camera | 2009-12-09 | 1 | -2/+4 |
| | |||||
* | Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵ | Dean Camera | 2009-12-09 | 5 | -10/+12 |
| | | | | | | | | (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.). | ||||
* | Add new USB_Host_GetDeviceStringDescriptor() convenience function. | Dean Camera | 2009-12-06 | 2 | -0/+32 |
| | |||||
* | Fixed Mass Storage Host Class driver and Low Level demo not clearing the ↵ | Dean Camera | 2009-12-04 | 2 | -2/+9 |
| | | | | error condition if an attached device returns a STALL to a GET MAX LUN request (thanks to Martin Luxen). | ||||
* | Fix double oops -- Host mode settle delay was still being ignored due to ↵ | Dean Camera | 2009-12-04 | 2 | -4/+4 |
| | | | | 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. | ||||
* | Oops - fix Host mode pre-enumeration settle delay being ignored leading to ↵ | Dean Camera | 2009-12-04 | 1 | -2/+0 |
| | | | | failure to enumerate certain devices. | ||||
* | Fix incorrect const'ness of the ReportItem parameter in ↵ | Dean Camera | 2009-12-04 | 2 | -2/+2 |
| | | | | USB_SetHIDReportItemInfo(). | ||||
* | Fixed HID Parser not distributing the Usage Min and Usage Max values across ↵ | Dean Camera | 2009-12-04 | 2 | -9/+38 |
| | | | | | | | | an array of report items. Added new HID_ALIGN_DATA() macro to return the pre-retrieved value of a HID report item, left-aligned to a given datatype. Added new PreviousValue to the HID Report Parser report item structure, for easy monitoring of previous report item values. | ||||
* | Added CDC_Host_Flush() function to the CDC Host Class driver to flush sent ↵ | Dean Camera | 2009-11-30 | 3 | -0/+51 |
| | | | | data to the attached device. | ||||
* | Fixed USB driver failing to define the PLL prescaler mask for the ATMEGA8U2 ↵ | Dean Camera | 2009-11-29 | 3 | -21/+20 |
| | | | | | | and ATMEGA16U2. Simplified the USB.h master include file's target validity checks. | ||||
* | Add to the existing CDC Class Driver's CreateStream() function documentation ↵ | Dean Camera | 2009-11-29 | 2 | -2/+4 |
| | | | | to explicitly state that the created streams are bidirectional. | ||||
* | Better checking of whether a packet is received in the RNDISEthernetHost ↵ | Dean Camera | 2009-11-27 | 1 | -4/+4 |
| | | | | Class driver demo - show busy LED status while packets are being printed out. | ||||
* | Complete RNDIS Host Class driver code - add SendPacket function. | Dean Camera | 2009-11-26 | 3 | -2/+56 |
| | | | | Correct CDC Host Class driver token handling for sending data on bidirectional data endpoints. | ||||
* | Remove documentation of deleted parameters from the RNDIS Host Class ↵ | Dean Camera | 2009-11-26 | 1 | -2/+0 |
| | | | | driver's device Initialize function. | ||||
* | Fix RNDIS Device Class driver - RNDISConstants.h has moved out to the Common ↵ | Dean Camera | 2009-11-26 | 1 | -1/+0 |
| | | | | Class driver directory. | ||||
* | Added new RNDIS Host class driver and the beginnings of a RNDISEthernetHost ↵ | Dean Camera | 2009-11-26 | 16 | -44/+769 |
| | | | | | | | | 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. | ||||
* | Fix typo in the StillImageHost LowLevel demo, and the CDC Host Class Driver. | Dean Camera | 2009-11-25 | 1 | -2/+2 |
| | |||||
* | Fix build and Doxygen errors. | Dean Camera | 2009-11-25 | 1 | -2/+2 |
| | |||||
* | Added new RNDISHost Host LowLevel demo. Fixed misnamed Pipe_SetPipeToken() ↵ | Dean Camera | 2009-11-25 | 6 | -21/+66 |
| | | | | macro for setting a pipe's direction. Fixed CDCHost failing on devices with bidirectional endpoints. | ||||
* | Added new XPLAIN serial Bridge project (thanks to John Steggall for the ↵ | Dean Camera | 2009-11-25 | 1 | -1/+1 |
| | | | | software UART code). | ||||
* | Fixed host state machine not enabling Auto VBUS mode when ↵ | Dean Camera | 2009-11-24 | 1 | -5/+6 |
| | | | | HOST_DEVICE_SETTLE_DELAY_MS is set to zero. | ||||
* | Fixed broken USB_GetNextDescriptor() function causing the descriptor to jump ↵ | Dean Camera | 2009-11-24 | 2 | -4/+4 |
| | | | | | | ahead double the expected amount. Fixed Pipe_IsEndpointBound() not masking the given Endpoint Address against PIPE_EPNUM_MASK. | ||||
* | Fixed misnamed SI_Host_USBTask() and SI_Host_ConfigurePipes() functions. | Dean Camera | 2009-11-23 | 3 | -7/+7 |
| | |||||
* | Added new ReportType parameter to the HID Device Class driver ↵ | Dean Camera | 2009-11-23 | 2 | -5/+8 |
| | | | | CALLBACK_HID_Device_CreateHIDReport() callback to indicate the report type to generate. | ||||
* | Fixed incorrect values for REPORT_ITEM_TYPE_* enum values causing corrupt ↵ | Dean Camera | 2009-11-23 | 1 | -3/+3 |
| | | | | data in the HID Host Parser. | ||||
* | The incomplete StandaloneProgrammer project now uses Host and Device Mass ↵ | Dean Camera | 2009-11-23 | 5 | -73/+124 |
| | | | | | | | | | | | | 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. | ||||
* | Fixed Endpoint_Write_Control_Stream_* functions not sending a terminating IN ↵ | Dean Camera | 2009-11-20 | 2 | -1/+6 |
| | | | | when the given data length is zero. | ||||
* | Fix doxygen documentation - doxygen was getting confused on the ↵ | Dean Camera | 2009-11-17 | 20 | -51/+65 |
| | | | | variable-length ATTR_NON_NULL_PTR_ARG() macro used on function prototypes and was generating many return types for several functions in the documentation (thanks to David Lyons). | ||||
* | Make RNDISHost demo validate the set Packet Filter to ensure that it is ↵ | Dean Camera | 2009-11-17 | 1 | -5/+5 |
| | | | | | | being sent correctly. Add new (incomplete) StandaloneProgrammer project, using the ELM Petite FAT library to read files stored on the board's dataflash by the host. | ||||
* | Fixed HOST_STATE_AS_GPIOR being ignored whilst in Host mode (thanks to David ↵ | Dean Camera | 2009-11-16 | 2 | -4/+9 |
| | | | | Lyons). | ||||
* | Fix incorrect compiler error message when F_CLOCK is not defined by the user ↵ | Dean Camera | 2009-11-15 | 1 | -1/+1 |
| | | | | (thanks to Dave Lyons). | ||||
* | Cleanups to the MassStorage Device demos, and the MassStorage Device Class ↵ | Dean Camera | 2009-11-15 | 2 | -25/+39 |
| | | | | driver. | ||||
* | Corrections, improvements and additions to the incomplete RNDISHost demo. | Dean Camera | 2009-11-13 | 2 | -1/+10 |
| | | | | 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. | ||||
* | Corrected the name of the misnamed USB_GetDeviceConfigDescriptor() function ↵ | Dean Camera | 2009-11-13 | 2 | -5/+5 |
| | | | | to USB_Host_GetDeviceConfigDescriptor(). | ||||
* | Add blocking versions of the CDC Class driver streams, for applications ↵ | Dean Camera | 2009-11-12 | 4 | -0/+51 |
| | | | | requiring blocking reads. | ||||
* | Add beginnings of a RNDIS Ethernet Host demo. | Dean Camera | 2009-11-12 | 2 | -24/+22 |
| | |||||
* | Minor code cleanups for clarity. | Dean Camera | 2009-11-11 | 1 | -15/+12 |
| | |||||
* | Update CDC Class Driver character stream functions to use the correct ↵ | Dean Camera | 2009-11-10 | 10 | -43/+41 |
| | | | | | | 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. | ||||
* | Added new stream creation function to the CDC Class drivers, to easily make ↵ | Dean Camera | 2009-11-10 | 4 | -0/+72 |
| | | | | standard streams from CDC Class driver instances. |