Dean Camera [Sun, 19 Feb 2012 17:03:08 +0000 (17:03 +0000)]
Add tag for the 120219 release.
Dean Camera [Fri, 23 Dec 2011 01:51:39 +0000 (01:51 +0000)]
Run wspurify script on /trunk/ and /branches/ C source files, to remove any trailing whitespace at the end of each line.
Dean Camera [Tue, 20 Dec 2011 13:15:36 +0000 (13:15 +0000)]
Fixed compiler warning on GCC with -wundef compile flag is used (thanks to Georg Glock).
Dean Camera [Wed, 14 Dec 2011 02:52:42 +0000 (02:52 +0000)]
Don't validate the Device Descriptor's vendor ID when validating that a device is an Android Accessory device; the Product ID and (later) Accessory protocol support is enough to probe AOA class support without having to maintain a list of Android device manufacture VID values.
Dean Camera [Tue, 13 Dec 2011 03:40:51 +0000 (03:40 +0000)]
Minor XMEGA USB driver fixes.
Dean Camera [Sun, 11 Dec 2011 03:04:16 +0000 (03:04 +0000)]
Change PIPE_PIPENUM_MASK from 0x07 to the more generic 0x0F to allow for full pipe address support in USB host architectures other than the current AVR8 devices. Minor documentation improvements.
Dean Camera [Thu, 1 Dec 2011 08:40:14 +0000 (08:40 +0000)]
Fix incorrect Capabilities value in the CDC class Bootloader descriptors.
Dean Camera [Thu, 1 Dec 2011 08:39:43 +0000 (08:39 +0000)]
Altered the Mass Storage Host class driver so that SCSI data STALLs from the attached device can be recovered from automatically without having to reset the Mass Storage interface.
Altered the Mass Storage Host LowLevel demo so that SCSI data STALLs from the attached device can be recovered from automatically without having to reset the Mass Storage interface.
Dean Camera [Tue, 29 Nov 2011 13:33:28 +0000 (13:33 +0000)]
Fixed AVRISP-MKII Clone failing to start application firmware once a TPI programming session is exited.
Dean Camera [Tue, 29 Nov 2011 11:31:00 +0000 (11:31 +0000)]
Fix typo in the Joystick board driver documentation example code.
Dean Camera [Tue, 29 Nov 2011 11:30:25 +0000 (11:30 +0000)]
Bit-bang ISP in the AVRISP-MKII clone project needs to set MOSI pin to the MSB of the data byte on startup, not the LSB.
Dean Camera [Mon, 28 Nov 2011 23:43:58 +0000 (23:43 +0000)]
Add support for the Paranoid Studio USB2AX boards (hardware revisions 1-3).
Dean Camera [Mon, 28 Nov 2011 13:15:27 +0000 (13:15 +0000)]
Add dummy board documentation nodes for the XPLAIN_REV1 and TEENSY2 meta board targets.
Dean Camera [Mon, 28 Nov 2011 13:14:51 +0000 (13:14 +0000)]
Remove unnecessary ErrorCode variable initializations from the LowLevel Host mode demos.
Dean Camera [Mon, 28 Nov 2011 13:14:15 +0000 (13:14 +0000)]
Add missing const qualifier to bootloader API function parameters.
Dean Camera [Thu, 24 Nov 2011 21:35:22 +0000 (21:35 +0000)]
Oops - fix incorrect value of AOA_CSCP_AOADataSubclass in the Android Open Accessory class driver.
Dean Camera [Thu, 24 Nov 2011 11:59:52 +0000 (11:59 +0000)]
Minor Doxygen documentation improvements.
Add missing ATTR_NON_NULL_PTR_ARG and const decorations.
Dean Camera [Thu, 24 Nov 2011 11:46:04 +0000 (11:46 +0000)]
Add new USB_Host_GetDescriptor() function. Alter the USB_Host_GetDeviceDescriptor() and USB_Host_GetDeviceStringDescriptor() convenience functions so that they wrap the new function.
Dean Camera [Thu, 24 Nov 2011 11:33:10 +0000 (11:33 +0000)]
Added new USB_Host_GetDeviceConfiguration() and USB_Host_GetInterfaceAltSetting() functions.
Dean Camera [Thu, 24 Nov 2011 01:31:31 +0000 (01:31 +0000)]
Convert the LowLevel AndroidAccessory demo to use the new class driver constants to reduce code duplication.
Add missing Doxygen documentation.
Dean Camera [Thu, 24 Nov 2011 01:24:01 +0000 (01:24 +0000)]
Add new Android Open Accessory class driver to the library core and add a new Android Open Accessory Host ClassDriver demo.
Dean Camera [Wed, 23 Nov 2011 14:09:01 +0000 (14:09 +0000)]
Use the proper "-Wl,--undefined=BootloaderAPI_JumpTable" linker command line parameter in the bootloaders to ensure that the API jump tables are not discarded, rather than the previous C volatile pointer hack (thanks to Opendous Inc.).
Dean Camera [Wed, 23 Nov 2011 06:59:27 +0000 (06:59 +0000)]
Update library to indicate support for the Android Accessory Host demo.
Dean Camera [Wed, 23 Nov 2011 06:50:50 +0000 (06:50 +0000)]
Move out Android Accessory Host demo to the Host mode LowLevel directory now that it is functionally complete.
Dean Camera [Wed, 23 Nov 2011 06:46:19 +0000 (06:46 +0000)]
Add const-correctness to the Android_SendString() function of the Android Accessory Host demo.
Dean Camera [Wed, 23 Nov 2011 00:25:20 +0000 (00:25 +0000)]
Oops: Typo on the new TEENSY2 board support.
Dean Camera [Wed, 23 Nov 2011 00:16:33 +0000 (00:16 +0000)]
Fix interface protocol match value for the Android Accessory Host demo interface configuration parser code (thanks to Opendous Inc.).
Dean Camera [Wed, 23 Nov 2011 00:15:58 +0000 (00:15 +0000)]
Added support for version 2 of the Teensy boards (thanks to Christoph Redecker).
Dean Camera [Wed, 23 Nov 2011 00:04:16 +0000 (00:04 +0000)]
Add XMEGA compile time tokens to the LUFAConfig.h code template.
Add additional compile time errors to the XMEGA and AVR8 architectures if multiple USE_*_DESCRIPTORS compile time tokens are enabled.
Add support for the NO_INTERNAL_SERIAL compile time token on the XMEGA targets.
Dean Camera [Tue, 22 Nov 2011 08:06:52 +0000 (08:06 +0000)]
Fixed broken AVR32 endpoint/pipe communications when ORDERED_EP_CONFIG compile time option is not enabled (thanks to Matthias).
Fixed broken compilation for the AVR32 devices if the NO_SOF_EVENTS compile time option was not enabled (thanks to Matthias).
Dean Camera [Fri, 18 Nov 2011 06:26:51 +0000 (06:26 +0000)]
Added Class, ClassDevice, ClassHost and ClassCommon to the internal class driver source filenames to prevent ambiguities.
Dean Camera [Wed, 16 Nov 2011 08:19:34 +0000 (08:19 +0000)]
Fixed misspelled HID_KEYBOARD_MODIFIER_* macros in the HID class driver (thanks to Laszlo Monda).
Dean Camera [Mon, 14 Nov 2011 07:31:40 +0000 (07:31 +0000)]
Minor corrections for the XMEGA USB controller. Add compile time warning if the USB clock frequency is provably incorrect.
Dean Camera [Wed, 9 Nov 2011 23:35:16 +0000 (23:35 +0000)]
Add missing SVN eol-style property to ensure that source code line endings and converted to the native values on checkout.
Dean Camera [Wed, 9 Nov 2011 23:24:11 +0000 (23:24 +0000)]
Update the incomplete StandaloneProgrammer project to be compatible with the latest LUFA core API.
Dean Camera [Wed, 9 Nov 2011 12:47:15 +0000 (12:47 +0000)]
Use strcat() in the HTTPServer project instead of using strcpy() and strlen().
Dean Camera [Wed, 9 Nov 2011 12:45:10 +0000 (12:45 +0000)]
Update host C# applications for VS2010. Make LEDNotifier project host applications only display valid COM port names for the PC it is run on, rather than all possible port names. Add missing property files to the TempDataLogger project host application.
Dean Camera [Wed, 9 Nov 2011 12:29:14 +0000 (12:29 +0000)]
Fixed race conditions in the CDC, HID and Mass Storage class drivers when processing some control requests.
Dean Camera [Wed, 9 Nov 2011 12:09:13 +0000 (12:09 +0000)]
Fix typos in makefile templates.
Dean Camera [Tue, 1 Nov 2011 06:06:41 +0000 (06:06 +0000)]
Add partial support for the Atmel A3BU Xplained's Dataflash IC (physical USART-as-SPI transport driver still pending).
Dean Camera [Tue, 1 Nov 2011 06:05:54 +0000 (06:05 +0000)]
Fix XMEGA core USB driver endpoint code to prevent incorrect STALL determination.
Dean Camera [Mon, 31 Oct 2011 04:30:47 +0000 (04:30 +0000)]
Add XMEGA SPI peripheral driver.
Dean Camera [Mon, 31 Oct 2011 03:39:12 +0000 (03:39 +0000)]
Add support for the new MEGA B series devices.
Dean Camera [Mon, 31 Oct 2011 03:31:00 +0000 (03:31 +0000)]
Add support for the Atmel XMEGA A3BU Xplained board.
More XMEGA USB core fixes.
Dean Camera [Mon, 31 Oct 2011 02:26:21 +0000 (02:26 +0000)]
Fix XMEGA core USB driver so that device mode enumerates correctly on the host PC.
Dean Camera [Sun, 30 Oct 2011 14:12:11 +0000 (14:12 +0000)]
Added INVERTED_ISP_MISO compile time option to the AVRISP-MKII clone project (thanks to Chuck Rohs).
Dean Camera [Sun, 30 Oct 2011 14:05:34 +0000 (14:05 +0000)]
Namespace out the internal endpoint globals in the XMEGA architecture.
Dean Camera [Sun, 30 Oct 2011 14:04:47 +0000 (14:04 +0000)]
Update ENDPOINT_EPNUM_MASK to be 0x0F, the maximum possible USB endpoint number within a device, rather than just the maximum number for the AVR8 and UC3 targets of 0x07.
Dean Camera [Sun, 30 Oct 2011 14:03:53 +0000 (14:03 +0000)]
Namespace out the internal endpoint and pipe globals in the UC3 architecture.
Dean Camera [Sun, 30 Oct 2011 12:06:02 +0000 (12:06 +0000)]
Update XMEGA clock management so that the correct 16-bit calibration is used when requested. Fix endpoint descriptor table so that the frame number is stored into the correct location. Add compile time option to source the USB clock from the PLL rather than the internal 32MHz RC oscillator.
Dean Camera [Sun, 30 Oct 2011 07:43:13 +0000 (07:43 +0000)]
Fix error in XMEGA clock platform driver for the DFLL calibration byte order.
Dean Camera [Sun, 30 Oct 2011 07:09:44 +0000 (07:09 +0000)]
Minor documentation fixes.
Dean Camera [Sun, 30 Oct 2011 07:09:20 +0000 (07:09 +0000)]
XMEGA port improvements; connection and disconnection are now detected correctly. Fixed incorrect interrupt priority levels being set for XMEGA devices.
Dean Camera [Fri, 28 Oct 2011 05:16:38 +0000 (05:16 +0000)]
Fix incorrect Android Accessory Host interface descriptor subclass value (thanks to Opendous Inc.).
Dean Camera [Wed, 26 Oct 2011 06:51:07 +0000 (06:51 +0000)]
Fixed CDC class drivers not saving and sending all 16-bits of the control line states (thanks to Matthew Swabey).
Dean Camera [Tue, 25 Oct 2011 04:28:22 +0000 (04:28 +0000)]
Update XMEGA platform clock management example code to suit the currently released silicon.
Cleanups to the UC3 endpoint/pipe multi byte read code.
Dean Camera [Tue, 18 Oct 2011 11:35:04 +0000 (11:35 +0000)]
Rename the Doxygen page source directory from ManPages/ to DoxygenPages/ to prevent user confusion with the actual *nix Man tool.
Dean Camera [Tue, 18 Oct 2011 11:31:03 +0000 (11:31 +0000)]
Fixed AVRISP-MKII Clone compile warning on AVR8 U4 targets even when NO_VTARGET_DETECT is enabled.
Dean Camera [Tue, 18 Oct 2011 11:23:23 +0000 (11:23 +0000)]
Fixed ring buffer size limited to 255 elements, instead of the intended 65535 elements.
Dean Camera [Wed, 12 Oct 2011 05:31:35 +0000 (05:31 +0000)]
Added reliability patches to the AVRISP-MKII Clone project's PDI/TPI protocols (thanks to Justin Mattair).
Dean Camera [Wed, 12 Oct 2011 02:27:22 +0000 (02:27 +0000)]
When automatic PLL management mode is enabled on the U4 series AVR8 chips, the PLL is now configured for 48MHz and not a divided 96MHz, to lower power consumption and to keep the system within the datasheet specs for 3.3V operation (thanks to Scott Vitale).
Dean Camera [Tue, 11 Oct 2011 06:20:18 +0000 (06:20 +0000)]
Added User Application APIs to the CDC and DFU class bootloaders.
Dean Camera [Mon, 10 Oct 2011 10:04:25 +0000 (10:04 +0000)]
Commit for the 111009 release.
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.
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.
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.
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).
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.
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.
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.
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.
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.
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.
Dean Camera [Wed, 21 Sep 2011 06:45:09 +0000 (06:45 +0000)]
Add project name to the Doxygen makefile target output.
Dean Camera [Wed, 21 Sep 2011 06:28:42 +0000 (06:28 +0000)]
Commit for the 111009 BETA release.
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.
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.
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.
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).
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.
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.
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.
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.
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.
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.
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.
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.
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).
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.
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.
Dean Camera [Fri, 19 Aug 2011 06:11:39 +0000 (06:11 +0000)]
Minor documentation corrections.
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.
Dean Camera [Fri, 19 Aug 2011 04:11:38 +0000 (04:11 +0000)]
Fix TWI peripheral driver example code in the library documentation.
Dean Camera [Wed, 17 Aug 2011 14:51:05 +0000 (14:51 +0000)]
Minor documentation corrections.
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.
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.
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.
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).
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.
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).