aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed the ClassDriver GenericHID demo so that it echoes back reports as ↵Dean Camera2009-07-313-7/+20
| | | | indicated in the demo overview.
* Fix demos based on the device mode HID class driver, as well as the driver ↵Dean Camera2009-07-3114-74/+135
| | | | itself. Changed HID device class driver to require the user to give a buffer and size to hold the previously generated report, for comparison purposes, and altered the prototype of the CALLBACK_HID_Device_CreateHIDReport() function so that reports can be sent to the host even if there are no apparent changes (useful for relative movements in mice, etc.).
* Renamed USB_Device_SetHighSpeed() to USB_Device_SetFullSpeed() so that the ↵Dean Camera2009-07-315-5/+10
| | | | | | correct terminology is used (thanks to Brian Dickman). Fix USB_PLL_Off() call in the series 4, 6 and 7 microcontroller disconnect interrupt handler code, which wasn't guarded by a test of USB_Options to check if the user has specified manual PLL control (thanks to Brian Dickman).
* Add new HID_Device_MillisecondElapsed() function to the HID device Class ↵Dean Camera2009-07-309-26/+21
| | | | driver, to move the burden of managing the Idle period of each instance to the library and not the user application.
* Ensure that the previous HID reports in the HID device class driver are kept ↵Dean Camera2009-07-302-5/+5
| | | | per-instance, rather than per-device.
* Fix to HID device mode Class driver, so that new reports are compared ↵Dean Camera2009-07-309-32/+30
| | | | against the old, and updated reports made within the idle period are sent immediately to the host.
* Minor cleanups to DualCDC ClassDriver device demo for clarity.Dean Camera2009-07-302-4/+3
|
* Fix incorrect configuration in the ClassDriver AudioOutput demo.Dean Camera2009-07-3012-77/+77
| | | | | | Make all audio device Class Driver functions require a reference to the Audio class instance, so that the endpoint size can be checked (and to standardize the APIs). Make LEDs more responsive in the AudioOutput device demos.
* Set all CDC and MassStorage device mode demos (LowLevel and ClassDriver) to ↵Dean Camera2009-07-3012-23/+38
| | | | use the USE_INTERNAL_SERIAL feature, add compile time warnings for devices which do not have an internal serial.
* Added standard stream example to the ClassDriver CDC device demo.Dean Camera2009-07-304-3/+26
| | | | Fix incorrect HWB button mask in the STK526 Buttons driver.
* Fix redefinition warning when USB_DEVICE_ONLY is set on an AVR which does ↵Dean Camera2009-07-303-2/+5
| | | | not support USB host mode.
* Cleanup USBMode.h to simplify preprocessor logic.Dean Camera2009-07-292-21/+16
|
* Added 404 errors to the RNDIS Webserver example.Dean Camera2009-07-293-38/+109
|
* Extend the automatic serial number descriptor code to read out and send all ↵Dean Camera2009-07-282-4/+4
| | | | 10 bytes (20 characters) of the internal serial number on supported AVRs, rather than just the first 6 bytes (12 characters).
* Fixed report data alignment issues in the MouseHostWithParser demo when X ↵Dean Camera2009-07-283-6/+5
| | | | | | and Y movement data size is not a multiple of 8 bits. Fixed HID Report Descriptor Parser not correctly resetting internal states when a REPORT ID element is encountered.
* Change project makefiles so that the current target settings and not just ↵Dean Camera2009-07-2848-1735/+968
| | | | | | the board selection is printed during the build process. Fix warning in AudioOutput demos when AUDIO_OUT_STEREO output mode is selected.
* Better solution - change compile time token names to DEVICE_STATE_AS_GPIOR ↵Dean Camera2009-07-287-23/+31
| | | | and HOST_STATE_AS_GPIOR and allow the user to set them to the index of the GPIOR register within the device to use.
* Added HOST_STATE_AS_GPIOR1 and DEVICE_STATE_AS_GPIOR0 compile time options, ↵Dean Camera2009-07-287-34/+68
| | | | the latter of which is used in the bootloaders, to reduce code size.
* Make LowLevel AudioOutput demo work in the same way as the ClassDriver ↵Dean Camera2009-07-281-23/+12
| | | | AudioOutput demo for LEDs output.
* Changed AudioOutput demos to explicitly use timer 3 - the smaller USB AVRs ↵Dean Camera2009-07-287-119/+26
| | | | | | where timer 1 was needed instead did not have the endpoint size neccesary for good audio throughput anyway. Fix Benito documentation indicating erronously that the project used the HID USB class instead of the CDC class.
* State information for class drivers is now zeroed out during enumeration ↵Dean Camera2009-07-2734-101/+26
| | | | (both in device and host mode) to ensure sane values after each enumeration. User code should no longer explicitly set state information as this is no longer preserved.
* Collapse configuration descriptor size retrieval and size testing into a ↵Dean Camera2009-07-273-22/+13
| | | | single if statement within the new host mode class driver demos for clarity.
* Change Host mode class driver Pipe configuration routines -- better to let ↵Dean Camera2009-07-276-50/+66
| | | | the application fetch the configuration descriptors once, and then pass them to each class driver in turn.
* Add new MouseHost Class Driver demo, unfinished, to allow for better testing ↵Dean Camera2009-07-2711-86/+2648
| | | | of the new prototype Host Mode Class Driver framework. Flesh out start of a HID class Host mode class driver.
* Corrected new Pipe_IsEndpointBound() function.Dean Camera2009-07-264-35/+18
| | | | Completed host CDC class driver enumeration code.
* Added new Pipe_BoundEndpointNumber() and Pipe_IsEndpointBound() functions.Dean Camera2009-07-264-4/+38
|
* Added new LEDs_ToggleLEDs() function to the Board LEDs driver.Dean Camera2009-07-2412-42/+74
|
* Ensure new Benito Programmer project matches Don's established LED behaviour ↵Dean Camera2009-07-245-23/+37
| | | | - flash LED while generating target /RESET pulse, ping-pong LEDs during enumeration.
* Minor updates to the Benito programmer - remove redundant PORT register ↵Dean Camera2009-07-232-8/+7
| | | | manipulations.
* Tweaks to the new Benito Programmer project for documentation and port/pin ↵Dean Camera2009-07-234-4/+9
| | | | usage.
* Added new Benito project, a simple modified USB-to-Serial bridge for the ↵Dean Camera2009-07-2316-6/+3045
| | | | programming of AVRs using the official Arduino bootloader.
* Ensure that the USB_DeviceState variable is properly set upon wakeup events, ↵Dean Camera2009-07-235-5/+5
| | | | | | | | to the Addressed or Configured state as needed. Add explicit support for the AT90USB646 to the Teensy bootloader now that PJRC have released the Teensy++ board. Ensure unfinished SideShow demo uses an unallocated PID value within the LUFA range.
* Slight changes to TeensyHID bootloader to ensure it builds under the 2KB ↵Dean Camera2009-07-214-39/+12
| | | | | | boundary. Changed USB_Init() and USB_Shutdown() so that they are no longer dependant on oneanother for possible code savings when the interface is never explicitly shut down.
* Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean Camera2009-07-2158-460/+663
| | | | | | | | | | | | USB state. Added new Endpoint_ClearStatusStage() convenience function to assist with the status stages of control transfers. Removed vague USB_IsConnected global - test USB_DeviceState or USB_HostState explicitly to gain previous functionality. Removed USB_IsSuspended global - test USB_DeviceState against DEVICE_STATE_Suspended instead. Fixed possible enumeration errors from spinloops which may fail to exit if the USB connection is severed before the exit condition becomes true.
* Add PrinterHost demo to the documentation.Dean Camera2009-07-213-1/+10
|
* Add extra tests to the MassStorage device demo and class driver for ↵Dean Camera2009-07-212-0/+4
| | | | validating command blocks from the host.
* Add explicit guards to all device mode tasks to ensure the device is ↵Dean Camera2009-07-2119-219/+248
| | | | connected and configured before running the task, to prevent any user tasks from locking up the main USB task if the device has not been properly configured.
* Simplify SideShow GUID compares via a macro.Dean Camera2009-07-203-5/+7
|
* Fixes to unfinished SideShow demo to re-enable correct building after ↵Dean Camera2009-07-202-2/+2
| | | | previous commit.
* Move unfinished SideShow source files to nested Lib directory for clarity.Dean Camera2009-07-2013-14/+9
|
* Ensure control pipe is selected in the PrinterHost demo before trying to ↵Dean Camera2009-07-202-2/+7
| | | | send control requests.
* Change Doxygen configuration files to not produce 4096 directories for the ↵Dean Camera2009-07-2045-46/+48
| | | | | | documentation files -- the LUFA components do not generate enough documentation files to justify the large performance hit of creating so many directories. Fix missing Doxygen documentation in the Class Driver Mass Storage Device demo.
* Added missing DoxyGen configuration file to the PrinterHost demo.Dean Camera2009-07-202-2/+1490
|
* Added extra DoxyGen documentation to the new PrinterHost demo.Dean Camera2009-07-205-5/+103
|
* Add PrinterHost to the project file and Host LowLevel directory makefile.Dean Camera2009-07-205-8/+15
|
* Moved PrinterHost demo from Incomplete to LowLevel, as it is now near-complete.Dean Camera2009-07-207-0/+0
|
* Fixed PrinterHost demo Printer_GetDeviceID() routine not removing the Device ↵Dean Camera2009-07-206-17/+31
| | | | | | ID string length from the start of the returned array (thanks to John Andrews). Fixed error in new pipe stream function template system not setting the right device token for R/W operations (also thanks to John Andrews).
* Remove ClearPipeStall routine from the StillImageHost demo, as there is now ↵Dean Camera2009-07-203-27/+3
| | | | a version of the function built into the library itself.
* Cleaner solution to the PrinterHost data send routine problem of embedded ↵Dean Camera2009-07-203-9/+20
| | | | NULLs - use a special structure to hold the data string plus the length in bytes of the data.
* Fix unfinished printer host demo - some printer languages use embedded NULLs ↵Dean Camera2009-07-204-6/+6
| | | | and so strlen() won't work in all cases. Ensure NULL terminator for the test page is not transmitted to the device.