pub/USBasp.git
16 years agoRe-add signature byte defines to the DFU and CDC class bootloaders -- the SIGNATURE_x...
Dean Camera [Sun, 21 Jun 2009 05:04:18 +0000 (05:04 +0000)]
Re-add signature byte defines to the DFU and CDC class bootloaders -- the SIGNATURE_x defines in the AVR device header files only exist in a newer version of avr-libc than is in the Debian repositories, causing build issues on Linux.

16 years agoAdd new temp LUFA project logo to the manual.
Dean Camera [Sun, 21 Jun 2009 04:48:05 +0000 (04:48 +0000)]
Add new temp LUFA project logo to the manual.

16 years agoAdded USE_INTERNAL_SERIAL compile time option to automatically read out the internal...
Dean Camera [Sat, 20 Jun 2009 11:43:26 +0000 (11:43 +0000)]
Added USE_INTERNAL_SERIAL compile time option to automatically read out the internal unique serial number as the device's serial number descriptor on supported AVR models.

16 years agoClean up RNDIS demo type define names.
Dean Camera [Fri, 19 Jun 2009 07:29:02 +0000 (07:29 +0000)]
Clean up RNDIS demo type define names.

16 years agoFix makefiles -- the auto-addition of -D switches to each LUFA compile time option...
Dean Camera [Fri, 19 Jun 2009 05:08:04 +0000 (05:08 +0000)]
Fix makefiles -- the auto-addition of -D switches to each LUFA compile time 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.

16 years agoMove LUFA compile time options to a new section in the application makefiles for...
Dean Camera [Fri, 19 Jun 2009 04:34:35 +0000 (04:34 +0000)]
Move LUFA compile time options to a new section in the application makefiles for clarity.

16 years agoExtend USB_GetDeviceConfigDescriptor() routine to require the configuration number...
Dean Camera [Fri, 19 Jun 2009 03:37:47 +0000 (03:37 +0000)]
Extend USB_GetDeviceConfigDescriptor() routine to require the configuration number within the device to fetch, to add support for multi-configuration devices.

16 years agoRe-add in simple scheduler for compatibility with legacy code, mark all scheduler...
Dean Camera [Fri, 19 Jun 2009 03:21:03 +0000 (03:21 +0000)]
Re-add in simple scheduler for compatibility with legacy code, mark all scheduler related files as deprecated.

16 years agoFix broken MagStripe project.
Dean Camera [Thu, 18 Jun 2009 10:55:04 +0000 (10:55 +0000)]
Fix broken MagStripe project.

16 years agoOops - restore deleted MissileLauncher project, fix all spelling errors for "missile...
Dean Camera [Thu, 18 Jun 2009 10:49:19 +0000 (10:49 +0000)]
Oops - restore deleted MissileLauncher project, fix all spelling errors for "missile". TODO: Learn how to actually spell.

16 years agoFix spelling of the MissileLauncher project directory.
Dean Camera [Thu, 18 Jun 2009 10:36:02 +0000 (10:36 +0000)]
Fix spelling of the MissileLauncher project directory.

16 years agoBreak device mode class driver interfaces into seperate config and state structs...
Dean Camera [Thu, 18 Jun 2009 10:31:55 +0000 (10:31 +0000)]
Break device mode class driver interfaces into seperate config and state 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.

16 years agoAdded new USB_Host_ClearPipeStall() convenience function to clear a stall condition...
Dean Camera [Thu, 18 Jun 2009 07:53:51 +0000 (07:53 +0000)]
Added new USB_Host_ClearPipeStall() convenience function to clear a stall 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().

16 years agoRemove hardcoded DOT path from all Doxygen config files.
Dean Camera [Tue, 16 Jun 2009 13:50:02 +0000 (13:50 +0000)]
Remove hardcoded DOT path from all Doxygen config files.

Better documentation for the MissleLauncher project - add credit to PyLauncher project.

16 years agoAdd MissleLauncher project to the /Projects/ makefile. Add missing MissleLauncher...
Dean Camera [Tue, 16 Jun 2009 07:25:47 +0000 (07:25 +0000)]
Add MissleLauncher project to the /Projects/ makefile. Add missing MissleLauncher Doxygen.conf file.

