pub/USBasp.git
15 years agoFix incorrect const'ness of the ReportItem parameter in USB_SetHIDReportItemInfo().
Dean Camera [Fri, 4 Dec 2009 01:09:39 +0000 (01:09 +0000)]
Fix incorrect const'ness of the ReportItem parameter in USB_SetHIDReportItemInfo().

15 years agoFixed HID Parser not distributing the Usage Min and Usage Max values across an array...
Dean Camera [Fri, 4 Dec 2009 01:06:26 +0000 (01:06 +0000)]
Fixed HID Parser not distributing the Usage Min and Usage Max values across an array of report items.

Added new HID_ALIGN_DATA() macro to return the pre-retrieved value of a HID report item, left-aligned to a given datatype.

Added new PreviousValue to the HID Report Parser report item structure, for easy monitoring of previous report item values.

15 years agoMake sure the protocol handler files are included in the Doxygen documentation of...
Dean Camera [Thu, 3 Dec 2009 09:19:09 +0000 (09:19 +0000)]
Make sure the protocol handler files are included in the Doxygen documentation of the AVRISP project.

15 years agoFix the tokens which enable and disable the different programming protocols in the...
Dean Camera [Thu, 3 Dec 2009 09:12:36 +0000 (09:12 +0000)]
Fix the tokens which enable and disable the different programming protocols in the AVRISP project.

15 years agoAdded support for the Dataflash mounted on the XPLAIN board. Added new XPLAIN_REV1...
Dean Camera [Thu, 3 Dec 2009 08:59:12 +0000 (08:59 +0000)]
Added support for the Dataflash mounted on the XPLAIN board. Added new XPLAIN_REV1 board target for the first revision XPLAIN board, which used a different (smaller) Dataflash IC to later revisions.

15 years agoAuto-configure AVRISP programmer configuration when built for the XPLAIN board to...
Dean Camera [Thu, 3 Dec 2009 08:35:32 +0000 (08:35 +0000)]
Auto-configure AVRISP programmer configuration when built for the XPLAIN board to match the XPLAIN hardware connections.

15 years agoDocument the PDI programming routines implemented so far in the AVRISP project. Add...
Dean Camera [Thu, 3 Dec 2009 07:42:56 +0000 (07:42 +0000)]
Document the PDI programming routines implemented so far in the AVRISP project. Add ability to selectively disable ISP programming support in addition to the existing ability to disable PDI programming support.

15 years agoStarted implementing the low level PDI protocol in the AVRISP project, for XMEGA...
Dean Camera [Thu, 3 Dec 2009 00:53:45 +0000 (00:53 +0000)]
Started implementing the low level PDI protocol in the AVRISP project, for XMEGA device programming.

15 years agoAdd new more reliable software UART for the XPLAINBridge project by David Prentice...
Dean Camera [Wed, 2 Dec 2009 14:19:06 +0000 (14:19 +0000)]
Add new more reliable software UART for the XPLAINBridge project by David Prentice and Peter Danneger.

15 years agoRemoved John Steggall's software UART code from the XPLAIN Bridge project due to...
Dean Camera [Wed, 2 Dec 2009 14:03:57 +0000 (14:03 +0000)]
Removed John Steggall's software UART code from the XPLAIN Bridge project due to reliability issues.

15 years agoAdd support for unwrapping of the XMEGA PDI programming protocol to the AVRISP Progra...
Dean Camera [Wed, 2 Dec 2009 13:42:08 +0000 (13:42 +0000)]
Add support for unwrapping of the XMEGA PDI programming protocol to the AVRISP Programmer project.

15 years agoRename V2ProtocolTarget files to ISPTarget in the AVRISP Programmer Clone project.
Dean Camera [Wed, 2 Dec 2009 12:04:37 +0000 (12:04 +0000)]
Rename V2ProtocolTarget files to ISPTarget in the AVRISP Programmer Clone project.

15 years agoFactor out all the ISP related code into a seperate ISPProtocol set of files in the...
Dean Camera [Wed, 2 Dec 2009 12:02:01 +0000 (12:02 +0000)]
Factor out all the ISP related code into a seperate ISPProtocol set of files in the AVRISP Clone programmer project, to clearly seperate out the programming protocols when PDI programming is implemented.

