pub/USBasp.git
13 years agoCommit for the 111009 release. LUFA-111009
Dean Camera [Mon, 10 Oct 2011 10:04:25 +0000 (10:04 +0000)]
Commit for the 111009 release.

13 years agoFixed port state table corruption in the TCP layer of the RNDIS Ethernet device demos.
Dean Camera [Sun, 9 Oct 2011 13:14:53 +0000 (13:14 +0000)]
Fixed port state table corruption in the TCP layer of the RNDIS Ethernet device demos.

Fix additional warnings under GCC 4.6.

13 years agoPrevent written but unused variable warnings on GCC 4.6 with dummy reads.
Dean Camera [Sun, 9 Oct 2011 12:54:50 +0000 (12:54 +0000)]
Prevent written but unused variable warnings on GCC 4.6 with dummy reads.

13 years agoUSB XMEGA support improvements; add DFLL clock platform support, ensure the endpoint...
Dean Camera [Fri, 7 Oct 2011 05:52:35 +0000 (05:52 +0000)]
USB XMEGA support improvements; add DFLL clock platform support, ensure the endpoint table is correctly aligned and configured in the USB controller.

13 years agoAdded reliability patches to the AVRISP-MKII Clone project's ISP and PDI/TPI protocol...
Dean Camera [Fri, 7 Oct 2011 04:40:56 +0000 (04:40 +0000)]
Added reliability patches to the AVRISP-MKII Clone project's ISP and PDI/TPI protocols (thanks to Justin Mattair).

13 years agoFix incorrect function call name in USB_Host_SendControlRequest() for AVR8 devices.
Dean Camera [Fri, 7 Oct 2011 04:38:53 +0000 (04:38 +0000)]
Fix incorrect function call name in USB_Host_SendControlRequest() for AVR8 devices.

13 years agoAdded endian-correction to the CDC driver's Line Encoding control request handlers.
Dean Camera [Fri, 7 Oct 2011 03:47:42 +0000 (03:47 +0000)]
Added endian-correction to the CDC driver's Line Encoding control request handlers.

13 years agoFix compile errors for the USB XMEGA parts when the USB driver is used.
Dean Camera [Tue, 4 Oct 2011 11:40:55 +0000 (11:40 +0000)]
Fix compile errors for the USB XMEGA parts when the USB driver is used.

Add core support for the ATXMEGA64A1U.

Minor documentation corrections.

13 years agoFix compile error on the UC3 targets when INTERRUPT_CONTROL_ENDPOINT compile time...
Dean Camera [Wed, 28 Sep 2011 13:24:08 +0000 (13:24 +0000)]
Fix compile error on the UC3 targets when INTERRUPT_CONTROL_ENDPOINT compile time option is used (thanks to Ian Woloschin).

Small size improvement for Little Endian devices when USB host mode is used.

Minor documentation fixes.

13 years agoAdd missing "used" attribute to ATTR_INIT_SECTION to ensure functions declared with...
Dean Camera [Thu, 22 Sep 2011 05:55:32 +0000 (05:55 +0000)]
Add missing "used" attribute to ATTR_INIT_SECTION to ensure functions declared with that meta-attribute are not discarded by the linker.

Add missing function and definition documentation.

13 years agoFix missing C++ linkage command in ArchitectureSpecific.h.
Dean Camera [Wed, 21 Sep 2011 23:40:05 +0000 (23:40 +0000)]
Fix missing C++ linkage command in ArchitectureSpecific.h.

Fix missing closing brace in an Endpoint function for the UC3 targets.

13 years agoAdd project name to the Doxygen makefile target output.
Dean Camera [Wed, 21 Sep 2011 06:45:09 +0000 (06:45 +0000)]
Add project name to the Doxygen makefile target output.

13 years agoCommit for the 111009 BETA release.
Dean Camera [Wed, 21 Sep 2011 06:28:42 +0000 (06:28 +0000)]
Commit for the 111009 BETA release.