16 years agoPipe_GetErrorFlags() now returns additional error flags for overflow and underflow...
Dean Camera [Tue, 16 Jun 2009 07:17:22 +0000 (07:17 +0000)]
Pipe_GetErrorFlags() now returns additional error flags for overflow and 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.

16 years agoAdded USB Missle Launcher project, submitted by Dave Fletcher.
Dean Camera [Tue, 16 Jun 2009 05:53:27 +0000 (05:53 +0000)]
Added USB Missle Launcher project, submitted by Dave Fletcher.

16 years agoAdded new USB_Host_SetDeviceConfiguration() convenience function. Change over Low...
Dean Camera [Tue, 16 Jun 2009 04:20:21 +0000 (04:20 +0000)]
Added new USB_Host_SetDeviceConfiguration() convenience function. Change over Low Level host demos to use the new routine.

16 years agoMove main library documentation pages into a new ManPages subdirectory.
Dean Camera [Mon, 15 Jun 2009 13:57:57 +0000 (13:57 +0000)]
Move main library documentation pages into a new ManPages subdirectory.

16 years agoRemove ConfigDescriptor.c/.h files from the ClassDriver Host demos, as they will...
Dean Camera [Mon, 15 Jun 2009 13:42:34 +0000 (13:42 +0000)]
Remove ConfigDescriptor.c/.h files from the ClassDriver Host demos, as they will be obsoleted when the Host mode class drivers are complete. Add new StillImage stub class driver common header.

16 years agoAdd author image to library documentation.
Dean Camera [Mon, 15 Jun 2009 11:12:39 +0000 (11:12 +0000)]
Add author image to library documentation.

16 years agoUse sub pages in main library documentation to improve readability.
Dean Camera [Mon, 15 Jun 2009 11:01:58 +0000 (11:01 +0000)]
Use sub pages in main library documentation to improve readability.

16 years agoFixed broken HIDReportParser.c.
Dean Camera [Mon, 15 Jun 2009 08:58:55 +0000 (08:58 +0000)]
Fixed broken HIDReportParser.c.

16 years agoMore Doxygen fixes - ensure no undocumented function parameters.
Dean Camera [Mon, 15 Jun 2009 08:36:12 +0000 (08:36 +0000)]
More Doxygen fixes - ensure no undocumented function parameters.

16 years agoDoxygen corrections to fix Doxygen warnings in some demos.
Dean Camera [Mon, 15 Jun 2009 07:23:14 +0000 (07:23 +0000)]
Doxygen corrections to fix Doxygen warnings in some demos.

16 years agoEnhanced class drivers to use the same public/private section seperations as other...
Dean Camera [Mon, 15 Jun 2009 04:38:42 +0000 (04:38 +0000)]
Enhanced class drivers to use the same public/private section seperations as other portions of the library.

16 years agoAdd host mode USB Class driver stubs, add beginnings of a CDC host class driver.
Dean Camera [Sun, 14 Jun 2009 15:55:13 +0000 (15:55 +0000)]
Add host mode USB Class driver stubs, add beginnings of a CDC host class driver.

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.

16 years agoFix errors from last commit.
Dean Camera [Sun, 14 Jun 2009 07:57:04 +0000 (07:57 +0000)]
Fix errors from last commit.

16 years agoChanged per-device controller preprocessor checks over to per-device series for bette...
Dean Camera [Sun, 14 Jun 2009 07:44:02 +0000 (07:44 +0000)]
Changed per-device controller preprocessor checks over to per-device series for better device control.

Fixed error in Endpoint.c using HSOFI rather than SOFI for counting elapsed milliseconds.

16 years agoChanged to new device mode Class Driver function name prefixes to make way for simila...
Dean Camera [Thu, 11 Jun 2009 06:15:45 +0000 (06:15 +0000)]
Changed to new device mode Class Driver function name prefixes to make way for similar host mode Class drivers.

16 years agoSome minor whitespace corrections.
Dean Camera [Thu, 11 Jun 2009 01:52:53 +0000 (01:52 +0000)]
Some minor whitespace corrections.

16 years agoMove temp Todo list from the Changelog to a new Future Changes page in the documentation.
Dean Camera [Wed, 10 Jun 2009 07:20:08 +0000 (07:20 +0000)]
Move temp Todo list from the Changelog to a new Future Changes page in the documentation.

