aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Added error codes to most StillImageHost demo commands.Dean Camera2009-07-204-18/+34
|
* Don't send terminal RESET codes via serial - just set the foreground colour ↵Dean Camera2009-07-1913-12/+14
| | | | and assume the user has the background set to something sane, so that the demos don't wipe out custom user terminal settings.
* Use sane ANSI terminal escape codes for the Host mode demos, so that they do ↵Dean Camera2009-07-1914-183/+179
| | | | not cause eye-searing, unreadable text on terminals which parse the escape codes properly.
* Add partial project documentation to the incomplete PrinterHost demo.Dean Camera2009-07-197-62/+110
| | | | | | Change over Printer_GetDeviceID() to require a pointer to the destination buffer plus the buffer size, rather than using a pointer to a special structure. Make new Printer_SendData() function to hide the implementation of sending data to an attached printer, cleaning up the main demo source file body.
* Fix PrinterHost demo so that it will only enumerate printers with ↵Dean Camera2009-07-194-31/+45
| | | | Bidirectional protocol encapsulation. Change enumeration code to automatically select the correct alternate setting for the printer interface to select the bidirectional protocol.
* Fixed incorrect PIPE_EPNUM_MASK mask causing pipe failures on devices with ↵Dean Camera2009-07-194-6/+8
| | | | endpoint addresses of 8 and above (thanks to John Andrews).
* Magstripe Project: Ensure that empty tracks still print out a newline ↵Dean Camera2009-07-196-49/+81
| | | | | | seperator so that the host always knows what track data is being sent. Updates to PrinterHost demo to include some PCL test data plus fixes to the GetDeviceID routine.
* Minor updates to the Magstripe and MissileLauncher projects to fix bugs and ↵Dean Camera2009-07-166-9/+16
| | | | | | improve performance. Fixed error in GenericHID descriptors preventing it from passing the USB-IF HID tests (thanks to Søren Greiner).
* Added support for the new ATMEGA32U2, ATMEGA16U2 and ATMEGA8U2 AVR models.Dean Camera2009-07-164-7/+18
|
* Fix small error in last commit preventing compilation in some circumstances.Dean Camera2009-07-161-1/+2
|
* Added new TOTAL_NUM_CONFIGURATIONS option, removed ↵Dean Camera2009-07-1642-61/+175
| | | | | | USE_SINGLE_DEVICE_CONFIGURATION compile time option (but silently convert it to USE_SINGLE_DEVICE_CONFIGURATION internally for compatibility). Added new USE_FLASH_DESCRIPTORS compile time option. By default, descriptors can now lie in mixed memory spaces (specified by a new parameter to the CALLBACK_USB_GetDescriptor() function) unless one of the USE_*_DESCRIPTORS compile time option is specified.
* Fix HID class device driver -- if a SetIDle request is issued with the LSB ↵Dean Camera2009-07-156-65/+83
| | | | | | | | of wValue set to zero, the idle period must be set for all HID interfaces. Fix Keyboard and Mouse demos, Idle period is now multiplied by 4 as the period is read into and sent out of the device to ensure it is always stored as a multiple of 1ms. Fixes Keyboard demo using an initial Idle period of 2s rather than 500ms (thanks to Brian Dickman). Move out the internal device serial descriptor reading routine into a seperate static function, rather than being part of USB_Device_GetDescriptor.
* Added module file dependancy information to the USB class drivers.Dean Camera2009-07-1413-0/+53
|
* Added better module summaries.Dean Camera2009-07-1416-19/+37
|
* Fix broken Pipe stream function templates due to mixed const/no const use in ↵Dean Camera2009-07-132-7/+6
| | | | prototypes.
* Added new EEPROM and FLASH buffer versions of the Endpoint and Pipe stream ↵Dean Camera2009-07-1317-886/+811
| | | | functions. Changed Endpoint.c and Pipe.c to use a templated system to build the seperate functions, rather than duplicating each function's code many times.
* Added compatibility list to the documentation of each individual demo.Dean Camera2009-07-1345-55/+507
| | | | | | Documented FAST_STREAM_TRANSFERS compile time option. Reduced the TCP window size for the RNDIS demos (Class and LowLevel) to make them compatible with the AT90USB64x.
* Added new HOST_STATE_WaitForDeviceRemoval host state machine state for ↵Dean Camera2009-07-1318-82/+172
| | | | | | non-blocking disabling of device communications until the device has been removed (for use when an error occurs or communications with the device have completed). Changed over all host mode demos to use the new state. Added verbose documentation for each of the USB Host state machine states.
* Seperated out parts of the PrinterHost incomplete demo into a seperate Lib ↵Dean Camera2009-07-1314-94/+212
| | | | | | subdirectory. Fixed Host mode to Device mode UID change not causing a USB Disconnect event when a device was connected.
* Fixed compilation error in incomplete BluetoothHost demo.Dean Camera2009-07-112-2/+2
|
* Added incomplete PrinterHost demo application.Dean Camera2009-07-1162-73/+1361
| | | | | | Seperated out Lib components of the incomplete BluetoothHost demo application out into a seperate Lib subfolder. Changed F_CLOCK entries in project makefiles to alias to F_CPU by default, as this is the most common case.
* Minor correction to MagStripe demo to fix build problems.Dean Camera2009-06-294-24/+36
|