aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-231-10/+0
| | | | 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-203-5/+5
| | | | when the given data length is zero.
* Fixed LowLevel Keyboard demo not saving the issued report only after it has ↵Dean Camera2009-11-202-11/+24
| | | | | | been written to the endpoint. Added support for multiple keyboard keycodes in a single report to the LowLevel and ClassDriver Keyboard demos.
* 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-151-12/+4
| | | | driver.
* Corrections, improvements and additions to the incomplete RNDISHost demo.Dean Camera2009-11-134-12/+13
| | | | 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-111-2/+2
|
* 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-095-6/+6
|
* 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-041-11/+11
| | | | | | 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-0311-2/+3193
| | | | 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-1811-3278/+0
| | | | CDC demo. Added const qualifier to Endpoint/Pipe stream write routines.
* Fix invalid Event name rule in demo/project makefiles.Dean Camera2009-10-1613-24/+24
|
* Fix AudioOutput and AudioInput class driver demos' descriptors -- incorrect ↵Dean Camera2009-10-144-4/+2
| | | | 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-1216-131/+70
| | | | 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-082-2/+0
|
* Fix broken Endpoint/Pipe stream templates.Dean Camera2009-10-041-17/+10
| | | | 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-032-10/+9
| | | | | | 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-022-52/+28
|
* Removed mostly useless "TestApp" demo, as it was mainly useful only for ↵Dean Camera2009-09-301-3/+8
| | | | | | | | 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-221-2/+4
| | | | 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-223-29/+36
| | | | 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.
* Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out ↵Dean Camera2009-09-0913-26/+13
| | | | | | 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-091-1/+1
|
* Remove information about 64 bit Windows OS signing requirements for the CDC ↵Dean Camera2009-09-073-21/+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-0613-392/+612
| | | | | | | | 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-063-0/+21
| | | | based projects.
* Changed Still Image Host class driver to auto-fill TransactionID element of ↵Dean Camera2009-09-063-94/+246
| | | | | | | | sent headers depending on the current session state. CDC based demos and project now work under 64 bit versions of Windows (thanks to Ronny Hanson, Thomas Bleeker). The Benito Programmer project now has its own unique VID/PID pair allocated from the Atmel donated LUFA VID/PID pool.
* Move check for devices not supporting internal serials in demos which make ↵Dean Camera2009-09-018-16/+48
| | | | use of USE_INTERNAL_SERIAL to Descriptors.c from Descriptors.h so that the warning is only generated at most once per compilation.
* Remove deleted source files from the Device mode Class driver demos to ↵Dean Camera2009-08-303-3/+0
| | | | enable them to be built.
* Replace -finline-limit with -fno-inline-small-functions in project makefiles.Dean Camera2009-08-3013-13/+13
|
* Add SCSICodes.h to the Class Driver Common folder, and automatically include ↵Dean Camera2009-08-262-86/+0
| | | | it in both the Host and Device Mass Storage Class drivers. Delete existing version from the ClassDriver MassStorage device demo's /Lib/ folder.
* Fixed AVRISP programmer demo -- can now connect to a target and read/write ↵Dean Camera2009-08-231-1/+2
| | | | | | | | 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.
* Fix misspelt event name in the Class driver USBtoSerial demo, preventing ↵Dean Camera2009-08-161-1/+1
| | | | correct operation.
* Fix USBtoSerial device demos -- ensure the UDR1 register contents is read in ↵Dean Camera2009-08-161-1/+3
| | | | under all circumstances which fire the ISR, so that the receive complete interrupt is cleared correctly to prevent freezes.
* Added new EVENT_USB_Device_StartOfFrame() event, controlled by the new ↵Dean Camera2009-08-1610-43/+26
| | | | USB_Device_EnableSOFEvents() and USB_Device_DisableSOFEvents() macros to give bus-synchronised millisecond interrupts when in USB device mode.
* Adjust endpoint polling intervals for HID demos, to make them compliant with ↵Dean Camera2009-08-135-6/+6
| | | | the 10ms minimum polling period for Low Speed devices.
* Added explicit attribute masks to the device mode demos' descriptors.Dean Camera2009-08-1310-23/+23
|