16 years agoFixes to the MIDI device demos (ClassDriver, LowLevel); discard unused read-in events...
Dean Camera [Wed, 10 Jun 2009 05:03:45 +0000 (05:03 +0000)]
Fixes to the MIDI device demos (ClassDriver, LowLevel); discard unused read-in events from the host, use standard MIDI event structure in low level demo rather than sending individual bytes.

16 years agoUpdated bootloaders to use the new main() function layout and remove any references...
Dean Camera [Tue, 9 Jun 2009 06:05:01 +0000 (06:05 +0000)]
Updated bootloaders to use the new main() function layout and remove any references to the scheduler to keep them in line with the rest of the library.

16 years agoCopy over schedulerless host demos to ClassDrivers directory, for later modification...
Dean Camera [Tue, 9 Jun 2009 04:30:12 +0000 (04:30 +0000)]
Copy over schedulerless host demos to ClassDrivers directory, for later modification to new Host mode USB class drivers.

16 years agoDeleted Host ClassDriver demos -- not yet started, faster to rebase new ClassDriver...
Dean Camera [Tue, 9 Jun 2009 04:27:53 +0000 (04:27 +0000)]
Deleted Host ClassDriver demos -- not yet started, faster to rebase new ClassDriver demos from the newly schedulerless LowLevel host demos rather than re-convert each demo from the previous scheduler-based implementations.

Fixes to MassStorageHost demo to improve compatibility with more USB drives.

16 years agoFinished basic documentation of all device mode class drivers.
Dean Camera [Mon, 8 Jun 2009 11:31:41 +0000 (11:31 +0000)]
Finished basic documentation of all device mode class drivers.

16 years agoCompleted documentation of the HID device class driver.
Dean Camera [Mon, 8 Jun 2009 10:35:42 +0000 (10:35 +0000)]
Completed documentation of the HID device class driver.

16 years agoFinished CDC device class driver documentation.
Dean Camera [Mon, 8 Jun 2009 10:06:49 +0000 (10:06 +0000)]
Finished CDC device class driver documentation.

16 years agoError status LEDs shown when device endpoint configuration fails to complete.
Dean Camera [Mon, 8 Jun 2009 07:46:07 +0000 (07:46 +0000)]
Error status LEDs shown when device endpoint configuration fails to complete.

MIDI device demo no longer blocks if a note change event is sent while the endpoint is not ready.

16 years agoConverted Host mode demos to schedulerless. Fixed host mode broken due to earlier...
Dean Camera [Mon, 8 Jun 2009 07:34:16 +0000 (07:34 +0000)]
Converted Host mode demos to schedulerless. Fixed host mode broken due to earlier Start-of-frame event experiments.

16 years agoConverted device mode low-level demos to schedulerless.
Dean Camera [Sun, 7 Jun 2009 07:20:33 +0000 (07:20 +0000)]
Converted device mode low-level demos to schedulerless.

16 years agoAdd master device Host demo makefile.
Dean Camera [Fri, 5 Jun 2009 08:13:19 +0000 (08:13 +0000)]
Add master device Host demo makefile.

Copy and convert incomplete Bluetooth Host demo to the library.

16 years agoDelete host mode demos from the root Host demos folder.
Dean Camera [Fri, 5 Jun 2009 07:59:24 +0000 (07:59 +0000)]
Delete host mode demos from the root Host demos folder.

16 years agoCopy existing Host mode demos to new ClassDriver and LowLevel subfolders.
Dean Camera [Fri, 5 Jun 2009 07:56:39 +0000 (07:56 +0000)]
Copy existing Host mode demos to new ClassDriver and LowLevel subfolders.

16 years agoConversion of old incomplete SideShow demo to new APIs.
Dean Camera [Fri, 5 Jun 2009 07:52:53 +0000 (07:52 +0000)]
Conversion of old incomplete SideShow demo to new APIs.

16 years agoAdd new Incomplete device subdirectory for work-in-progress demos. Add incomplete...
Dean Camera [Fri, 5 Jun 2009 07:32:40 +0000 (07:32 +0000)]
Add new Incomplete device subdirectory for work-in-progress demos. Add incomplete SideShow demo.

