aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/ClassDriver
Commit message (Collapse)AuthorAgeFilesLines
* Added new Pipe_IsFrozen() macro to determine if the currently selected pipe ↵Dean Camera2009-09-202-2/+34
| | | | | | | | is frozen. Added new USB_GetHIDReportSize() function to the HID report parser to retrieve the size of a given report by its ID. More additions to the unfinished HID Host Class Driver.
* Added support for the officially recommended layout of the external ↵Dean Camera2009-09-171-6/+1
| | | | | | peripherals connected to the BUMBLEB board. Added flag to the HID Host Class driver to indicate the currently selected reporting protocol.
* Fix Mass Storage Host Class driver GetMaxLUN command - incorrect function ↵Dean Camera2009-09-171-0/+8
| | | | | | return codes used in comparison to check for success. Add HID Host Class driver functions to set the report protocol, add more class driver documentation.
* Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out ↵Dean Camera2009-09-094-8/+2
| | | | | | standard descriptors into seperate USB_Descriptor_* and USB_StdDescriptor_* structures so that both can be used within the one project. Add guard to the HID Host Class driver SetProtocol command, to ensure that the device supports boot protocol mode before issuing the request.
* Add Host mode Class driver demo summaries.Dean Camera2009-09-093-0/+199
|
* Finish Still Image Host class driver.Dean Camera2009-09-091-1/+9
|
* Add in new invalid event hook check targets to project makefiles to produce ↵Dean Camera2009-09-064-120/+188
| | | | | | | | compilation errors when invalid event names are used in a project. Re-add in flip, flip-ee, dfu and dfu-ee targets to project makefiles (thanks to Opendous Inc.) Fix allowable F_CPU values comment in project makefiles.
* Changed Still Image Host class driver to auto-fill TransactionID element of ↵Dean Camera2009-09-061-2/+4
| | | | | | | | sent headers depending on the current session state. CDC based demos and project now work under 64 bit versions of Windows (thanks to Ronny Hanson, Thomas Bleeker). The Benito Programmer project now has its own unique VID/PID pair allocated from the Atmel donated LUFA VID/PID pool.
* Add StillImage Host Class Driver functions for opening and closing sessions. ↵Dean Camera2009-09-021-1/+21
| | | | | | Ensure IsActive is set on the interface to allow device functions to run. Fix spelling of "Received" in all source files where it is misspelt "Recieved".
* Changed the parameters and behaviour of the USB_GetDeviceConfigDescriptor() ↵Dean Camera2009-08-314-12/+8
| | | | function so that it now performs size checks and data validations internally, to simplify user code.
* Added start of the Still Image Host Class driver demo and driver code.Dean Camera2009-08-305-0/+2463
| | | | Re-enabled building of the Host mode demos ClassDriver directory.
* Replace -finline-limit with -fno-inline-small-functions in project makefiles.Dean Camera2009-08-303-3/+3
|
* Condensed SCSI command functions in the LowLevel Mass Storage Host demo, to ↵Dean Camera2009-08-271-1/+3
| | | | | | save on FLASH space. Fixed issue in AVRISP project where the target RESET line was being toggled before it was tristated, causing problems synchronising to some targets (thanks to Mike Alex).
* Fix memory corruption in Host mode Mass Storage Class driver.Dean Camera2009-08-271-1/+1
|
* Added MS_Host_TestUnitReady() and MS_Host_ReadDeviceCapacity() to the host ↵Dean Camera2009-08-261-4/+8
| | | | mode Mass Storage Class driver.
* Add SCSICodes.h to the Class Driver Common folder, and automatically include ↵Dean Camera2009-08-261-1/+1
| | | | it in both the Host and Device Mass Storage Class drivers. Delete existing version from the ClassDriver MassStorage device demo's /Lib/ folder.
* Oops: Really disable building of Projects/Host/ClassDriver directory in the ↵Dean Camera2009-08-262-1/+54
| | | | | | | | Projects/Host/ makefile. Add more skeleton functions and definitions to the Mass Storage Host mode Class driver. Made Endpoint_Write_DWord_* functions echo the structure of the matching Endpoint routines for clarity.
* More work on the Mass Storage Host mode Class driver.Dean Camera2009-08-261-2/+2
| | | | | | Added ATTR_NON_NULL_PTR_ARG() attributes to the class drivers to improve user code reliability by disallowing explicit NULL pointers as pointer parameters in function calls where the parameter must not be NULL. Disabled building of the Demos/Host/ClassDriver directory until Host Mode Class drivers are complete to prevent build errors in the meantime.
* Added explicit attribute masks to the device mode demos' descriptors.Dean Camera2009-08-131-4/+1
|
* Added CDC_Device_Flush() command to the CDC Device mode class driver.Dean Camera2009-08-135-1/+2530
| | | | | | Minor updates to the unfinished SideShow demo for clarity. Added unfinished MassStorageHost class driver demo.
* Add new functions to the HID host class driver, refine HID interface ↵Dean Camera2009-08-114-3/+28
| | | | | | protocol matching. Remove stray state variable from the CDC host class driver.
* Fixed swapped paremeters in the HID state memory copy call while processing ↵Dean Camera2009-08-112-3/+2
| | | | | | | | | | a HID PUSH item in the HID report parser. Fixed memory corruption HID report parser when too many COLLECTION or PUSH items were processed. Make RNDIS device class driver include the CDC device class driver header, so that it can inherrit the required CDC functional descriptor macro. Make HID host class driver include the HID report parser.
* Fix issue in CDC device class driver where received data the size of the ↵Dean Camera2009-08-113-1/+12
| | | | | | | | data endpoint could lock up the driver. Further work on the new CDC and HID host mode class drivers. Reset changelog et. al. to reset development information for the new version currently under development.
* Make Endpoint control transfers more reliable; early-abort when an ↵Dean Camera2009-08-062-12/+12
| | | | | | incomplete packet is sent from the host (indicating end of transfer), add check for control reads to ensure that no more than wLength bytes are read from the interface. Condense sequential printf_P/puts_P calls to single printf_P calls for size and clarity.
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-054-20/+20
| | | | | | | | 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-022-6/+4
| | | | existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option.
* Change project makefiles so that the current target settings and not just ↵Dean Camera2009-07-282-78/+42
| | | | | | the board selection is printed during the build process. Fix warning in AudioOutput demos when AUDIO_OUT_STEREO output mode is selected.
* 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.
* Collapse configuration descriptor size retrieval and size testing into a ↵Dean Camera2009-07-272-20/+6
| | | | 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-272-8/+48
| | | | 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-276-66/+2478
| | | | 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-261-4/+4
| | | | Completed host CDC class driver enumeration code.
* Add PrinterHost demo to the documentation.Dean Camera2009-07-211-0/+8
|
* Add explicit guards to all device mode tasks to ensure the device is ↵Dean Camera2009-07-211-5/+8
| | | | 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.
* Change Doxygen configuration files to not produce 4096 directories for the ↵Dean Camera2009-07-201-1/+1
| | | | | | 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.
* Don't send terminal RESET codes via serial - just set the foreground colour ↵Dean Camera2009-07-191-1/+1
| | | | 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-191-5/+4
| | | | not cause eye-searing, unreadable text on terminals which parse the escape codes properly.
* Added compatibility list to the documentation of each individual demo.Dean Camera2009-07-131-0/+7
| | | | | | 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 incomplete PrinterHost demo application.Dean Camera2009-07-111-1/+1
| | | | | | 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.
* Optimize vendor/product description string display code in MassStorageHost.Dean Camera2009-06-2647-20586/+15
| | | | | | | | Remove all Host mode class demos other than the CDCHost class driver demo, so that they can be re-added as they are made once the host mode class framework is designed. Fixed USB_Host_SendControlRequest() not re-suspending the USB bus when initial device ready-wait fails. Fixed USB Pad regulator not being disabled on some AVR models when the USB_OPT_REG_DISABLED option is used.
* Trim unique serial number created by the USE_INTERNAL_SERIAL option to 12 ↵Dean Camera2009-06-211-1/+1
| | | | characters rather than 20 - apparently Windows will implode if a serial number is too long.
* Fix makefiles -- the auto-addition of -D switches to each LUFA compile time ↵Dean Camera2009-06-198-41/+41
| | | | 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-198-25/+67
| | | | for clarity.
* Re-add in simple scheduler for compatibility with legacy code, mark all ↵Dean Camera2009-06-191-3/+11
| | | | scheduler related files as deprecated.
* Break device mode class driver interfaces into seperate config and state ↵Dean Camera2009-06-181-2/+8
| | | | 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.
* Added new USB_Host_ClearPipeStall() convenience function to clear a stall ↵Dean Camera2009-06-182-3/+2
| | | | | | | | | | condition on an attached device's endpoint. Added new USB_Host_GetDeviceDescriptor() convenience function to retrieve the attached device's Device descriptor. Make Pipe_ConfigurePipe() mask the given endpoint number against PIPE_EPNUM_MASK to ensure the endpoint IN direction bit is cleared to prevent endpoint type corruption. Fix documentation mentioning Pipe_GetCurrentToken() function when real name is Pipe_GetPipeToken().
* Remove hardcoded DOT path from all Doxygen config files.Dean Camera2009-06-168-8/+8
| | | | Better documentation for the MissleLauncher project - add credit to PyLauncher project.
* Remove ConfigDescriptor.c/.h files from the ClassDriver Host demos, as they ↵Dean Camera2009-06-1532-2073/+21
| | | | will be obsoleted when the Host mode class drivers are complete. Add new StillImage stub class driver common header.
* More Doxygen fixes - ensure no undocumented function parameters.Dean Camera2009-06-158-8/+8
|
* Enhanced class drivers to use the same public/private section seperations as ↵Dean Camera2009-06-151-0/+6
| | | | other portions of the library.