15 years agoRename the V2Protocol command handlers in the AVRISP project in preperation of XMEGA...
Dean Camera [Wed, 2 Dec 2009 11:37:39 +0000 (11:37 +0000)]
Rename the V2Protocol command handlers in the AVRISP project in preperation of XMEGA PDI programming support.

15 years agoAdded CDC_Host_Flush() function to the CDC Host Class driver to flush sent data to...
Dean Camera [Mon, 30 Nov 2009 02:20:26 +0000 (02:20 +0000)]
Added CDC_Host_Flush() function to the CDC Host Class driver to flush sent data to the attached device.

15 years agoFixed USB driver failing to define the PLL prescaler mask for the ATMEGA8U2 and ATMEG...
Dean Camera [Sun, 29 Nov 2009 07:41:54 +0000 (07:41 +0000)]
Fixed USB driver failing to define the PLL prescaler mask for the ATMEGA8U2 and ATMEGA16U2.

Simplified the USB.h master include file's target validity checks.

15 years agoAdd to the existing CDC Class Driver's CreateStream() function documentation to expli...
Dean Camera [Sun, 29 Nov 2009 05:19:41 +0000 (05:19 +0000)]
Add to the existing CDC Class Driver's CreateStream() function documentation to explicitly state that the created streams are bidirectional.

15 years agoBetter checking of whether a packet is received in the RNDISEthernetHost Class driver...
Dean Camera [Fri, 27 Nov 2009 06:32:26 +0000 (06:32 +0000)]
Better checking of whether a packet is received in the RNDISEthernetHost Class driver demo - show busy LED status while packets are being printed out.

15 years agoEnable pullup on the PD5 pin of the AVR in the XPLAINBridge project - this is connect...
Dean Camera [Thu, 26 Nov 2009 13:59:11 +0000 (13:59 +0000)]
Enable pullup on the PD5 pin of the AVR in the XPLAINBridge project - this is connected to the XMEGA's /RESET line, need to enable pullup to prevent spurrious resets.

15 years agoComplete RNDIS Host Class driver code - add SendPacket function.
Dean Camera [Thu, 26 Nov 2009 11:40:15 +0000 (11:40 +0000)]
Complete RNDIS Host Class driver code - add SendPacket function.

Correct CDC Host Class driver token handling for sending data on bidirectional data endpoints.

15 years agoMake the RNDISEthernetHost Class driver demo print out incomming packets from the...
Dean Camera [Thu, 26 Nov 2009 11:29:06 +0000 (11:29 +0000)]
Make the RNDISEthernetHost Class driver demo print out incomming packets from the attached RNDIS device.

15 years agoMake MIDI device demos also turn off the on board LEDs if MIDI Note On messages are...
Dean Camera [Thu, 26 Nov 2009 11:16:20 +0000 (11:16 +0000)]
Make MIDI device demos also turn off the on board LEDs if MIDI Note On messages are sent with a velocity of zero, which some devices use instead of Note Off messages (thanks to Robin Green).

15 years agoRemove documentation of deleted parameters from the RNDIS Host Class driver's device...
Dean Camera [Thu, 26 Nov 2009 05:08:00 +0000 (05:08 +0000)]
Remove documentation of deleted parameters from the RNDIS Host Class driver's device Initialize function.

15 years agoFix RNDIS Device Class driver - RNDISConstants.h has moved out to the Common Class...
Dean Camera [Thu, 26 Nov 2009 04:50:15 +0000 (04:50 +0000)]
Fix RNDIS Device Class driver - RNDISConstants.h has moved out to the Common Class driver directory.

15 years agoAdded new RNDIS Host class driver and the beginnings of a RNDISEthernetHost Class...
Dean Camera [Thu, 26 Nov 2009 04:46:31 +0000 (04:46 +0000)]
Added new RNDIS Host class driver and the beginnings of a RNDISEthernetHost Class Driver demo.