16 years agoRemove outdated AVRStudio project files from demos, projects, bootloaders. Fix makefi...
Dean Camera [Fri, 5 Jun 2009 07:30:23 +0000 (07:30 +0000)]
Remove outdated AVRStudio project files from demos, projects, bootloaders. Fix makefiles of ClassDriver device demos.

16 years agoMove new Class Driver powered demos to a new ClassDriver subdirectory, re-add old...
Dean Camera [Fri, 5 Jun 2009 07:16:33 +0000 (07:16 +0000)]
Move new Class Driver powered demos to a new ClassDriver subdirectory, re-add old low level demos to a LowLevel subdirectory.

16 years agoSynchronise with the 090605 release.
Dean Camera [Fri, 5 Jun 2009 06:46:23 +0000 (06:46 +0000)]
Synchronise with the 090605 release.

16 years agoAdded multiple Report ID support to the HID class driver. Removed OUT endpoint suppor...
Dean Camera [Fri, 5 Jun 2009 02:23:31 +0000 (02:23 +0000)]
Added multiple Report ID support to the HID class driver. Removed OUT 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.

16 years agoFixed EVENT_USB_CDC_ControLineStateChanged() event not taking the CDC interface struc...
Dean Camera [Thu, 4 Jun 2009 06:26:35 +0000 (06:26 +0000)]
Fixed EVENT_USB_CDC_ControLineStateChanged() event not taking the CDC interface structure as a parameter.

Converted TestApp demo over to the new demo structure.

More class driver documentation improvements.

16 years agoAdded Doxygen documentation to the Audio class driver. Added new modules for each...
Dean Camera [Thu, 4 Jun 2009 04:02:55 +0000 (04:02 +0000)]
Added Doxygen documentation to the Audio class driver. Added new modules for each of the new device class drivers to the library documentation.

16 years agoFix Doxygen errors in demos.
Dean Camera [Thu, 4 Jun 2009 03:12:07 +0000 (03:12 +0000)]
Fix Doxygen errors in demos.

16 years agoEnsure all USB device class drivers have the same three main functions as their inter...
Dean Camera [Thu, 4 Jun 2009 03:03:48 +0000 (03:03 +0000)]
Ensure all USB device class drivers have the same three main functions as their interface for consistency.

16 years agoMinor documentation page updates.
Dean Camera [Thu, 4 Jun 2009 02:55:30 +0000 (02:55 +0000)]
Minor documentation page updates.

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.

16 years agoRemoved new Start of Frame event from the library; performance suffered far too much...
Dean Camera [Tue, 2 Jun 2009 10:54:32 +0000 (10:54 +0000)]
Removed new Start of Frame event from the library; performance suffered far 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.

16 years agoAdd MIDI class driver, update MIDI device demo to use the new USB class driver. All...
Dean Camera [Mon, 1 Jun 2009 12:01:53 +0000 (12:01 +0000)]
Add MIDI class driver, update MIDI device demo to use the new USB class driver. All device demos/projects have now been converted to the new library class drivers, although documentation is yet to be completed.

16 years agoCommit of new class abstraction APIs for all device demos other than the MIDI demo...
Dean Camera [Mon, 1 Jun 2009 11:03:39 +0000 (11:03 +0000)]
Commit of new class abstraction APIs for all device demos other than the 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.

16 years agoFix broken Host mode, from the recent API changes.
Dean Camera [Tue, 26 May 2009 05:16:02 +0000 (05:16 +0000)]
Fix broken Host mode, from the recent API changes.

16 years agoFix all device mode demos broken in the recent API changes.
Dean Camera [Tue, 26 May 2009 04:46:35 +0000 (04:46 +0000)]
Fix all device mode demos broken in the recent API changes.

Change USBtoSerial Tx to polling-driven rather than interrupt driven, to ensure more time for the Rx interrupt to be serviced.

16 years agoMoved out each demos' functionality library files (e.g. Ring Buffer library) to ...
Dean Camera [Fri, 22 May 2009 06:17:57 +0000 (06:17 +0000)]
Moved out each demos' functionality library files (e.g. Ring Buffer library) to /Lib directories for a better directory structure.

