aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver
Commit message (Collapse)AuthorAgeFilesLines
* Fix a few more incorrectly ordered endpoint initialisations in the device demos.Dean Camera2010-12-173-9/+9
|
* Added ability to write protect Mass Storage disk write operations from the ↵Dean Camera2010-11-267-7/+85
| | | | host OS.
* Lower bulk endpoint polling rate in the descriptors to the lowest possible ↵Dean Camera2010-11-227-16/+16
| | | | value to give maximum throughput.
* Fixed incorrect PollingIntervalMS values in the demo/project/bootloader ↵Dean Camera2010-11-1014-27/+27
| | | | endpoint descriptors (thanks to MCS Electronics).
* Added board hardware driver support for the Adafruit U4 breakout board.Dean Camera2010-11-082-2/+2
| | | | | | Fixed calculation of timer register reload values derived from F_CPU; must subtract one from the division result for the compare value to be correct. Change AVRISP-MKII rescue clock speed to 4MHz to ensure that a 125KHz ISP speed works regardless of the target's fuses (i.e. DIV8 set).
* Renamed the EVENT_USB_Device_UnhandledControlRequest() event to ↵Dean Camera2010-11-0528-42/+42
| | | | EVENT_USB_Device_ControlRequest() as it is now fired before the library request handlers, not afterwards.
* Loop in the ClassDriver MIDI device/host demos until there are no more ↵Dean Camera2010-11-051-1/+1
| | | | incomming events to process. Only clear the endpoint/pipe bank in the LowLevel MIDI device/host demos when the endpoint is empty after an event read.
* Added standard keyboard HID report scancode defines (thanks to László Monda).Dean Camera2010-10-283-17/+17
|
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-2887-89/+89
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Changed AudioInput and AudioOutput demos to reload the next sample via an ↵Dean Camera2010-10-264-45/+38
| | | | interrupt rather than polling the sample timer.
* Add descriptor class, subclass and protocol constants to the class drivers, ↵Dean Camera2010-10-2515-144/+144
| | | | | | | | modify all demos to use them where possible. Move out private/internal host class driver constants to the common class driver headers, so that they can be used in the Low Level host mode demos. Ensure all demos, projects and bootloaders use the class driver constants where possible to minimise code repetition.
* All USB class drivers are now automatically included when LUFA/Drivers/USB.h ↵Dean Camera2010-10-2432-38/+0
| | | | | | is included, and no longer need to be seperately included. All LowLevel demos changed to use the constants and types defined in the USB class drivers.
* Added default test tone generation mode to the Device mode AudioInput demos.Dean Camera2010-10-204-13/+38
|
* Add missing ENDPOINT_ATTR_NO_SYNC and ENDPOINT_USAGE_DATA attributes to the ↵Dean Camera2010-10-131-3/+3
| | | | descriptors in the ClassDriver MassStorageKeyboard demo.
* Minor documentation corrections.Dean Camera2010-10-132-4/+4
|
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-13112-1986/+2094
| | | | tool made by Laszlo Monda
* Remove MIDI ClassDriver device demo's accidental inclusion of the unused ADC ↵Dean Camera2010-10-101-1/+0
| | | | peripheral driver header file.
* Oops - revert changes to the Device mode Class Driver VirtualSerial demo ↵Dean Camera2010-10-011-1/+1
| | | | makefile.
* Fix device mode for the U4 parts.Dean Camera2010-10-011-1/+1
|
* Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction ↵Dean Camera2010-09-3014-14/+14
| | | | | | | | | | on the configuration order instead to ensure maximum reliability. Altered all low level device and host mode demos to ensure that endpoints and pipes are configured in ascending order properly. Rewrote all low level host mode demos' configuration descriptor parser code to ensure that pipes are enumerated in ascending order, and to ensure maximum compatibility with devices. Incremented all device mode demo's device descriptor revision numbers to ensure that any descriptor changes are re-fetched on machines which have enumerated previous versions.
* Fix up incorrect version numbers in demo/project descriptors.Dean Camera2010-09-282-7/+7
| | | | Add class name prefixes to missed constants in the class drivers to give all class driver elements a consistent namespace.
* Move out many of the common class driver constants into grouped enums, to ↵Dean Camera2010-09-2824-170/+175
| | | | | | | | make them more managable. Add new CDC descriptor structs to the CDC class driver, so that the CDC demos can use human readable field names. Rename prefix for Still Image Host class driver functions from "SImage_" to "SI_" to remain consistent with the rest of the driver.
* Remove dfu-programmer program switches, to ensure maximum compatibility with ↵Dean Camera2010-09-2414-28/+28
| | | | all dfu-programmer versions.
* Added the --suppress-bootloader-mem option to the makefile dfu target, to ↵Dean Camera2010-09-2414-42/+42
| | | | | | | | ensure that writes to the bootloader section of the AVR's flash memory are ignored (thanks to Axel Rohde). Fixed incorrect command name for EEPROM memory programming in the makefile dfu-ee target. Makefile whitespace fixes.
* Ensure device address latch bit is not set at the same time as the new ↵Dean Camera2010-09-191-1/+1
| | | | | | | | address, as per datasheet. Minor documentation fixes. Fix broken USB host mode due to the USB frame counter not being updated during the early enumeration steps, causing USB_Host_DelayMS() to spinloop forever.
* Make project makefiles correctly clean intermeditary build files from ↵Dean Camera2010-09-1514-28/+28
| | | | assembly and C++ sources (thanks to Daniel Czigany).
* Fix typos in the project overview text files.Dean Camera2010-09-0910-10/+10
|
* Added class specific descriptor type defines with standard USB-IF element ↵Dean Camera2010-09-0920-90/+90
| | | | naming.
* Clarify in the project documentation files what the each of the different ↵Dean Camera2010-08-3116-57/+57
| | | | USB AVR device "series" comprises of.
* Changed the signature of the CALLBACK_USB_GetDescriptor() callback function ↵Dean Camera2010-08-2428-142/+157
| | | | so that the descriptor pointer is const, to remove the need for extra casting inside the callback (thanks to Jonathan Kollasch).
* Clarify in the documentation that the Audio demos and driver is for the ↵Dean Camera2010-08-212-8/+8
| | | | Audio 1.0 specification, not the newer (and more advanced/less supported) 2.0 specification.
* Remove unneccesary call to USB_Device_EnableSOFEvents() in the MassStorage ↵Dean Camera2010-08-212-4/+0
| | | | and MIDI Device Class demos.
* Fixed MassStorage based demos and projects resetting the SCSI sense values ↵Dean Camera2010-08-187-150/+109
| | | | | | before the command is executed, leading to missed SCSI sense values when the host retrieves the sense key (thanks to Martin Degelsegger). Added missing DataflashManager_CheckDataflashOperation() function to the MassStorageKeyboard demo, removed redundant SCSI_Codes.h file as these values are part of the MassStorage Class Driver.
* Removed complicated logic for the Endpoint_ConfigureEndpoint() function to ↵Dean Camera2010-08-0914-56/+66
| | | | | | use inlined or function called versions depending of if the given bank size is a compile time constant, as the compiler does a better job of optimizing with basic code. Changed over all device demos to use a clearer algorithm for the configuring of the application's endpoints.
* Fix invocations of avr-size in all makefiles broken on unpatched *nix ↵Dean Camera2010-08-0814-14/+56
| | | | systems, due to the recent update to the latest WinAVR makefile template.
* Hide the PROGMEM attribute from Doxygen, as it appears to confuse the parser ↵Dean Camera2010-08-0214-14/+28
| | | | in some situations.
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-3016-16/+16
| | | | EN-GB spelling dictionary.
* Fix typo in DualVirtualSerial.c due to the changed CDC Device APIs that was ↵Dean Camera2010-07-301-1/+1
| | | | preventing the demo from being compiled.
* Altered the CDC Deivice and Host Class drivers' receive byte routines, so ↵Dean Camera2010-07-303-8/+6
| | | | | | that no data is indicated by a negative return value. Added auto flushing of OUT data to the CDC Host Class driver's USBTask function to automatically flush the send pipe buffer.
* Spell check all source files once again to find any typos.Dean Camera2010-07-2922-148/+148
|
* Added support to the AVRISP-MKII project for ISP speeds slower than 125KHz ↵Dean Camera2010-07-292-2/+2
| | | | | | via a new software SPI driver. Added new SPI_ORDER_* data order masks to the SPI peripheral driver.
* Add missing INTERRUPT_CONTROL_ENDPOINT compile time option to the Mass ↵Dean Camera2010-07-262-0/+2
| | | | | | Storage device projects/demos and incomplete Test and Measurement Class demo, which was accidentally removed during the makefile updates. Alter Test and Measurement Class demo's request handlers to accept, process and correctly return the fields indicated in the specification.
* Add stream callback flags and class specific control request handler code to ↵Dean Camera2010-07-261-2/+2
| | | | | | the incomplete Test and Measurement Class device demo. Change over the keyboard demo's manufacturer name back to the primary author of the demo.
* Fix up minor whitespace formatting errors.Dean Camera2010-07-227-7/+7
|
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-2167-153/+353
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Add missing const qualifiers to class drivers.Dean Camera2010-07-218-32/+32
| | | | Indent core library function parameters so that there is only one parameter per line, to increase readability.
* Update makefiles to use the latest WinAVR/Atmel toolchain makefile template.Dean Camera2010-07-1920-875/+598
| | | | Add new module source variables to the library core makefile, so that module sources can be added to a project's makefile on a per-module rather than per-file basis.
* Change over all makefiles to use C99 standards mode, rather than C99 + GNU ↵Dean Camera2010-07-1815-21/+15
| | | | Extensions.
* Disable strict aliasing explicitly in the project makefiles, as this is ↵Dean Camera2010-07-1516-5/+19
| | | | apparently enabled by default in newer AVR-GCC builds, and aliasing is used heavily for type-punning through the LUFA and third party library's codebase.
* Removed the automated checking of event names in the demo, project and ↵Dean Camera2010-07-1514-235/+84
| | | | | | bootloader makefiles due to inconsistancies between the behaviour of the command line tools used to perform the check on each platform. Removed the internal endpoint and pipe memory allocation macros, as this is already performed directly in the code. Simplify the endpoint and pipe reset procedure.