Fixed all Class drivers to ensure they have appropriate guards on each function to ensure the device is enumerated before running, fixed error codes on all guards to return "DeviceDisconnected" where possble.

Renamed HOST_SENDCONTROL_DeviceDisconnect enum value to HOST_SENDCONTROL_DeviceDisconnected to be in line with the rest of the library enum error codes.

15 years agoUpdated John Steggall's software USART in the XPLAINBridge project.
Dean Camera [Thu, 26 Nov 2009 01:17:29 +0000 (01:17 +0000)]
Updated John Steggall's software USART in the XPLAINBridge project.

15 years agoFix typo in the StillImageHost LowLevel demo, and the CDC Host Class Driver.
Dean Camera [Wed, 25 Nov 2009 04:23:40 +0000 (04:23 +0000)]
Fix typo in the StillImageHost LowLevel demo, and the CDC Host Class Driver.

15 years agoFix more Doxygen errors from missing parameter documentation.
Dean Camera [Wed, 25 Nov 2009 04:13:14 +0000 (04:13 +0000)]
Fix more Doxygen errors from missing parameter documentation.

15 years agoFix build and Doxygen errors.
Dean Camera [Wed, 25 Nov 2009 03:56:51 +0000 (03:56 +0000)]
Fix build and Doxygen errors.

15 years agoRemoved old empty RNDISEthernetHost directory from the Incomplete Host demos folder.
Dean Camera [Wed, 25 Nov 2009 03:33:14 +0000 (03:33 +0000)]
Removed old empty RNDISEthernetHost directory from the Incomplete Host demos folder.

15 years agoAdded new RNDISHost Host LowLevel demo. Fixed misnamed Pipe_SetPipeToken() macro...
Dean Camera [Wed, 25 Nov 2009 03:26:57 +0000 (03:26 +0000)]
Added new RNDISHost Host LowLevel demo. Fixed misnamed Pipe_SetPipeToken() macro for setting a pipe's direction. Fixed CDCHost failing on devices with bidirectional endpoints.