16 years agoDeleted StdDescriptors.c, renamed USB_GetDescriptor() to CALLBACK_USB_GetDescriptor...
Dean Camera [Fri, 22 May 2009 05:23:00 +0000 (05:23 +0000)]
Deleted StdDescriptors.c, renamed USB_GetDescriptor() to 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.

16 years agoFixed incorrect PID value being used in the USBtoSerial project (thanks to Phill).
Dean Camera [Wed, 20 May 2009 14:50:26 +0000 (14:50 +0000)]
Fixed incorrect PID value being used in the USBtoSerial project (thanks to Phill).

16 years agoFix broken doxygen reference in last commit.
Dean Camera [Tue, 19 May 2009 10:36:39 +0000 (10:36 +0000)]
Fix broken doxygen reference in last commit.

16 years agoUSB_IsConnected is now cleared before the USB_Disconnect() event is fired in response...
Dean Camera [Tue, 19 May 2009 10:33:29 +0000 (10:33 +0000)]
USB_IsConnected is now cleared before the USB_Disconnect() event is fired in response to VBUS being removed.

Minor documentation improvements.

16 years agoRewritten event system to remove all macros, to make user code clearer.
Dean Camera [Mon, 18 May 2009 10:05:21 +0000 (10:05 +0000)]
Rewritten event system to remove all macros, to make user code clearer.

Fixed incorrect ENDPOINT_EPNUM_MASK mask preventing endpoints above EP3 from being selected (thanks to Jonathan Oakley).

Removed STREAM_CALLBACK() macro - callbacks now use regular function definitions to clarify user code.

Removed DESCRIPTOR_COMPARATOR() macro - comparators should now use regular function definitions to clarify user code.

16 years agoRemoved DESCRIPTOR_ADDRESS() macro as it was largely supurflous and only served to...
Dean Camera [Sun, 17 May 2009 07:44:00 +0000 (07:44 +0000)]
Removed DESCRIPTOR_ADDRESS() macro as it was largely supurflous and only served to obfuscate code.

16 years agoCreate a new function pointer type in StreamCallbacks.h for endpoint/pipe stream...
Dean Camera [Fri, 15 May 2009 12:27:32 +0000 (12:27 +0000)]
Create a new function pointer type in StreamCallbacks.h for endpoint/pipe stream callbacks, to make stream function prototypes clearer.

