Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Minor cleanups to DualCDC ClassDriver device demo for clarity. | Dean Camera | 2009-07-30 | 2 | -4/+3 |
| | |||||
* | Fix incorrect configuration in the ClassDriver AudioOutput demo. | Dean Camera | 2009-07-30 | 12 | -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 Camera | 2009-07-30 | 12 | -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 Camera | 2009-07-30 | 4 | -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 Camera | 2009-07-30 | 3 | -2/+5 |
| | | | | not support USB host mode. | ||||
* | Cleanup USBMode.h to simplify preprocessor logic. | Dean Camera | 2009-07-29 | 2 | -21/+16 |
| | |||||
* | Added 404 errors to the RNDIS Webserver example. | Dean Camera | 2009-07-29 | 3 | -38/+109 |
| | |||||
* | Extend the automatic serial number descriptor code to read out and send all ↵ | Dean Camera | 2009-07-28 | 2 | -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 Camera | 2009-07-28 | 3 | -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 Camera | 2009-07-28 | 48 | -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 Camera | 2009-07-28 | 7 | -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 Camera | 2009-07-28 | 7 | -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 Camera | 2009-07-28 | 1 | -23/+12 |
| | | | | AudioOutput demo for LEDs output. | ||||
* | Changed AudioOutput demos to explicitly use timer 3 - the smaller USB AVRs ↵ | Dean Camera | 2009-07-28 | 7 | -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 Camera | 2009-07-27 | 34 | -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 Camera | 2009-07-27 | 3 | -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 Camera | 2009-07-27 | 6 | -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 Camera | 2009-07-27 | 11 | -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 Camera | 2009-07-26 | 4 | -35/+18 |
| | | | | Completed host CDC class driver enumeration code. | ||||
* | Added new Pipe_BoundEndpointNumber() and Pipe_IsEndpointBound() functions. | Dean Camera | 2009-07-26 | 4 | -4/+38 |
| | |||||
* | Added new LEDs_ToggleLEDs() function to the Board LEDs driver. | Dean Camera | 2009-07-24 | 12 | -42/+74 |
| | |||||
* | Ensure new Benito Programmer project matches Don's established LED behaviour ↵ | Dean Camera | 2009-07-24 | 5 | -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 Camera | 2009-07-23 | 2 | -8/+7 |
| | | | | manipulations. | ||||
* | Tweaks to the new Benito Programmer project for documentation and port/pin ↵ | Dean Camera | 2009-07-23 | 4 | -4/+9 |
| | | | | usage. | ||||
* | Added new Benito project, a simple modified USB-to-Serial bridge for the ↵ | Dean Camera | 2009-07-23 | 16 | -6/+3045 |
| | | | | programming of AVRs using the official Arduino bootloader. | ||||
* | Ensure that the USB_DeviceState variable is properly set upon wakeup events, ↵ | Dean Camera | 2009-07-23 | 5 | -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 Camera | 2009-07-21 | 4 | -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 Camera | 2009-07-21 | 58 | -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 Camera | 2009-07-21 | 3 | -1/+10 |
| | |||||
* | Add extra tests to the MassStorage device demo and class driver for ↵ | Dean Camera | 2009-07-21 | 2 | -0/+4 |
| | | | | validating command blocks from the host. | ||||
* | Add explicit guards to all device mode tasks to ensure the device is ↵ | Dean Camera | 2009-07-21 | 19 | -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 Camera | 2009-07-20 | 3 | -5/+7 |
| | |||||
* | Fixes to unfinished SideShow demo to re-enable correct building after ↵ | Dean Camera | 2009-07-20 | 2 | -2/+2 |
| | | | | previous commit. | ||||
* | Move unfinished SideShow source files to nested Lib directory for clarity. | Dean Camera | 2009-07-20 | 13 | -14/+9 |
| | |||||
* | Ensure control pipe is selected in the PrinterHost demo before trying to ↵ | Dean Camera | 2009-07-20 | 2 | -2/+7 |
| | | | | send control requests. | ||||
* | Change Doxygen configuration files to not produce 4096 directories for the ↵ | Dean Camera | 2009-07-20 | 45 | -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 Camera | 2009-07-20 | 2 | -2/+1490 |
| | |||||
* | Added extra DoxyGen documentation to the new PrinterHost demo. | Dean Camera | 2009-07-20 | 5 | -5/+103 |
| | |||||
* | Add PrinterHost to the project file and Host LowLevel directory makefile. | Dean Camera | 2009-07-20 | 5 | -8/+15 |
| | |||||
* | Moved PrinterHost demo from Incomplete to LowLevel, as it is now near-complete. | Dean Camera | 2009-07-20 | 7 | -0/+0 |
| | |||||
* | Fixed PrinterHost demo Printer_GetDeviceID() routine not removing the Device ↵ | Dean Camera | 2009-07-20 | 6 | -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 Camera | 2009-07-20 | 3 | -27/+3 |
| | | | | a version of the function built into the library itself. | ||||
* | Cleaner solution to the PrinterHost data send routine problem of embedded ↵ | Dean Camera | 2009-07-20 | 3 | -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 Camera | 2009-07-20 | 4 | -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 Camera | 2009-07-20 | 4 | -18/+34 |
| | |||||
* | Don't send terminal RESET codes via serial - just set the foreground colour ↵ | Dean Camera | 2009-07-19 | 13 | -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 Camera | 2009-07-19 | 14 | -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 Camera | 2009-07-19 | 7 | -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 Camera | 2009-07-19 | 4 | -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 Camera | 2009-07-19 | 4 | -6/+8 |
| | | | | endpoint addresses of 8 and above (thanks to John Andrews). |