aboutsummaryrefslogtreecommitdiffstats
path: root/Projects
Commit message (Collapse)AuthorAgeFilesLines
* Adjust endpoint polling intervals for HID demos, to make them compliant with ↵Dean Camera2009-08-131-1/+1
| | | | the 10ms minimum polling period for Low Speed devices.
* Added explicit attribute masks to the device mode demos' descriptors.Dean Camera2009-08-132-4/+4
|
* Make Benito ping-pong LED code more explicit, using masks of the TX and RX ↵Dean Camera2009-08-071-1/+1
| | | | | | LED masks for ping-pong toggle rather than the ambiguous LED "Busy" mask. Fix incorrect event name in MassStorageHost.c.
* Add Benito board LED driver to the Benito Programmer project.Dean Camera2009-08-051-0/+110
|
* Fixed issue in USBtoSerial demos where the USART Rx line was not having its ↵Dean Camera2009-08-053-7/+10
| | | | | | | | pullup enabled at startup, leading to noise being received from the Rx pin when left floating. Removed unused relative Common.h header include from the DriverStubs board stub drivers. Fixed Benito programmer, use the correct LED functions where needed to ensure correct status display at all times.
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-056-25/+25
| | | | | | | | events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only. Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events. Fixed incorrect Host state assignment in the incomplete BluetoothHost demo.
* Rename TOTAL_NUM_CONFIGURATIONS to FIXED_NUM_CONFIGURATIONS, to match the ↵Dean Camera2009-08-024-4/+4
| | | | existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option.
* Fix demos based on the device mode HID class driver, as well as the driver ↵Dean Camera2009-07-312-11/+20
| | | | 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.).
* Add new HID_Device_MillisecondElapsed() function to the HID device Class ↵Dean Camera2009-07-301-2/+1
| | | | driver, to move the burden of managing the Idle period of each instance to the library and not the user application.
* Fix to HID device mode Class driver, so that new reports are compared ↵Dean Camera2009-07-301-2/+0
| | | | against the old, and updated reports made within the idle period are sent immediately to the host.
* Extend the automatic serial number descriptor code to read out and send all ↵Dean Camera2009-07-281-1/+1
| | | | 10 bytes (20 characters) of the internal serial number on supported AVRs, rather than just the first 6 bytes (12 characters).
* Change project makefiles so that the current target settings and not just ↵Dean Camera2009-07-283-117/+63
| | | | | | the board selection is printed during the build process. Fix warning in AudioOutput demos when AUDIO_OUT_STEREO output mode is selected.
* Changed AudioOutput demos to explicitly use timer 3 - the smaller USB AVRs ↵Dean Camera2009-07-282-5/+6
| | | | | | 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-272-10/+0
| | | | (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.
* Added new LEDs_ToggleLEDs() function to the Board LEDs driver.Dean Camera2009-07-242-2/+2
|
* Ensure new Benito Programmer project matches Don's established LED behaviour ↵Dean Camera2009-07-244-21/+35
| | | | - 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-233-3/+8
| | | | usage.
* Added new Benito project, a simple modified USB-to-Serial bridge for the ↵Dean Camera2009-07-2310-1/+3039
| | | | programming of AVRs using the official Arduino bootloader.
* Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean Camera2009-07-211-3/+0
| | | | | | | | | | | | 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.
* Change Doxygen configuration files to not produce 4096 directories for the ↵Dean Camera2009-07-202-2/+2
| | | | | | 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.
* Magstripe Project: Ensure that empty tracks still print out a newline ↵Dean Camera2009-07-192-27/+22
| | | | | | 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-164-7/+13
| | | | | | improve performance. Fixed error in GenericHID descriptors preventing it from passing the USB-IF HID tests (thanks to Søren Greiner).
* Added new TOTAL_NUM_CONFIGURATIONS option, removed ↵Dean Camera2009-07-161-1/+2
| | | | | | 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.
* Added compatibility list to the documentation of each individual demo.Dean Camera2009-07-132-0/+14
| | | | | | 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-131-2/+2
| | | | | | 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.
* Added incomplete PrinterHost demo application.Dean Camera2009-07-112-2/+2
| | | | | | 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-292-7/+7
|
* Added const modifiers to device mode class drivers.Dean Camera2009-06-283-17/+17
| | | | | | Added parameter directions to function parameter documentation. Added new experimental FAST_STREAM_FUNCTIONS compile time option to speed up stream transfers at the expense of a higher FLASH consumption (needs testing to verify improved throughput).
* Reduce struct name pollution - group typedef struct names by class driver ↵Dean Camera2009-06-262-3/+3
| | | | name where appropriate.
* Pipe_ConfigurePipe() now automatically defaults IN pipes to accepting ↵Dean Camera2009-06-231-2/+0
| | | | infinite IN requests, this can still be changed by calling the existing \ref Pipe_SetFiniteINRequests() function.
* Fix makefiles -- the auto-addition of -D switches to each LUFA compile time ↵Dean Camera2009-06-192-11/+11
| | | | option was faulty, due to GNUMake becomming confused by the spaces in the USE_STATIC_OPTIONS lines. Make user add in the switches explicitly instead.
* Move LUFA compile time options to a new section in the application makefiles ↵Dean Camera2009-06-192-7/+18
| | | | for clarity.
* Extend USB_GetDeviceConfigDescriptor() routine to require the configuration ↵Dean Camera2009-06-192-14/+14
| | | | number within the device to fetch, to add support for multi-configuration devices.
* Fix broken MagStripe project.Dean Camera2009-06-182-18/+26
|
* Oops - restore deleted MissileLauncher project, fix all spelling errors for ↵Dean Camera2009-06-188-1/+2960
| | | | "missile". TODO: Learn how to actually spell.
* Break device mode class driver interfaces into seperate config and state ↵Dean Camera2009-06-188-2961/+2
| | | | structs which are then combined, for clarity. Move device mode class driver interfaces back into the device mode class driver headers from the common class headers to make room for host class interfaces.
* Remove hardcoded DOT path from all Doxygen config files.Dean Camera2009-06-163-15/+44
| | | | Better documentation for the MissleLauncher project - add credit to PyLauncher project.
* Add MissleLauncher project to the /Projects/ makefile. Add missing ↵Dean Camera2009-06-162-0/+1489
| | | | MissleLauncher Doxygen.conf file.
* Pipe_GetErrorFlags() now returns additional error flags for overflow and ↵Dean Camera2009-06-161-2/+2
| | | | | | underflow errors. Change MIDI demos to use real MIDI command values, and shift for the USB wrapper, rather than shift for the MIDI bytes. This is a little confusing for the MIDI USB wrapper, but allows for the use of real standardized MIDI command values.
* Added USB Missle Launcher project, submitted by Dave Fletcher.Dean Camera2009-06-166-0/+1445
|
* More Doxygen fixes - ensure no undocumented function parameters.Dean Camera2009-06-152-1/+3
|
* Add host mode USB Class driver stubs, add beginnings of a CDC host class driver.Dean Camera2009-06-144-6/+8
| | | | | | Split out common defines/types from class drivers into a seperate common class driver directory. Make central USB Class driver dispatch headers, used for both device and host modes.
* Remove outdated AVRStudio project files from demos, projects, bootloaders. ↵Dean Camera2009-06-051-1/+0
| | | | Fix makefiles of ClassDriver device demos.
* Added multiple Report ID support to the HID class driver. Removed OUT ↵Dean Camera2009-06-052-5/+6
| | | | endpoint support from HID driver (all OUT reports are now processed through control requests) as a seperate endpoint had issues with determining the exact output report length.
* Minor documentation page updates.Dean Camera2009-06-041-0/+36
| | | | | | | | Redocumented all device demos, now that they have changed over to the new USB class drivers. Added C linkage to class drivers for C++ support. Added prefixes to most of the class driver constants to prevent name clashes.
* Removed new Start of Frame event from the library; performance suffered far ↵Dean Camera2009-06-023-4/+12
| | | | | | too much and it was only useful in one of the standard classes (HID). Altered HID demos to use the previous method of tracking millisecond periods via a hardware timer rather than the SOF events. Fixed MIDI class driver blocking on unread events to the host.
* Commit of new class abstraction APIs for all device demos other than the ↵Dean Camera2009-06-015-410/+100
| | | | | | | | | | MIDI demo - not documented yet. Removed scheduler and memory allocation libraries. Added new EVENT_USB_StartOfFrame event in the library to indicate the start of each USB frame (when generated). Removed Tx interrupt from the USBtoSerial demo; now sends characters via polling to ensure more time for the Rx interrupt.
* Moved out each demos' functionality library files (e.g. Ring Buffer library) ↵Dean Camera2009-05-225-3/+4
| | | | to /Lib directories for a better directory structure.
* Deleted StdDescriptors.c, renamed USB_GetDescriptor() to ↵Dean Camera2009-05-224-7/+4
| | | | CALLBACK_USB_GetDescriptor, moved ConfigDescriptor.c/.h from the LUFA/Drivers/USB/Class/ directory to LUFA/Drivers/USB/HighLevel/ in preperation for the new USB class APIs.