aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device
Commit message (Collapse)AuthorAgeFilesLines
...
* Loop in the ClassDriver MIDI device/host demos until there are no more ↵Dean Camera2010-11-052-3/+7
| | | | 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.
* Fix XPLAINBridge code broken during the changes to the Rescue Clock ↵Dean Camera2010-11-021-1/+1
| | | | | | generation in the AVRISP-MKII clone project. Change over all low level host mode project's descriptor comparator routines to perform the descriptor casting in a temp variable to make the code clearer and easier to modify (despite being more verbose).
* Added standard keyboard HID report scancode defines (thanks to László Monda).Dean Camera2010-10-285-28/+28
|
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-28180-183/+183
| | | | 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-268-110/+85
| | | | interrupt rather than polling the sample timer.
* Add descriptor class, subclass and protocol constants to the class drivers, ↵Dean Camera2010-10-2528-256/+255
| | | | | | | | 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-2483-1901/+258
| | | | | | 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-208-24/+74
|
* 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-134-13/+13
|
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-13231-4350/+4573
| | | | 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
|
* Fix incorrectly named configuration descriptor callback routines in the host ↵Dean Camera2010-09-301-1/+1
| | | | | | mode class drivers. Fix typo in MIDI low level device demo.
* Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction ↵Dean Camera2010-09-3036-57/+57
| | | | | | | | | | 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-289-15/+15
| | | | Add class name prefixes to missed constants in the class drivers to give all class driver elements a consistent namespace.
* Added CDC functional descriptor structs to the Low Level CDC demos and CDC ↵Dean Camera2010-09-286-101/+162
| | | | | | class bootloader, to improve the readability of the descriptors. Fixed BootloaderCDC project failing on some operating systems due to removed Line Encoding options (thanks to Alexey Belyaev).
* Move out many of the common class driver constants into grouped enums, to ↵Dean Camera2010-09-2831-215/+202
| | | | | | | | 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-2428-56/+56
| | | | all dfu-programmer versions.
* Added the --suppress-bootloader-mem option to the makefile dfu target, to ↵Dean Camera2010-09-2428-84/+84
| | | | | | | | 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-1528-56/+56
| | | | assembly and C++ sources (thanks to Daniel Czigany).
* Fix typos in the project overview text files.Dean Camera2010-09-0918-21/+21
|
* 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-3128-99/+99
| | | | USB AVR device "series" comprises of.
* Remove remaining void* descriptor casts in the projects and demos that were ↵Dean Camera2010-08-293-8/+9
| | | | not removed when the GetDescriptor callback function's signature was altered.
* Fixed LowLevel PrinterHost demo not sending control requests to the attached ↵Dean Camera2010-08-241-1/+1
| | | | printer with the correct printer interface wIndex value.
* Changed the signature of the CALLBACK_USB_GetDescriptor() callback function ↵Dean Camera2010-08-2456-283/+313
| | | | so that the descriptor pointer is const, to remove the need for extra casting inside the callback (thanks to Jonathan Kollasch).
* Changed all Device mode LowLevel demos and Device Class drivers so that the ↵Dean Camera2010-08-2212-134/+63
| | | | control request is acknowledged and any data transferred as quickly as possible without any processing inbetween sections, so that long callbacks or event handlers will not break communications with the host by exceeding the maximum control request stage timeout period.
* Clarify in the documentation that the Audio demos and driver is for the ↵Dean Camera2010-08-214-16/+16
| | | | 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.
* Added new SCSI_ASENSE_NOT_READY_TO_READY_CHANGE constant to the Mass Storage ↵Dean Camera2010-08-201-2/+3
| | | | class driver, to indicate when a previously not ready removable medium has now become ready for the host's use (thanks to Martin Degelsegger)
* Fixed MassStorage based demos and projects resetting the SCSI sense values ↵Dean Camera2010-08-189-179/+166
| | | | | | 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-0930-322/+217
| | | | | | 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.
* Add notification endpoint to the incomplete TMC demo.Dean Camera2010-08-093-5/+29
|
* Fix invocations of avr-size in all makefiles broken on unpatched *nix ↵Dean Camera2010-08-0829-31/+121
| | | | systems, due to the recent update to the latest WinAVR makefile template.
* Ensure all demos now compile in C99 standards mode, and not GNU99 (C99 + GNU ↵Dean Camera2010-08-035-15/+15
| | | | extensions).
* Hide the PROGMEM attribute from Doxygen, as it appears to confuse the parser ↵Dean Camera2010-08-0226-26/+52
| | | | in some situations.
* Fixed Serial peripheral driver not turning off the USART before ↵Dean Camera2010-07-311-3/+3
| | | | reconfiguring it, which would cause incorrect operation to occur (thanks to Bob Paddock).
* Oops - fix mixed "initialize" and "initialise" - opt for American spelling ↵Dean Camera2010-07-301-1/+1
| | | | due to its wide use in technical standards.
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-3032-32/+32
| | | | 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-2942-247/+247
|
* Added support to the AVRISP-MKII project for ISP speeds slower than 125KHz ↵Dean Camera2010-07-293-3/+3
| | | | | | via a new software SPI driver. Added new SPI_ORDER_* data order masks to the SPI peripheral driver.
* Add TMC header read and write functions, so that TMC data can now be ↵Dean Camera2010-07-283-53/+89
| | | | | | exchanged in both directions. Minor update to the LowLevel MassStorage device demo, so that the ReadInCommandBlock() performs the data OUT endpoint selection and packet arrival test.
* Move over message ID specific header data to unions inside the standard TMC ↵Dean Camera2010-07-272-7/+36
| | | | header structure, so that all header data is read in one chunk in the incomplete TMC demo.
* Rename reserved members of all structs so that they are uniformly named ↵Dean Camera2010-07-265-48/+76
| | | | | | across all demos/projects/bootloaders. Added start of the Incomplete TMC demo's command parser code.
* Add comments to the currently completed portions of the incomplete Test and ↵Dean Camera2010-07-261-1/+22
| | | | Measurement Class demo.