15 years agoAdded new XPLAIN serial Bridge project (thanks to John Steggall for the software...
Dean Camera [Wed, 25 Nov 2009 00:36:18 +0000 (00:36 +0000)]
Added new XPLAIN serial Bridge project (thanks to John Steggall for the software UART code).

15 years agoMake the StandaloneProgrammer project seamlessly read out drive contents from either...
Dean Camera [Tue, 24 Nov 2009 14:10:28 +0000 (14:10 +0000)]
Make the StandaloneProgrammer project seamlessly read out drive contents from either an attached FAT formatted drive when in host mode, or the onboard FAT formatted dataflash when in device mode.

15 years agoFixed host state machine not enabling Auto VBUS mode when HOST_DEVICE_SETTLE_DELAY_MS...
Dean Camera [Tue, 24 Nov 2009 08:54:41 +0000 (08:54 +0000)]
Fixed host state machine not enabling Auto VBUS mode when HOST_DEVICE_SETTLE_DELAY_MS is set to zero.

15 years agoFixed broken USB_GetNextDescriptor() function causing the descriptor to jump ahead...
Dean Camera [Tue, 24 Nov 2009 01:56:59 +0000 (01:56 +0000)]
Fixed broken USB_GetNextDescriptor() function causing the descriptor to jump ahead double the expected amount.

Fixed Pipe_IsEndpointBound() not masking the given Endpoint Address against PIPE_EPNUM_MASK.

15 years agoFixed misnamed SI_Host_USBTask() and SI_Host_ConfigurePipes() functions.
Dean Camera [Mon, 23 Nov 2009 13:35:52 +0000 (13:35 +0000)]
Fixed misnamed SI_Host_USBTask() and SI_Host_ConfigurePipes() functions.

15 years agoAdded new ReportType parameter to the HID Device Class driver CALLBACK_HID_Device_Cre...
Dean Camera [Mon, 23 Nov 2009 13:22:33 +0000 (13:22 +0000)]
Added new ReportType parameter to the HID Device Class driver CALLBACK_HID_Device_CreateHIDReport() callback to indicate the report type to generate.

15 years agoFixed incorrect values for REPORT_ITEM_TYPE_* enum values causing corrupt data in...
Dean Camera [Mon, 23 Nov 2009 13:01:50 +0000 (13:01 +0000)]
Fixed incorrect values for REPORT_ITEM_TYPE_* enum values causing corrupt data in the HID Host Parser.

15 years agoThe incomplete StandaloneProgrammer project now uses Host and Device Mass storage...
Dean Camera [Mon, 23 Nov 2009 12:40:14 +0000 (12:40 +0000)]
The incomplete StandaloneProgrammer project now uses Host and Device Mass storage classes, so that program data can either be loaded onto the device's Dataflash storage, or read off an attached USB memory stick.

The USB target family and allowable USB mode tokens are now public and documented (USB_CAN_BE_*, USB_SERIES_*_AVR).

The SCSI_Request_Sense_Response_t and SCSI_Inquiry_Response_t type defines are now part of the Mass Storage Class driver common defines, rather than being defined in the Host mode Class driver section only.

The USB_MODE_HOST token is now defined even when host mode is not available.

Added missing CDC_Host_CreateBlockingStream() function code to the CDC Host Class driver.

15 years agoRemoved code to zero reports between two keyboard reports with differing number of...
Dean Camera [Mon, 23 Nov 2009 05:45:59 +0000 (05:45 +0000)]
Removed code to zero reports between two keyboard reports with differing number of pressed keys, as this relied on non-standard OS behaviour.

15 years agoAdd activity LED updates to the AVRISP project.
Dean Camera [Mon, 23 Nov 2009 05:28:08 +0000 (05:28 +0000)]
Add activity LED updates to the AVRISP project.

15 years agoCommit for the 091122 release.
Dean Camera [Sun, 22 Nov 2009 04:56:59 +0000 (04:56 +0000)]
Commit for the 091122 release.

15 years agoFixed Endpoint_Write_Control_Stream_* functions not sending a terminating IN when...
Dean Camera [Fri, 20 Nov 2009 06:56:43 +0000 (06:56 +0000)]
Fixed Endpoint_Write_Control_Stream_* functions not sending a terminating IN when the given data length is zero.

15 years agoFixed LowLevel Keyboard demo not saving the issued report only after it has been...
Dean Camera [Fri, 20 Nov 2009 04:39:41 +0000 (04:39 +0000)]
Fixed LowLevel Keyboard demo not saving the issued report only after it has been written to the endpoint.

Added support for multiple keyboard keycodes in a single report to the LowLevel and ClassDriver Keyboard demos.

15 years agoFix doxygen documentation - doxygen was getting confused on the variable-length ATTR_...
Dean Camera [Tue, 17 Nov 2009 11:28:07 +0000 (11:28 +0000)]
Fix doxygen documentation - doxygen was getting confused on the variable-length ATTR_NON_NULL_PTR_ARG() macro used on  function prototypes and was generating many return types for several functions in the documentation (thanks to David Lyons).

15 years agoMake RNDISHost demo validate the set Packet Filter to ensure that it is being sent...
Dean Camera [Tue, 17 Nov 2009 10:32:17 +0000 (10:32 +0000)]
Make RNDISHost demo validate the set Packet Filter to ensure that it is being sent correctly.

Add new (incomplete) StandaloneProgrammer project, using the ELM Petite FAT library to read files stored on the board's dataflash by the host.

15 years agoFixed HOST_STATE_AS_GPIOR being ignored whilst in Host mode (thanks to David Lyons).
Dean Camera [Mon, 16 Nov 2009 05:45:05 +0000 (05:45 +0000)]
Fixed HOST_STATE_AS_GPIOR being ignored whilst in Host mode (thanks to David Lyons).

15 years agoFix incorrect compiler error message when F_CLOCK is not defined by the user (thanks...
Dean Camera [Sun, 15 Nov 2009 13:09:02 +0000 (13:09 +0000)]
Fix incorrect compiler error message when F_CLOCK is not defined by the user (thanks to Dave Lyons).

15 years agoCleanups to the MassStorage Device demos, and the MassStorage Device Class driver.
Dean Camera [Sun, 15 Nov 2009 12:50:23 +0000 (12:50 +0000)]
Cleanups to the MassStorage Device demos, and the MassStorage Device Class driver.

15 years agoCorrections, improvements and additions to the incomplete RNDISHost demo.
Dean Camera [Fri, 13 Nov 2009 13:24:04 +0000 (13:24 +0000)]
Corrections, improvements and additions to the incomplete RNDISHost demo.

Change device demos which use the joystick to use the natural UP, DOWN, LEFT, RIGHT ordering in all demos when checking the joystick's position.

15 years agoCorrected the name of the misnamed USB_GetDeviceConfigDescriptor() function to USB_Ho...
Dean Camera [Fri, 13 Nov 2009 10:07:25 +0000 (10:07 +0000)]
Corrected the name of the misnamed USB_GetDeviceConfigDescriptor() function to USB_Host_GetDeviceConfigDescriptor().

15 years agoExtend incomplete RNDISHost demo -- can not enumerate a RNDIS device correctly and...
Dean Camera [Fri, 13 Nov 2009 07:23:31 +0000 (07:23 +0000)]
Extend incomplete RNDISHost demo -- can not enumerate a RNDIS device correctly and set the packet filter. No packets are received yet from the test device, need to investigate additional SET commands to see if any critical OIDs have been missed.

15 years agoAdd blocking versions of the CDC Class driver streams, for applications requiring...
Dean Camera [Thu, 12 Nov 2009 12:47:15 +0000 (12:47 +0000)]
Add blocking versions of the CDC Class driver streams, for applications requiring blocking reads.

15 years agoAdd beginnings of a RNDIS Ethernet Host demo.
Dean Camera [Thu, 12 Nov 2009 10:43:07 +0000 (10:43 +0000)]
Add beginnings of a RNDIS Ethernet Host demo.

15 years agoMinor code cleanups for clarity.
Dean Camera [Wed, 11 Nov 2009 09:09:39 +0000 (09:09 +0000)]
Minor code cleanups for clarity.

15 years agoUpdate CDC Class Driver character stream functions to use the correct avr-libc return...
Dean Camera [Tue, 10 Nov 2009 11:24:15 +0000 (11:24 +0000)]
Update CDC Class Driver character stream functions to use the correct avr-libc return codes for errors and EOF.

Fix pointer arithmetic on void byte buffers by explicitly typecasting the buffer pointers to uint8_t* before altering them.

15 years agoAdded new stream creation function to the CDC Class drivers, to easily make standard...
Dean Camera [Tue, 10 Nov 2009 06:22:03 +0000 (06:22 +0000)]
Added new stream creation function to the CDC Class drivers, to easily make standard streams from CDC Class driver instances.

15 years agoSpell check all source code variables, comments and strings.
Dean Camera [Mon, 9 Nov 2009 13:15:28 +0000 (13:15 +0000)]
Spell check all source code variables, comments and strings.

15 years agoMinor changes to the AVRISP project for code clarity.
Dean Camera [Mon, 9 Nov 2009 12:22:33 +0000 (12:22 +0000)]
Minor changes to the AVRISP project for code clarity.

15 years agoFixed HID host Class driver report send/receive report broken when issued through...
Dean Camera [Mon, 9 Nov 2009 08:24:01 +0000 (08:24 +0000)]
Fixed HID host Class driver report send/receive report broken when issued through the control pipe.

Make Mass Storage device Class driver accept resets at any time, rather than just after a command block has been processed.

Remove the HID device parser from the boot protocol Keyboard/Mouse demos.

15 years agoRemove dependancies from the LowLevel demos to the ClassDriver demos, since the use...
Dean Camera [Sun, 8 Nov 2009 21:56:18 +0000 (21:56 +0000)]
Remove dependancies from the LowLevel demos to the ClassDriver demos, since the use of ClassDriver headers now outputs an error when NO_STREAM_CALLBACKS is used.

15 years agoMake Low Level host demos use void pointers for the configuration descriptor, to...
Dean Camera [Sat, 7 Nov 2009 07:23:03 +0000 (07:23 +0000)]
Make Low Level host demos use void pointers for the configuration descriptor, to prevent warnings when passed to the altered configuration descriptor parsing routines.

Added preprocessor checks to give a human readable error when the class drivers are used when the incompatible NO_STREAM_CALLBACKS compile time option is used.

15 years agoAdd optional pipe double banking support to the Host mode Class drivers.
Dean Camera [Sat, 7 Nov 2009 03:51:24 +0000 (03:51 +0000)]
Add optional pipe double banking support to the Host mode Class drivers.

Descriptor processing routines now pass around void pointers rather than uint8_t pointers, as their destination datatype is know well known -- they are just streams of bytes until they are cast to the correct destination type by DESCRIPTOR_CAST.

15 years agoAdd double banking property to LUFA powered projects in the Projects directory. Add...
Dean Camera [Fri, 6 Nov 2009 14:32:01 +0000 (14:32 +0000)]
Add double banking property to LUFA powered projects in the Projects directory. Add guards to macro parameters to ensure that formulas passed as parameters don't mess up the internal macro structure.

15 years agoAdd optional double-banking support to the Device mode Class Drivers, on a per-endpoi...
Dean Camera [Fri, 6 Nov 2009 13:43:18 +0000 (13:43 +0000)]
Add optional double-banking support to the Device mode Class Drivers, on a per-endpoint, per-interface level.

15 years agoAdd other missing Printer.h main class driver dispatch file.
Dean Camera [Wed, 4 Nov 2009 13:23:47 +0000 (13:23 +0000)]
Add other missing Printer.h main class driver dispatch file.

15 years agoAdd missing Printer.h common class driver file.
Dean Camera [Wed, 4 Nov 2009 13:22:38 +0000 (13:22 +0000)]
Add missing Printer.h common class driver file.

15 years agoAdded new Printer Host mode Class driver.
Dean Camera [Wed, 4 Nov 2009 13:16:53 +0000 (13:16 +0000)]
Added new Printer Host mode Class driver.

Added new Printer Host mode ClassDriver demo.

Added table of supported classes and modes to the main USB Class Driver documentation.

15 years agoFixed HID report parser collection paths invalid due to misplaced semicolon in the...
Dean Camera [Wed, 4 Nov 2009 07:14:38 +0000 (07:14 +0000)]
Fixed HID report parser collection paths invalid due to misplaced semicolon in the free path item search loop. Increased the default number of collection paths allowable by the parser.

15 years agoAdd support for Mouse Scrollwheel to the MouseHostWithParser demos.
Dean Camera [Wed, 4 Nov 2009 05:18:43 +0000 (05:18 +0000)]
Add support for Mouse Scrollwheel to the MouseHostWithParser demos.

15 years agoAdded new JoystickHostWithParser demos to the library.
Dean Camera [Wed, 4 Nov 2009 04:55:10 +0000 (04:55 +0000)]
Added new JoystickHostWithParser demos to the library.

Add some missing documentation to some of the library demos.

15 years agoUpdate DevChapter9.c - use the Endpoint_ClearStatusStage() function where possible...
Dean Camera [Wed, 4 Nov 2009 04:17:11 +0000 (04:17 +0000)]
Update DevChapter9.c - use the Endpoint_ClearStatusStage() function where possible to reduce code size and (potentially) allow for centralized status stage timeouts.

Fix Joystick device demo HID descriptors - buttons should be placed outside the Pointer collection.

15 years agoAdd new CDCMouse ClassDriver device demo, combining a CDC Virtual Serial Port and...
Dean Camera [Tue, 3 Nov 2009 12:12:07 +0000 (12:12 +0000)]
Add new CDCMouse ClassDriver device demo, combining a CDC Virtual Serial Port and a HID Mouse.

15 years agoRename the AT90USBXXX67 internal driver directory to AVRU4U6U7.
Dean Camera [Tue, 3 Nov 2009 11:11:51 +0000 (11:11 +0000)]
Rename the AT90USBXXX67 internal driver directory to AVRU4U6U7.

15 years agoAdd const attribute to class driver APIs.
Dean Camera [Tue, 3 Nov 2009 02:06:13 +0000 (02:06 +0000)]
Add const attribute to class driver APIs.

Add new manual pages detailing the advantages of LUFA over the official Atmel USB AVR stack, and reasons why LUFA should be used over a built-from-scratch USB stack.

15 years agoMake HID device class driver ignore the previous HID report comparison buffer when...
Dean Camera [Mon, 26 Oct 2009 11:44:36 +0000 (11:44 +0000)]
Make HID device class driver ignore the previous HID report comparison buffer when the user sets it to NULL, disabling automatic report comparisons. Update HID device class driver documentation giving previous report buffer limitations.

15 years agoUse clearer buffer names in the USBtoSerial project to prevent confusion.
Dean Camera [Mon, 26 Oct 2009 11:27:13 +0000 (11:27 +0000)]
Use clearer buffer names in the USBtoSerial project to prevent confusion.

15 years agoMake HID device class driver reselect the correct endpoint after the user callbacks...
Dean Camera [Mon, 26 Oct 2009 05:27:59 +0000 (05:27 +0000)]
Make HID device class driver reselect the correct endpoint after the user callbacks have fired.

15 years agoMoved USBtoSerial demo the Projects directory, as it is simply an expanded CDC demo...
Dean Camera [Sun, 18 Oct 2009 05:35:48 +0000 (05:35 +0000)]
Moved USBtoSerial demo the Projects directory, as it is simply an expanded CDC demo. Added const qualifier to Endpoint/Pipe stream write routines.

15 years agoFix invalid Event name rule in demo/project makefiles.
Dean Camera [Fri, 16 Oct 2009 08:04:51 +0000 (08:04 +0000)]
Fix invalid Event name rule in demo/project makefiles.

15 years agoFix AudioOutput and AudioInput class driver demos' descriptors -- incorrect value...
Dean Camera [Wed, 14 Oct 2009 09:42:11 +0000 (09:42 +0000)]
Fix AudioOutput and AudioInput class driver demos' descriptors -- incorrect value was being supplied in the audio descritors field giving the number of discrete audio formats the device supports.

15 years agoMake Audio device demos compatible with AVRs running at 16MHz instead of 8MHz.
Dean Camera [Mon, 12 Oct 2009 05:59:55 +0000 (05:59 +0000)]
Make Audio device demos compatible with AVRs running at 16MHz instead of 8MHz.

Fix up demo documentation device compatibility list to be as general as possible to reduce changes required as Atmel releases more devices within the same USB AVR series.

15 years agoAdded stdio.h stream examples for the virtual CDC UART in the CDC host demos.
Dean Camera [Sun, 11 Oct 2009 06:14:08 +0000 (06:14 +0000)]
Added stdio.h stream examples for the virtual CDC UART in the CDC host demos.

Removed accidental reference to the incomplete MIDI class bootloader in the Bootloader folder makefile.

15 years agoAdd new MIDI Host Class driver to the library, and new MIDIHost ClassDriver demo.
Dean Camera [Thu, 8 Oct 2009 08:46:27 +0000 (08:46 +0000)]
Add new MIDI Host Class driver to the library, and new MIDIHost ClassDriver demo.

Make MouseHost and KeyboardHost ClassDriver demos use the HID Class driver's structures for the boot protocol Mouse/Keyboard report data, rather than rolling their own.

15 years agoApplication documentation/comment cleanup.
Dean Camera [Thu, 8 Oct 2009 07:18:28 +0000 (07:18 +0000)]
Application documentation/comment cleanup.

15 years agoAdd new MIDIHost LowLevel demo application.
Dean Camera [Thu, 8 Oct 2009 07:00:44 +0000 (07:00 +0000)]
Add new MIDIHost LowLevel demo application.

Make unfinished device mode applications use the VID/PID reserved for LUFA development devices.

15 years agoFix accidentally changed code breaking the HID descriptor parser.
Dean Camera [Mon, 5 Oct 2009 05:20:30 +0000 (05:20 +0000)]
Fix accidentally changed code breaking the HID descriptor parser.

15 years agoFix broken Endpoint/Pipe stream templates.
Dean Camera [Sun, 4 Oct 2009 07:57:15 +0000 (07:57 +0000)]
Fix broken Endpoint/Pipe stream templates.

Simplify AudioOutput demos, to reduce the number of cycles needed to process each incomming sample.

15 years agoMinor documentation fixups.
Dean Camera [Sat, 3 Oct 2009 15:30:29 +0000 (15:30 +0000)]
Minor documentation fixups.

15 years agoChanged Audio Class driver sample read/write functions to be inline, to reduce the...
Dean Camera [Sat, 3 Oct 2009 07:59:32 +0000 (07:59 +0000)]
Changed Audio Class driver sample read/write functions to be inline, to reduce the number of cycles needed to transfer samples to and from the device (allowing more time for processing and output).

Fixed ClassDriver AudioOutput demo not selecting an audio output mode.

15 years agoAdded support for the Atmel XPLAIN board.
Dean Camera [Fri, 2 Oct 2009 09:11:37 +0000 (09:11 +0000)]
Added support for the Atmel XPLAIN board.

15 years agoCleanups to the Device mode Mass Storage demo applications' SCSI routines.
Dean Camera [Fri, 2 Oct 2009 07:40:24 +0000 (07:40 +0000)]
Cleanups to the Device mode Mass Storage demo applications' SCSI routines.

15 years agoAdded pinouts to the AVRISP project for a standard ISP 6 Pin header to make construct...
Dean Camera [Thu, 1 Oct 2009 09:41:13 +0000 (09:41 +0000)]
Added pinouts to the AVRISP project for a standard ISP 6 Pin header to make construction of a standard ISP programmer easier.

15 years agoAdded new HID_HOST_BOOT_PROTOCOL_ONLY compile time token to reduce the size of the...
Dean Camera [Wed, 30 Sep 2009 08:16:42 +0000 (08:16 +0000)]
Added new HID_HOST_BOOT_PROTOCOL_ONLY compile time token to reduce the size of the HID Host Class driver when Report protocol is not needed.

15 years agoFixed issue in the HID Host class driver's HID_Host_SendReportByID() routine using...
Dean Camera [Wed, 30 Sep 2009 07:58:17 +0000 (07:58 +0000)]
Fixed issue in the HID Host class driver's HID_Host_SendReportByID() routine using the incorrect mode (control/pipe) to send report to the attached device.

15 years agoRemoved mostly useless "TestApp" demo, as it was mainly useful only for checking...
Dean Camera [Wed, 30 Sep 2009 04:40:36 +0000 (04:40 +0000)]
Removed mostly useless "TestApp" demo, as it was mainly useful only for checking for sytax errors in the library.

MIDI device demos now receive MIDI events from the host and display note ON messages via the board LEDs.

Added beginnings of a MIDI class bootloader.

15 years agoFix missing semicolons in the *WithParser Host mode demos.
Dean Camera [Tue, 29 Sep 2009 07:21:47 +0000 (07:21 +0000)]
Fix missing semicolons in the *WithParser Host mode demos.

15 years agoFix missing semicolons in the *WithParser Host mode demos.
Dean Camera [Tue, 29 Sep 2009 07:21:35 +0000 (07:21 +0000)]
Fix missing semicolons in the *WithParser Host mode demos.

15 years agoAdd information on the new MouseHostDevice dual role demo to the library documentatio...
Dean Camera [Tue, 29 Sep 2009 07:15:09 +0000 (07:15 +0000)]
Add information on the new MouseHostDevice dual role demo to the library documentation. Add a 0x prefix to the LUFA_VERSION_INTEGER define to ensure that it is stored as BCD, and not an octal value.

15 years agoRemove old OTG demo directory with useless TestApp demo. Add new DualRole directory...
Dean Camera [Tue, 29 Sep 2009 07:13:42 +0000 (07:13 +0000)]
Remove old OTG demo directory with useless TestApp demo. Add new DualRole directory with new Class Driver powered Mouse dual role demonstration application showing a dual role device using the HID host/device Class drivers.