13 years agoAdd const qualifier to all PROGMEM data to prevent warnings in newer AVR-GCC compiler...
Dean Camera [Wed, 21 Sep 2011 06:25:31 +0000 (06:25 +0000)]
Add const qualifier to all PROGMEM data to prevent warnings in newer AVR-GCC compiler versions.

13 years agoFix Class Driver GenericHID demo using the wrong size for the returned reports.
Dean Camera [Wed, 21 Sep 2011 06:09:07 +0000 (06:09 +0000)]
Fix Class Driver GenericHID demo using the wrong size for the returned reports.

13 years agoFixed HID Parser's largest report size bit count not including the size of the last...
Dean Camera [Sat, 17 Sep 2011 13:07:21 +0000 (13:07 +0000)]
Fixed HID Parser's largest report size bit count not including the size of the last parsed report item.

Fixed HID host driver's largest HID report size count corrupt when the number of report bits exceeds 255.

13 years agoFixed incorrect buffer size check in the USBtoSerial project (thanks to Yuri A Nikifo...
Dean Camera [Wed, 7 Sep 2011 12:05:37 +0000 (12:05 +0000)]
Fixed incorrect buffer size check in the USBtoSerial project (thanks to Yuri A Nikiforov).

13 years agoFixed optimization error in the HID Parser item value USB_SetHIDReportItemInfo()...
Dean Camera [Wed, 7 Sep 2011 10:18:49 +0000 (10:18 +0000)]
Fixed optimization error in the HID Parser item value USB_SetHIDReportItemInfo() and USB_GetHIDReportItemInfo() routines if the report item was NULL (which should be allowable according to the API).

Fixed HID Parser CALLBACK_HIDParser_FilterHIDReportItem() callback function not being passed a cacheable report item pointer.

13 years agoOops - restore conditional calls to USB_USBTask() in the Mass Storage class driver...
Dean Camera [Mon, 5 Sep 2011 22:22:19 +0000 (22:22 +0000)]
Oops - restore conditional calls to USB_USBTask() in the Mass Storage class driver for the non-stream loops.

13 years agoUpdate the TempDataLogger project and driver documentation to use the new TWI_BITLENG...
Dean Camera [Fri, 2 Sep 2011 04:41:43 +0000 (04:41 +0000)]
Update the TempDataLogger project and driver documentation to use the new TWI_BITLENGTH_FROM_FREQ() macro.

13 years agoAdd new TWI_BITLENGTH_FROM_FREQ() macro to the AVR8 TWI peripheral driver.
Dean Camera [Fri, 2 Sep 2011 04:38:56 +0000 (04:38 +0000)]
Add new TWI_BITLENGTH_FROM_FREQ() macro to the AVR8 TWI peripheral driver.

Change Delay_MS() to accept a 16-bit parameter rather than an 8-bit parameter for longer possible delays.

Minor documentation improvements.

13 years agoMake TWI_ReadPacket() use a repeated start condition rather than a full bus release...
Dean Camera [Wed, 31 Aug 2011 07:17:33 +0000 (07:17 +0000)]
Make TWI_ReadPacket() use a repeated start condition rather than a full bus release/recapture after the read address has been sent.

Fix TWI_ReadPacket() not releasing the bus correctly after all data transferred.

Make TWI_SendByte() and TWI_ReceiveByte() non-inline to reduce compiled binary size.

13 years agoMove documentation for the USB_HOST_TIMEOUT_MS into the HostStandardReq module where...
Dean Camera [Sun, 28 Aug 2011 03:44:22 +0000 (03:44 +0000)]
Move documentation for the USB_HOST_TIMEOUT_MS into the HostStandardReq module where it is used.

13 years agoRemove redundant prototype for Audio_Host_StartStopStreaming() and Audio_Host_GetSetE...
Dean Camera [Sun, 28 Aug 2011 01:40:36 +0000 (01:40 +0000)]
Remove redundant prototype for Audio_Host_StartStopStreaming() and Audio_Host_GetSetEndpointProperty(). Update host mode Audio class inline functions to prevent unused parameter warnings.

13 years agoRenamed USB_Host_ClearPipeStall() to USB_Host_ClearEndpointStall() as the function...
Dean Camera [Wed, 24 Aug 2011 09:50:21 +0000 (09:50 +0000)]
Renamed USB_Host_ClearPipeStall() to USB_Host_ClearEndpointStall() as the function works on an endpoint address within the attached device, and not a Pipe within the host.

Updated MS_Host_ResetMSInterface() to now perform a full Mass Storage reset sequence to prevent data corruption in the event of a device lock up or timeout (thanks to David Lyons).

Add parenthesis around the library Endianness macros that do nothing on a particular architecture to prevent operator precedence issues depending on usage.

Minor documentation corrections.

13 years agoMinor documentation fixes.
Dean Camera [Tue, 23 Aug 2011 10:39:04 +0000 (10:39 +0000)]
Minor documentation fixes.

Add extra parenthesis around terms in the common MIN() and MAX() macros to prevent issues with non-trivial macro inputs (thanks to David Lyons).

13 years agoAdd multiple axis support to the HID joystick report in the HID_DESCRIPTOR_JOYSTICK...
Dean Camera [Tue, 23 Aug 2011 07:07:34 +0000 (07:07 +0000)]
Add multiple axis support to the HID joystick report in the HID_DESCRIPTOR_JOYSTICK() macro.

13 years agoRenamed the JTAG_DEBUG_ASSERT() macro to JTAG_ASSERT().
Dean Camera [Mon, 22 Aug 2011 13:03:56 +0000 (13:03 +0000)]
Renamed the JTAG_DEBUG_ASSERT() macro to JTAG_ASSERT().

Changed the reports in the GenericHID device demos to control the board LEDs, to reduce user confusion over the callback routines.

Fixed swapped TWI_ADDRESS_READ and TWI_ADDRESS_WRITE values.

Fixed TWI_ReadPacket() not releasing the TWI bus on read completion.

13 years agoMinor documentation corrections.
Dean Camera [Fri, 19 Aug 2011 06:11:39 +0000 (06:11 +0000)]
Minor documentation corrections.

13 years agoImprove device support documentation in the manual; split out each architecture into...
Dean Camera [Fri, 19 Aug 2011 06:04:39 +0000 (06:04 +0000)]
Improve device support documentation in the manual; split out each architecture into a different sub-page of the Device Support section of the manual, add in table to indicate USB mode support for each microcontroller model.

13 years agoFix TWI peripheral driver example code in the library documentation.
Dean Camera [Fri, 19 Aug 2011 04:11:38 +0000 (04:11 +0000)]
Fix TWI peripheral driver example code in the library documentation.

13 years agoMinor documentation corrections.
Dean Camera [Wed, 17 Aug 2011 14:51:05 +0000 (14:51 +0000)]
Minor documentation corrections.

13 years agoPull out architecture specific macros and other definitions into a new common header...
Dean Camera [Tue, 16 Aug 2011 05:53:04 +0000 (05:53 +0000)]
Pull out architecture specific macros and other definitions into a new common header file. Add new JTAG_DISABLE() macro for the AVR8s to software-disable JTAG debugging using cycle-safe assembly code.

13 years agoAdd shortcuts to SwapEndian_16() and SwapEndian_32() internal functions to improve...
Dean Camera [Tue, 16 Aug 2011 05:00:45 +0000 (05:00 +0000)]
Add shortcuts to SwapEndian_16() and SwapEndian_32() internal functions to improve optimization if called with constant inputs.

13 years agoFix TempDataLogger project logging interval always being 500ms more than the requeste...
Dean Camera [Tue, 16 Aug 2011 04:07:39 +0000 (04:07 +0000)]
Fix TempDataLogger project logging interval always being 500ms more than the requested interval.

13 years agoSet HOST_DEVICE_SETTLE_DELAY_MS to zero for the incomplete AndroidAccessoryHost demo...
Dean Camera [Tue, 9 Aug 2011 16:38:35 +0000 (16:38 +0000)]
Set HOST_DEVICE_SETTLE_DELAY_MS to zero for the incomplete AndroidAccessoryHost demo to prevent a timeout on the Android device from aborting Accessory mode after a command it sent to switch modes (thanks to Opendous Inc).

13 years agoUpdate LUFAConfig.h with missing options for the AVR32 target.
Dean Camera [Thu, 4 Aug 2011 05:32:17 +0000 (05:32 +0000)]
Update LUFAConfig.h with missing options for the AVR32 target.

Add Binary Page Mode fuse command bytes to the AT45DB642D.h Dataflash header.

13 years agoFixed incorrect Dataflash buffer use in the DataflashManager_WriteBlocks_RAM() functi...
Dean Camera [Sat, 30 Jul 2011 02:49:59 +0000 (02:49 +0000)]
Fixed incorrect Dataflash buffer use in the DataflashManager_WriteBlocks_RAM() function of several demos/projects (thanks to Jeremy Willden).

13 years agoRemove redundant calls to USB_USBTask() in the Mass Storage Device Class driver when...
Dean Camera [Fri, 29 Jul 2011 08:12:00 +0000 (08:12 +0000)]
Remove redundant calls to USB_USBTask() in the Mass Storage Device Class driver when INTERRUPT_CONTROL_ENDPOINT is not used, as this is done inside the stream callbacks.

Fix implementations of Endpoint_SetEndpointDirection() and Endpoint_GetEndpointDirection() for the AVR8 architecture.

13 years agoAdded new VTARGET_USE_INTERNAL_REF configuration option to the AVRISP-MKII clone...
Dean Camera [Tue, 26 Jul 2011 03:07:32 +0000 (03:07 +0000)]
Added new VTARGET_USE_INTERNAL_REF configuration option to the AVRISP-MKII clone project (thanks to Volker Bosch).

13 years agoAdd INTERRUPT_CONTROL_ENDPOINT compile time option support for the UC3 devices.
Dean Camera [Mon, 25 Jul 2011 09:56:21 +0000 (09:56 +0000)]
Add INTERRUPT_CONTROL_ENDPOINT compile time option support for the UC3 devices.

13 years agoFixed USB_USBTask not being called internally in stream transfers between packets...
Dean Camera [Mon, 25 Jul 2011 01:11:24 +0000 (01:11 +0000)]
Fixed USB_USBTask not being called internally in stream transfers between packets when Partial Stream Transfers are used.

Remove old unused function prototype in the LowLevel MassStorage device demo.

13 years agoRemoved the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ENDPOINT_DIR_...
Dean Camera [Tue, 19 Jul 2011 07:02:19 +0000 (07:02 +0000)]
Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors.

13 years agoAdd support for the ORDERED_EP_CONFIG compile time token on the UC3 architecture.
Dean Camera [Tue, 19 Jul 2011 02:42:27 +0000 (02:42 +0000)]
Add support for the ORDERED_EP_CONFIG compile time token on the UC3 architecture.

13 years agoMove out the EP_TYPE_* macros to the base USBController.h header, as these are used...
Dean Camera [Tue, 19 Jul 2011 02:15:36 +0000 (02:15 +0000)]
Move out the EP_TYPE_* macros to the base USBController.h header, as these are used in the device descriptors as well and thus must not be changed.

13 years agoFix names of XMEGA ClockManagement driver functions.
Dean Camera [Mon, 18 Jul 2011 09:24:50 +0000 (09:24 +0000)]
Fix names of XMEGA ClockManagement driver functions.

Remove V2 branch for now, to concentrate on a V1 implementation of the USB XMEGAs before large-scale API alterations.

13 years agoMore USB XMEGA porting for Endpoint control.
Dean Camera [Mon, 18 Jul 2011 07:03:47 +0000 (07:03 +0000)]
More USB XMEGA porting for Endpoint control.

13 years agoAdd missing SVN eol-style property to files where it was missing.
Dean Camera [Fri, 15 Jul 2011 08:46:08 +0000 (08:46 +0000)]
Add missing SVN eol-style property to files where it was missing.

13 years agoAdd option to the USB XMEGAs to set the USB bus interrupt priority level.
Dean Camera [Fri, 15 Jul 2011 08:29:25 +0000 (08:29 +0000)]
Add option to the USB XMEGAs to set the USB bus interrupt priority level.

13 years agoComplete USB XMEGA interrupt control subsystem code in the core USB driver.
Dean Camera [Fri, 15 Jul 2011 08:10:51 +0000 (08:10 +0000)]
Complete USB XMEGA interrupt control subsystem code in the core USB driver.

Automatically load in the USB calibration bytes from the User Signature Row on start-up.

Create internal SRAM variable for the endpoint control and status register table, used by the XMEGA USB controller hardware.

13 years agoComplete initial revision of the XMEGA Clock Management platform driver.
Dean Camera [Thu, 14 Jul 2011 11:31:12 +0000 (11:31 +0000)]
Complete initial revision of the XMEGA Clock Management platform driver.

Start the USB clock source generator inside USB_ResetInterface() for XMEGA devices.

13 years agoAdd XMEGA to the LUFA core library makefile's list of architectures, so that the...
Dean Camera [Thu, 14 Jul 2011 08:56:41 +0000 (08:56 +0000)]
Add XMEGA to the LUFA core library makefile's list of architectures, so that the XMEGA files are properly cleaned on request.

13 years agoUpdate UC3 platform driver support to use the bitmasks defined in the header files...
Dean Camera [Thu, 14 Jul 2011 08:30:33 +0000 (08:30 +0000)]
Update UC3 platform driver support to use the bitmasks defined in the header files over raw constants.

Start implementation of XMEGA platform drivers.

13 years agoMore XMEGA USB AVR device port work - re-add missing Endpoint stream functions, remov...
Dean Camera [Thu, 14 Jul 2011 07:28:32 +0000 (07:28 +0000)]
More XMEGA USB AVR device port work - re-add missing Endpoint stream functions, remove unnecessary internal functions.

13 years agoImplementation of several key core USB driver functions for the new USB XMEGA devices.
Dean Camera [Thu, 14 Jul 2011 07:19:30 +0000 (07:19 +0000)]
Implementation of several key core USB driver functions for the new USB XMEGA devices.

13 years agoCorrect the maximum banks per endpoint information macros for the UC3A3 and UC3A4...
Dean Camera [Thu, 14 Jul 2011 07:18:31 +0000 (07:18 +0000)]
Correct the maximum banks per endpoint information macros for the UC3A3 and UC3A4 devices.

13 years agoAdd support for triple endpoint/pipe bank AVR32 UC3 devices.
Dean Camera [Thu, 14 Jul 2011 05:38:32 +0000 (05:38 +0000)]
Add support for triple endpoint/pipe bank AVR32 UC3 devices.

13 years agoAdd missing ENDPOINT_DETAILS_EP7 macro for the UC3A3/UC3A4 devices.
Dean Camera [Thu, 14 Jul 2011 05:27:50 +0000 (05:27 +0000)]
Add missing ENDPOINT_DETAILS_EP7 macro for the UC3A3/UC3A4 devices.

MultiArchDemos: Correct usage of updated INTC_RegisterGroupHandler() in the ported demos.

13 years agoAdded Device Qualifier standard descriptor structure definitions USB_StdDescriptor_De...
Dean Camera [Thu, 14 Jul 2011 03:18:30 +0000 (03:18 +0000)]
Added Device Qualifier standard descriptor structure definitions USB_StdDescriptor_DeviceQualifier_t and USB_Descriptor_DeviceQualifier_t.

13 years agoAdd high speed USB support for the UC3 devices containing a high speed USB controller.
Dean Camera [Thu, 14 Jul 2011 02:58:07 +0000 (02:58 +0000)]
Add high speed USB support for the UC3 devices containing a high speed USB controller.

Add device support preprocessor checks and use symbolic bit names in the UC3 platform clock management driver.

13 years agoFix compile errors in the UC3 platform support due to a forward reference and an...
Dean Camera [Thu, 14 Jul 2011 00:26:11 +0000 (00:26 +0000)]
Fix compile errors in the UC3 platform support due to a forward reference and an incorrect function prototype.

13 years agoAdd new STRINGIFY() and STRINGIFY_EXPANDED() convenience macros.
Dean Camera [Thu, 14 Jul 2011 00:11:51 +0000 (00:11 +0000)]
Add new STRINGIFY() and STRINGIFY_EXPANDED() convenience macros.

13 years agoAdd start of an architecture port to the Atmel USB XMEGA devices.
Dean Camera [Wed, 13 Jul 2011 23:50:05 +0000 (23:50 +0000)]
Add start of an architecture port to the Atmel USB XMEGA devices.

13 years agoRemove unneeded #include of Device.h in StdDescriptors.h breaking compilation for...
Dean Camera [Wed, 13 Jul 2011 07:23:07 +0000 (07:23 +0000)]
Remove unneeded #include of Device.h in StdDescriptors.h breaking compilation for some user projects.

13 years agoEnhance and document the AVR32 UC3 platform drivers.
Dean Camera [Tue, 12 Jul 2011 13:32:11 +0000 (13:32 +0000)]
Enhance and document the AVR32 UC3 platform drivers.

13 years agoMinor documentation fixes.
Dean Camera [Tue, 12 Jul 2011 10:11:52 +0000 (10:11 +0000)]
Minor documentation fixes.

13 years agoFixed error in the pipe unordered allocation algorithm for the AVR8 devices breaking...
Dean Camera [Tue, 12 Jul 2011 07:22:36 +0000 (07:22 +0000)]
Fixed error in the pipe unordered allocation algorithm for the AVR8 devices breaking compatibility with some devices.

13 years agoAdd more missing function attributes to the TWI peripheral driver.
Dean Camera [Tue, 12 Jul 2011 05:18:10 +0000 (05:18 +0000)]
Add more missing function attributes to the TWI peripheral driver.

Fix incorrect standard request name in the host standard request driver.

13 years agoAdd missing function attributes.
Dean Camera [Tue, 12 Jul 2011 05:13:31 +0000 (05:13 +0000)]
Add missing function attributes.

13 years agoAdded new USB_Host_GetDeviceStatus() function for USB Host mode.
Dean Camera [Tue, 12 Jul 2011 04:52:21 +0000 (04:52 +0000)]
Added new USB_Host_GetDeviceStatus() function for USB Host mode.

13 years agoAdd missing function attributes to the RingBuffer driver to reduce the chances of...
Dean Camera [Mon, 11 Jul 2011 11:16:57 +0000 (11:16 +0000)]
Add missing function attributes to the RingBuffer driver to reduce the chances of invalid usage.

Fix duplicated LED driver functions in the Doxygen documentation.

13 years agoMore endianness porting of the LUFA host mode class drivers.
Dean Camera [Mon, 11 Jul 2011 10:44:34 +0000 (10:44 +0000)]
More endianness porting of the LUFA host mode class drivers.

13 years agoMore endianness porting of the LUFA device mode class drivers.
Dean Camera [Mon, 11 Jul 2011 09:50:54 +0000 (09:50 +0000)]
More endianness porting of the LUFA device mode class drivers.

Add endianness information to the class driver and core structure definitions.

Move out the unused Ethernet_Frame_Info_t structure definition to the RNDIS device demos where it is needed.

13 years agoMinor style improvements to the incomplete AndroidAccessoryHost demo.
Dean Camera [Mon, 11 Jul 2011 09:44:09 +0000 (09:44 +0000)]
Minor style improvements to the incomplete AndroidAccessoryHost demo.

13 years agoOops - re-order Ringbuffer.h inline functions to prevent compile errors due to forwar...
Dean Camera [Mon, 11 Jul 2011 09:42:13 +0000 (09:42 +0000)]
Oops - re-order Ringbuffer.h inline functions to prevent compile errors due to forward references.

13 years agoAdded new RingBuffer_GetFreeCount() function to the library miscellaneous RingBuffer...
Dean Camera [Mon, 11 Jul 2011 05:51:35 +0000 (05:51 +0000)]
Added new RingBuffer_GetFreeCount() function to the library miscellaneous RingBuffer driver.

13 years agoMinor documentation and style fixes.
Dean Camera [Mon, 11 Jul 2011 05:51:04 +0000 (05:51 +0000)]
Minor documentation and style fixes.

13 years agoMinor demo/project documentation and style fixes.
Dean Camera [Mon, 11 Jul 2011 05:49:53 +0000 (05:49 +0000)]
Minor demo/project documentation and style fixes.

13 years agoReplace blind interface descriptor search in the incomplete AndroidAccessoryHost...
Dean Camera [Sun, 10 Jul 2011 07:15:57 +0000 (07:15 +0000)]
Replace blind interface descriptor search in the incomplete AndroidAccessoryHost demo with an intelligent search for the correct interface in the device matching the correct class/subclass/protocol values.

13 years agoAdd missing device deconfiguration-on-error statements to the host mode demos and...
Dean Camera [Fri, 8 Jul 2011 07:56:40 +0000 (07:56 +0000)]
Add missing device deconfiguration-on-error statements to the host mode demos and projects.

13 years agoUpdated all host mode demos and projects to use the EVENT_USB_Host_DeviceEnumerationC...
Dean Camera [Fri, 8 Jul 2011 07:25:56 +0000 (07:25 +0000)]
Updated all host mode demos and projects to use the EVENT_USB_Host_DeviceEnumerationComplete() event callback for device configuration instead of manual host state machine manipulations in the main application task.

Added new USB_Host_ConfigurationNumber global variable to indicate the selected configuration in an attached device.

Renamed global state variables that are specific to a certain USB mode to clearly indicate which mode the variable relates to, by changing the USB_* prefix to USB_Device_* or USB_Host_*.

Removed the HOST_STATE_WaitForDeviceRemoval and HOST_STATE_Suspended host state machine states, as these are no longer required.

Altered the USB_Host_SetDeviceConfiguration() function to update the new USB_Host_ConfigurationNumber global as required.

Moved out the Host mode standard request convenience/helper functions from the architecture specific Host driver files to the architecture agnostic HostStandardReq.c driver file.

13 years agoAdd missing doxygen group terminator to the new CompilerSpecific.h header file.
Dean Camera [Thu, 7 Jul 2011 07:38:22 +0000 (07:38 +0000)]
Add missing doxygen group terminator to the new CompilerSpecific.h header file.

13 years agoTighten up the implementations of the USB_Device_SetDeviceAddress(), USB_Controller_R...
Dean Camera [Wed, 6 Jul 2011 02:50:08 +0000 (02:50 +0000)]
Tighten up the implementations of the USB_Device_SetDeviceAddress(), USB_Controller_Reset() and USB_PLL_On() functions for the AVR8 devices.

Minor corrections to the documentation of the USB_Control_Request_t enum.

13 years agoFix improper indenting of the internal board driver dispatch headers.
Dean Camera [Wed, 6 Jul 2011 02:12:09 +0000 (02:12 +0000)]
Fix improper indenting of the internal board driver dispatch headers.

Slight improvements to the ADC peripheral driver example in the manual.

13 years agoSplit out compiler specific helper macros into a new CompilerSpecific.h header file...
Dean Camera [Wed, 6 Jul 2011 02:11:13 +0000 (02:11 +0000)]
Split out compiler specific helper macros into a new CompilerSpecific.h header file inside the library, for future expansion.

13 years agoAdd the GCC -fno-split-wide-types compile time option to some of the larger user...
Dean Camera [Wed, 6 Jul 2011 02:10:01 +0000 (02:10 +0000)]
Add the GCC -fno-split-wide-types compile time option to some of the larger user projects to reduce the compiled application size.

13 years agoFix HID_Host_SetIdlePeriod() function to send the correct request type to the device...
Dean Camera [Tue, 5 Jul 2011 00:28:35 +0000 (00:28 +0000)]
Fix HID_Host_SetIdlePeriod() function to send the correct request type to the device, remove reference to unavailable (and not needed) local variable.

13 years agoAdd missing function parameter to the new HID_Host_SetIdlePeriod() function.
Dean Camera [Mon, 4 Jul 2011 09:22:40 +0000 (09:22 +0000)]
Add missing function parameter to the new HID_Host_SetIdlePeriod() function.

13 years agoAdd missing function parameter to the new HID_Host_SetIdlePeriod() function.
Dean Camera [Mon, 4 Jul 2011 09:22:02 +0000 (09:22 +0000)]
Add missing function parameter to the new HID_Host_SetIdlePeriod() function.

13 years agoSwitch the HTTP Webserver project to use the safer strlcpy() instead of strncpy(...
Dean Camera [Mon, 4 Jul 2011 09:19:37 +0000 (09:19 +0000)]
Switch the HTTP Webserver project to use the safer strlcpy() instead of strncpy() to save on manual null-termination.

13 years agoAdded new HID_Host_SetIdlePeriod() function to the HID Host Class driver.
Dean Camera [Mon, 4 Jul 2011 09:18:50 +0000 (09:18 +0000)]
Added new HID_Host_SetIdlePeriod() function to the HID Host Class driver.

13 years agoOops: Fix compile error in the low level KeyboardMouse demo.
Dean Camera [Sat, 2 Jul 2011 08:40:52 +0000 (08:40 +0000)]
Oops: Fix compile error in the low level KeyboardMouse demo.

13 years agoRemove custom CDC class descriptor definitions from the CDC bootloader, and switch...
Dean Camera [Fri, 1 Jul 2011 05:30:29 +0000 (05:30 +0000)]
Remove custom CDC class descriptor definitions from the CDC bootloader, and switch it to use the CDC Class Driver descriptor definitions.

13 years agoSeperate out the device demos and project's configuration descriptor structure defini...
Dean Camera [Fri, 1 Jul 2011 05:26:25 +0000 (05:26 +0000)]
Seperate out the device demos and project's configuration descriptor structure definitions to clearly indicate what descriptors belong to which interface.

13 years agoMinor documentation fix for the RelayBoard project.
Dean Camera [Thu, 30 Jun 2011 12:27:01 +0000 (12:27 +0000)]
Minor documentation fix for the RelayBoard project.

13 years agoPull out Android Accessory Mode functions into a seperate set of files in the incompl...
Dean Camera [Thu, 30 Jun 2011 09:44:37 +0000 (09:44 +0000)]
Pull out Android Accessory Mode functions into a seperate set of files in the incomplete Android Accessory Mode Host demo. Improve Android Accessory Mode protocol support to correctly query the device's supported protocol and send the approriate device information strings.

13 years agoMerge over core library changes from the MultiArchDemos branch.
Dean Camera [Wed, 29 Jun 2011 05:57:29 +0000 (05:57 +0000)]
Merge over core library changes from the MultiArchDemos branch.

13 years agoUpdate AudioInput and AudioOutput Class Driver device mode demos to use a switch...
Dean Camera [Wed, 29 Jun 2011 05:36:26 +0000 (05:36 +0000)]
Update AudioInput and AudioOutput Class Driver device mode demos to use a switch statement when selecting the audio request type for clarity.

13 years agoAdded board hardware driver support for the EVK1104 board.
Dean Camera [Mon, 27 Jun 2011 13:41:06 +0000 (13:41 +0000)]
Added board hardware driver support for the EVK1104 board.

Fix inverted LEDs_GetLEDs() result for the EVK1100 and EVK1101 boards.

13 years agoAdd board driver support for the EVK1100 board.
Dean Camera [Mon, 27 Jun 2011 13:22:37 +0000 (13:22 +0000)]
Add board driver support for the EVK1100 board.