aboutsummaryrefslogtreecommitdiffstats
path: root/Demos
Commit message (Collapse)AuthorAgeFilesLines
* Update Doxygen configuration files to the latest Doxygen version.Dean Camera2010-01-0650-31550/+35450
|
* Added support to the MIDI Class drivers for packed data, where multiple MIDI ↵Dean Camera2010-01-054-2/+4
| | | | events are packed into a single USB packet. Added new MIDI Class driver flush routines to override packing behaviour.
* Fix MassStorageKeyboard demo USE_INTERNAL_SERIAL check being performed ↵Dean Camera2010-01-042-6/+14
| | | | | | before the required library headers were included, causing a compilation error. Added notes to the class driver functions indicating which functions require what Device/Host state machine states to function.
* Clean up MassStorageKeyboard demo.Dean Camera2010-01-034-30/+17
|
* Update copyright year to 2010.Dean Camera2009-12-30288-579/+579
|
* Fix TemperatureDataLogger - sample tick timer wasn't being initialized in ↵Dean Camera2009-12-302-16/+11
| | | | the correct CTC mode.
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-28279-1967/+1967
|
* Test with -Wextra, fix library warnings due to unused function parameters.Dean Camera2009-12-131-1/+1
|
* Use -pedantic compile time option to find and correct several minor code errors.Dean Camera2009-12-133-20/+20
|
* Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵Dean Camera2009-12-0948-102/+104
| | | | | | | | (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.).
* Make sure that USB_STREAM_TIMEOUT_MS is set in the MassStorageHost ↵Dean Camera2009-12-082-1/+2
| | | | | | ClassDriver demo, so that slow devices don't time out the data pipe. Increase pipe timeout in both MassStorageHost demos to 5 seconds to account for the really slow devices. Fix TeensyHID bootloader not properly shutting down the USB interface to trigger a disconnection on the host before resetting the AVR.
* Fix newly renamed VirtualSerial demos' include filename references so that ↵Dean Camera2009-12-0715-37/+37
| | | | they compile.
* Additional file renames and modifications to change CDC demos to VirtualSerial.Dean Camera2009-12-0744-40/+40
|
* Rename CDC demos to VirtualSerial.Dean Camera2009-12-0752-0/+0
|
* Fixed Mass Storage Host Class driver and Low Level demo not clearing the ↵Dean Camera2009-12-041-2/+9
| | | | error condition if an attached device returns a STALL to a GET MAX LUN request (thanks to Martin Luxen).
* Fixed HID Parser not distributing the Usage Min and Usage Max values across ↵Dean Camera2009-12-042-2/+2
| | | | | | | | 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 Camera2009-11-301-0/+2
| | | | data to the attached device.
* Better checking of whether a packet is received in the RNDISEthernetHost ↵Dean Camera2009-11-272-6/+12
| | | | Class driver demo - show busy LED status while packets are being printed out.
* Make the RNDISEthernetHost Class driver demo print out incomming packets ↵Dean Camera2009-11-262-1/+20
| | | | from the attached RNDIS device.
* Make MIDI device demos also turn off the on board LEDs if MIDI Note On ↵Dean Camera2009-11-262-3/+4
| | | | messages are sent with a velocity of zero, which some devices use instead of Note Off messages (thanks to Robin Green).
* Added new RNDIS Host class driver and the beginnings of a RNDISEthernetHost ↵Dean Camera2009-11-2610-23/+2626
| | | | | | | | 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 Camera2009-11-251-1/+1
|
* Fix more Doxygen errors from missing parameter documentation.Dean Camera2009-11-251-0/+1
|
* Fix build and Doxygen errors.Dean Camera2009-11-2510-7/+14
|
* Added new RNDISHost Host LowLevel demo. Fixed misnamed Pipe_SetPipeToken() ↵Dean Camera2009-11-2514-52/+1668
| | | | macro for setting a pipe's direction. Fixed CDCHost failing on devices with bidirectional endpoints.
* Make the StandaloneProgrammer project seamlessly read out drive contents ↵Dean Camera2009-11-241-1/+1
| | | | from either an attached FAT formatted drive when in host mode, or the onboard FAT formatted dataflash when in device mode.
* Fixed misnamed SI_Host_USBTask() and SI_Host_ConfigurePipes() functions.Dean Camera2009-11-231-3/+3
|
* Added new ReportType parameter to the HID Device Class driver ↵Dean Camera2009-11-2317-16/+21
| | | | CALLBACK_HID_Device_CreateHIDReport() callback to indicate the report type to generate.
* Fixed incorrect values for REPORT_ITEM_TYPE_* enum values causing corrupt ↵Dean Camera2009-11-233-63/+11
| | | | data in the HID Host Parser.
* The incomplete StandaloneProgrammer project now uses Host and Device Mass ↵Dean Camera2009-11-231-61/+0
| | | | | | | | | | | | 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.
* Removed code to zero reports between two keyboard reports with differing ↵Dean Camera2009-11-232-21/+2
| | | | number of pressed keys, as this relied on non-standard OS behaviour.
* Fixed Endpoint_Write_Control_Stream_* functions not sending a terminating IN ↵Dean Camera2009-11-204-7/+7
| | | | when the given data length is zero.
* Fixed LowLevel Keyboard demo not saving the issued report only after it has ↵Dean Camera2009-11-209-33/+64
| | | | | | been written to the endpoint. Added support for multiple keyboard keycodes in a single report to the LowLevel and ClassDriver Keyboard demos.
* Fix doxygen documentation - doxygen was getting confused on the ↵Dean Camera2009-11-171-1/+1
| | | | 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 Camera2009-11-175-7/+24
| | | | | | 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.
* Cleanups to the MassStorage Device demos, and the MassStorage Device Class ↵Dean Camera2009-11-154-36/+24
| | | | driver.
* Corrections, improvements and additions to the incomplete RNDISHost demo.Dean Camera2009-11-139-57/+78
| | | | 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 Camera2009-11-1324-35/+35
| | | | to USB_Host_GetDeviceConfigDescriptor().
* Extend incomplete RNDISHost demo -- can not enumerate a RNDIS device ↵Dean Camera2009-11-135-14/+186
| | | | correctly and set the packet filter. No packets are received yet from the test device, need to investigate additional SET commands to see if any critical OIDs have been missed.
* Add beginnings of a RNDIS Ethernet Host demo.Dean Camera2009-11-128-0/+1806
|
* Minor code cleanups for clarity.Dean Camera2009-11-112-4/+4
|
* Added new stream creation function to the CDC Class drivers, to easily make ↵Dean Camera2009-11-103-44/+13
| | | | standard streams from CDC Class driver instances.
* Spell check all source code variables, comments and strings.Dean Camera2009-11-0924-26/+26
|
* Fixed HID host Class driver report send/receive report broken when issued ↵Dean Camera2009-11-092-2/+0
| | | | | | | | through the control pipe. Make Mass Storage device Class driver accept resets at any time, rather than just after a command block has been processed. Remove the HID device parser from the boot protocol Keyboard/Mouse demos.
* Remove dependancies from the LowLevel demos to the ClassDriver demos, since ↵Dean Camera2009-11-084-6/+20
| | | | the use of ClassDriver headers now outputs an error when NO_STREAM_CALLBACKS is used.
* Make Low Level host demos use void pointers for the configuration ↵Dean Camera2009-11-0712-12/+12
| | | | | | descriptor, to prevent warnings when passed to the altered configuration descriptor parsing routines. Added preprocessor checks to give a human readable error when the class drivers are used when the incompatible NO_STREAM_CALLBACKS compile time option is used.
* Add optional pipe double banking support to the Host mode Class drivers.Dean Camera2009-11-079-0/+29
| | | | 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.
* Add double banking property to LUFA powered projects in the Projects ↵Dean Camera2009-11-061-3/+8
| | | | directory. Add guards to macro parameters to ensure that formulas passed as parameters don't mess up the internal macro structure.
* Add optional double-banking support to the Device mode Class Drivers, on a ↵Dean Camera2009-11-0613-107/+136
| | | | per-endpoint, per-interface level.
* Added new Printer Host mode Class driver.Dean Camera2009-11-048-6/+2588
| | | | | | Added new Printer Host mode ClassDriver demo. Added table of supported classes and modes to the main USB Class Driver documentation.