aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device
Commit message (Collapse)AuthorAgeFilesLines
* Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵Dean Camera2009-12-0922-69/+71
| | | | | | | | (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.).
* Fix newly renamed VirtualSerial demos' include filename references so that ↵Dean Camera2009-12-0710-25/+25
| | | | they compile.
* Additional file renames and modifications to change CDC demos to VirtualSerial.Dean Camera2009-12-0732-28/+28
|
* Rename CDC demos to VirtualSerial.Dean Camera2009-12-0740-0/+0
|
* 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-261-2/+15
| | | | | | | | 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 build and Doxygen errors.Dean Camera2009-11-257-0/+7
|
* Added new ReportType parameter to the HID Device Class driver ↵Dean Camera2009-11-2314-14/+14
| | | | 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-231-61/+0
| | | | 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-206-30/+61
| | | | | | 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-172-5/+4
| | | | | | 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-152-28/+22
| | | | driver.
* Corrections, improvements and additions to the incomplete RNDISHost demo.Dean Camera2009-11-136-18/+19
| | | | 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.
* 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-102-22/+13
| | | | standard streams from CDC Class driver instances.
* Spell check all source code variables, comments and strings.Dean Camera2009-11-0914-15/+15
|
* Remove dependancies from the LowLevel demos to the ClassDriver demos, since ↵Dean Camera2009-11-082-4/+2
| | | | the use of ClassDriver headers now outputs an error when NO_STREAM_CALLBACKS is used.
* Add optional double-banking support to the Device mode Class Drivers, on a ↵Dean Camera2009-11-0612-102/+130
| | | | per-endpoint, per-interface level.
* Added new JoystickHostWithParser demos to the library.Dean Camera2009-11-041-0/+1
| | | | Add some missing documentation to some of the library demos.
* Update DevChapter9.c - use the Endpoint_ClearStatusStage() function where ↵Dean Camera2009-11-042-22/+22
| | | | | | 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 CDCMouse ClassDriver device demo, combining a CDC Virtual Serial ↵Dean Camera2009-11-0313-4/+3195
| | | | Port and a HID Mouse.
* Make HID device class driver ignore the previous HID report comparison ↵Dean Camera2009-10-261-18/+18
| | | | buffer when the user sets it to NULL, disabling automatic report comparisons. Update HID device class driver documentation giving previous report buffer limitations.
* Moved USBtoSerial demo the Projects directory, as it is simply an expanded ↵Dean Camera2009-10-1823-6825/+0
| | | | CDC demo. Added const qualifier to Endpoint/Pipe stream write routines.
* Fix invalid Event name rule in demo/project makefiles.Dean Camera2009-10-1627-44/+44
|
* Fix AudioOutput and AudioInput class driver demos' descriptors -- incorrect ↵Dean Camera2009-10-145-5/+3
| | | | value was being supplied in the audio descritors field giving the number of discrete audio formats the device supports.
* Make Audio device demos compatible with AVRs running at 16MHz instead of 8MHz.Dean Camera2009-10-1231-251/+135
| | | | Fix up demo documentation device compatibility list to be as general as possible to reduce changes required as Atmel releases more devices within the same USB AVR series.
* Add new MIDI Host Class driver to the library, and new MIDIHost ClassDriver ↵Dean Camera2009-10-082-4/+4
| | | | | | demo. Make MouseHost and KeyboardHost ClassDriver demos use the HID Class driver's structures for the boot protocol Mouse/Keyboard report data, rather than rolling their own.
* Application documentation/comment cleanup.Dean Camera2009-10-0816-22/+15
|
* Add new MIDIHost LowLevel demo application.Dean Camera2009-10-081-2/+2
| | | | Make unfinished device mode applications use the VID/PID reserved for LUFA development devices.
* Fix broken Endpoint/Pipe stream templates.Dean Camera2009-10-042-38/+24
| | | | Simplify AudioOutput demos, to reduce the number of cycles needed to process each incomming sample.
* Changed Audio Class driver sample read/write functions to be inline, to ↵Dean Camera2009-10-033-20/+17
| | | | | | reduce the number of cycles needed to transfer samples to and from the device (allowing more time for processing and output). Fixed ClassDriver AudioOutput demo not selecting an audio output mode.
* Cleanups to the Device mode Mass Storage demo applications' SCSI routines.Dean Camera2009-10-025-115/+61
|
* Removed mostly useless "TestApp" demo, as it was mainly useful only for ↵Dean Camera2009-09-302-5/+29
| | | | | | | | 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.
* Add new error condition to the HID Report Parser for when a report is parsed ↵Dean Camera2009-09-222-4/+8
| | | | but no unfiltered items are encountered (i.e. nothing of interest in the device report). Make all host HID "WithParser" demos print the new error condition.
* Move Dataflash operational checking code out from SCSI.c into the ↵Dean Camera2009-09-226-58/+74
| | | | DataflashManager.c in the Device mode Mass Storage demos.
* Finish initial draft of the Host Mode HID Class driver.Dean Camera2009-09-214-4/+4
| | | | Add new MouseHostWithParser and KeyboardHostWithParser Host Class driver demos.
* Added new MassStorageKeyboard Device Class Driver demo (thanks to Matthias ↵Dean Camera2009-09-2116-2/+4190
| | | | Hullin).
* Fix broken KeyboardMouse ClassDriver device demo - use internal HID Class ↵Dean Camera2009-09-211-21/+0
| | | | Driver structures for boot protocol reports.
* Remove type definitions of the keyboard and mouse boot protocol report ↵Dean Camera2009-09-202-22/+0
| | | | layouts from the Device Class Driver demos, as they are now located inside the class driver.
* Added new Pipe_IsFrozen() macro to determine if the currently selected pipe ↵Dean Camera2009-09-205-6/+6
| | | | | | | | 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.
* Fixed Low Level USBtoSerial demo not storing received characters (thanks to ↵Dean Camera2009-09-131-1/+1
| | | | Michael from DirectAid.ca).
* Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out ↵Dean Camera2009-09-0927-54/+27
| | | | | | 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.
* Add Host mode Class driver demo summaries.Dean Camera2009-09-092-2/+2
|
* Remove information about 64 bit Windows OS signing requirements for the CDC ↵Dean Camera2009-09-076-42/+0
| | | | based demos -- apparently the native CDC driver can be installed without first disabling the OS's driver signing requirements.
* Add in new invalid event hook check targets to project makefiles to produce ↵Dean Camera2009-09-0627-813/+1271
| | | | | | | | compilation errors when invalid event names are used in a project. Re-add in flip, flip-ee, dfu and dfu-ee targets to project makefiles (thanks to Opendous Inc.) Fix allowable F_CPU values comment in project makefiles.
* Added 64 bit OS driver installation instructions to the readme for all CDC ↵Dean Camera2009-09-066-0/+42
| | | | based projects.