16 years agoFix to previous patch (make CDCHost demo deallocate pipes when an invalid CDC interfa...
Dean Camera [Fri, 15 May 2009 08:02:30 +0000 (08:02 +0000)]
Fix to previous patch (make CDCHost demo deallocate pipes when an invalid CDC interface is skipped).

Remove the saving of the USB_GetNextDescriptorComp() return value in all host demos, since it went unused anyway; replaced with a simple check against the success error code for clarity.

16 years agoFixed CDCHost not clearing configured endpoints and resetting configured endpoints...
Dean Camera [Fri, 15 May 2009 07:38:35 +0000 (07:38 +0000)]
Fixed CDCHost not clearing configured endpoints and resetting configured endpoints mask when a partially enumerated invalid CDC interface is skipped.

16 years agoRemoved all user pipe/endpoint interrupt APIs, added internal library support for...
Dean Camera [Thu, 14 May 2009 10:07:08 +0000 (10:07 +0000)]
Removed all user pipe/endpoint interrupt APIs, added internal library support for interrupt driven control endpoints when in device mode by defining INTERRUPT_CONTROL_ENDPOINT token and passing it to the compiler via the -D switch.

16 years agoFixed Device Mode not handling Set Feature and Clear Feature Chapter 9 requests that...
Dean Camera [Wed, 13 May 2009 22:40:08 +0000 (22:40 +0000)]
Fixed Device Mode not handling Set Feature and Clear Feature Chapter 9 requests that are addressed to the device (thanks to Brian Dickman).

16 years agoMoved USB Host state machine code out from USBTask.c and into Host.c, where it more...
Dean Camera [Wed, 13 May 2009 14:13:57 +0000 (14:13 +0000)]
Moved USB Host state machine code out from USBTask.c and into Host.c, where it more properly belongs.

16 years agoRemove remainder of data pipe interrupt management code from the host demos.
Dean Camera [Tue, 12 May 2009 12:59:57 +0000 (12:59 +0000)]
Remove remainder of data pipe interrupt management code from the host demos.

16 years agoFixed Mouse and Keyboard device demos not acting in accordance with the HID specifica...
Dean Camera [Tue, 12 May 2009 08:28:02 +0000 (08:28 +0000)]
Fixed Mouse and Keyboard device demos not acting in accordance with the HID specification for idle periods (thanks to Brian Dickman).

Removed support for endpoint/pipe non-control interrupts; these did not act in the way users expected, and had many subtle issues.

16 years agoFixed RNDISEthernet not working under Linux due to Linux requiring an "optional"...
Dean Camera [Mon, 11 May 2009 08:58:53 +0000 (08:58 +0000)]
Fixed RNDISEthernet not working under Linux due to Linux requiring an "optional" request which was unhandled.

16 years agoFixed bug in RNDISEthernet and DualCDC demos not using the correct USB_ControlRequest...
Dean Camera [Mon, 11 May 2009 07:52:13 +0000 (07:52 +0000)]
Fixed bug in RNDISEthernet and DualCDC demos not using the correct USB_ControlRequest structure for control request data.

Fixed documentation showing incorrect USB mode support on the supported AVRs list.

16 years agoFix broken Set Feature/Clear Feature chapter 9 request (incorrect status stage clearing).
Dean Camera [Sun, 10 May 2009 05:23:35 +0000 (05:23 +0000)]
Fix broken Set Feature/Clear Feature chapter 9 request (incorrect status stage clearing).

Commit for the 090510 release.

16 years agoRenamed the the TotalHIDReports element of the HID descriptor structure in the HID...
Dean Camera [Thu, 7 May 2009 22:33:36 +0000 (22:33 +0000)]
Renamed the the TotalHIDReports element of the HID descriptor structure in the HID class demos to TotalReportDescriptors, to be more accurate of the element's function (thanks to Brian Dickman).

16 years agoSerial driver now correctly calculates the baud register value when in double speed...
Dean Camera [Thu, 7 May 2009 11:12:23 +0000 (11:12 +0000)]
Serial driver now correctly calculates the baud register value when in double speed mode.

Init function of the Serial driver is now static inline to product smaller code for the common-case of static init.

16 years agoFix build errors in Joystick device demo and library LEDs driver (on *nix systems).
Dean Camera [Thu, 7 May 2009 06:33:07 +0000 (06:33 +0000)]
Fix build errors in Joystick device demo and library LEDs driver (on *nix systems).

16 years agoFixed inability to enumerate any devices while in host mode (broken in a previous...
Dean Camera [Thu, 7 May 2009 05:30:19 +0000 (05:30 +0000)]
Fixed inability to enumerate any devices while in host mode (broken in a previous commit).

16 years agoMinor correction to the DevChapter9.c handling of Set and Clear feature requests...
Dean Camera [Wed, 6 May 2009 13:17:38 +0000 (13:17 +0000)]
Minor correction to the DevChapter9.c handling of Set and Clear feature requests -- remote wake up requests now complete correctly rather than stalling the request.

16 years agoChange device demos to cache the board button values in the same manner as the board...
Dean Camera [Wed, 6 May 2009 12:43:00 +0000 (12:43 +0000)]
Change device demos to cache the board button values in the same manner as the board joystick to maintain consistency.

16 years agoChanged HWB board driver to Buttons driver, to allow for the support of future boards...
Dean Camera [Wed, 6 May 2009 07:50:34 +0000 (07:50 +0000)]
Changed HWB board driver to Buttons driver, to allow for the support of future boards with more than one mounted GPIO button.

16 years agoFixed missing semicolon in the ATAVRUSBRF01 LED board driver code, changed LED board...
Dean Camera [Tue, 5 May 2009 14:02:02 +0000 (14:02 +0000)]
Fixed missing semicolon in the ATAVRUSBRF01 LED board driver code, changed LED board driver code to define dummy LED masks for the first four board LEDs so that user code can be compiled for boards with less than four LEDs without code modifications (thanks to Morten Lund).

16 years agoChanged PIPE_CONTROLPIPE_DEFAULT_SIZE from 8 to 64 to try to prevent problems with...
Dean Camera [Mon, 4 May 2009 12:55:00 +0000 (12:55 +0000)]
Changed PIPE_CONTROLPIPE_DEFAULT_SIZE from 8 to 64 to try to prevent problems with faulty devices which do not respect the given wLength value when reading in the device descriptor.

Further documentation improvements - removed file view from the main library documentation, replaced file references in the documentation with group references.

16 years agoFix build errors in host demos due to usage of pipe error codes which have now been...
Dean Camera [Sun, 3 May 2009 14:34:20 +0000 (14:34 +0000)]
Fix build errors in host demos due to usage of pipe error codes which have now been renamed.

16 years agoFixed naming of OTG.h functions, to make them consistent with the rest of the library...
Dean Camera [Sun, 3 May 2009 14:24:34 +0000 (14:24 +0000)]
Fixed naming of OTG.h functions, to make them consistent with the rest of the library API.

16 years agoMore minor renaming of library enums and events to try to create a consistent API.
Dean Camera [Sun, 3 May 2009 14:17:24 +0000 (14:17 +0000)]
More minor renaming of library enums and events to try to create a consistent API.

16 years agoFixed Endpoint_Write_Control_* functions writing more data than expected by the host...
Dean Camera [Sat, 2 May 2009 13:05:25 +0000 (13:05 +0000)]
Fixed Endpoint_Write_Control_* functions writing more data than expected by the host, causing it to panic (thanks to Johannes Raschke).

16 years agoFixed reversed signature byte ordering in the CDC bootloader (thanks to Johannes...
Dean Camera [Sat, 2 May 2009 05:49:15 +0000 (05:49 +0000)]
Fixed reversed signature byte ordering in the CDC bootloader (thanks to Johannes Raschke).

16 years agoFix minor build errors.
Dean Camera [Fri, 1 May 2009 05:20:23 +0000 (05:20 +0000)]
Fix minor build errors.

16 years agoFixed SPI driver init function not clearing SPI2X bit when not needed.
Dean Camera [Sun, 26 Apr 2009 10:29:59 +0000 (10:29 +0000)]
Fixed SPI driver init function not clearing SPI2X bit when not needed.

Fixed PREVENT ALLOW MEDIUM REMOVAL command issuing in the MassStorageHost demo using incorrect parameters (thanks to Mike Alex).

Fixed MassStorageHost demo broken due to an incorrect if statement test in MassStore_GetReturnedStatus().

16 years agoMove the length decrements in the pipe and endpoint stream functions to the point...
Dean Camera [Sun, 26 Apr 2009 05:01:06 +0000 (05:01 +0000)]
Move the length decrements in the pipe and endpoint stream functions to the point at which the buffers are operated on, to prevent decrements during iterations where no data is exchanged (thanks to Francisco Moraes).

16 years agoEndpoint configuration is now refined to give better output when all configurations...
Dean Camera [Fri, 24 Apr 2009 07:28:51 +0000 (07:28 +0000)]
Endpoint configuration is now refined to give better output when all configurations have static inputs - removed the now useless STATIC_ENDPOINT_CONFIGURATION compile time token.

16 years agoFixed USB_RemoteWakeupEnabled flag never being set (the REMOTE WAKEUP Set Feature...
Dean Camera [Thu, 23 Apr 2009 13:28:12 +0000 (13:28 +0000)]
Fixed USB_RemoteWakeupEnabled flag never being set (the REMOTE WAKEUP Set Feature request was not being handled).

Renamed the FEATURELESS_CONTROL_ONLY_DEVICE compile-time token to CONTROL_ONLY_DEVICE.

16 years agoDocumentation enhancements to improve documentation cross-references.
Dean Camera [Wed, 22 Apr 2009 14:28:55 +0000 (14:28 +0000)]
Documentation enhancements to improve documentation cross-references.

16 years agoApplied STATIC_ENDPOINT_CONFIGURATION and FIXED_CONTROL_SIZE tokens to all Device...
Dean Camera [Wed, 22 Apr 2009 13:30:03 +0000 (13:30 +0000)]
Applied STATIC_ENDPOINT_CONFIGURATION and FIXED_CONTROL_SIZE tokens to all Device mode demos to reduce binary size.