Dean Camera [Wed, 21 Sep 2011 06:35:28 +0000 (06:35 +0000)]
Add LUFA-111009-BETA tag.
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.
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.
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.
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.
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.
Dean Camera [Thu, 14 Jul 2011 05:38:32 +0000 (05:38 +0000)]
Add support for triple endpoint/pipe bank AVR32 UC3 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.
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.
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.
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.
Dean Camera [Thu, 14 Jul 2011 00:11:51 +0000 (00:11 +0000)]
Add new STRINGIFY() and STRINGIFY_EXPANDED() convenience macros.
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.
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.
Dean Camera [Tue, 12 Jul 2011 13:32:11 +0000 (13:32 +0000)]
Enhance and document the AVR32 UC3 platform drivers.
Dean Camera [Tue, 12 Jul 2011 10:11:52 +0000 (10:11 +0000)]
Minor documentation fixes.
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.
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.
Dean Camera [Tue, 12 Jul 2011 05:13:31 +0000 (05:13 +0000)]
Add missing function attributes.
Dean Camera [Tue, 12 Jul 2011 04:52:21 +0000 (04:52 +0000)]
Added new USB_Host_GetDeviceStatus() function for USB Host mode.
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.
Dean Camera [Mon, 11 Jul 2011 10:44:34 +0000 (10:44 +0000)]
More endianness porting of the LUFA host 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.
Dean Camera [Mon, 11 Jul 2011 09:44:09 +0000 (09:44 +0000)]
Minor style improvements to the incomplete AndroidAccessoryHost demo.
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.
Dean Camera [Mon, 11 Jul 2011 05:51:35 +0000 (05:51 +0000)]
Added new RingBuffer_GetFreeCount() function to the library miscellaneous RingBuffer driver.
Dean Camera [Mon, 11 Jul 2011 05:51:04 +0000 (05:51 +0000)]
Minor documentation and style fixes.
Dean Camera [Mon, 11 Jul 2011 05:49:53 +0000 (05:49 +0000)]
Minor demo/project documentation and style fixes.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Dean Camera [Mon, 4 Jul 2011 09:22:40 +0000 (09:22 +0000)]
Add 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.
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.
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.
Dean Camera [Sat, 2 Jul 2011 08:40:52 +0000 (08:40 +0000)]
Oops: Fix compile error in the low level KeyboardMouse demo.
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.
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.
Dean Camera [Thu, 30 Jun 2011 12:27:01 +0000 (12:27 +0000)]
Minor documentation fix for the RelayBoard project.
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.
Dean Camera [Wed, 29 Jun 2011 05:57:29 +0000 (05:57 +0000)]
Merge over core library changes from the MultiArchDemos branch.
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.
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.
Dean Camera [Mon, 27 Jun 2011 13:22:37 +0000 (13:22 +0000)]
Add board driver support for the EVK1100 board.
Dean Camera [Mon, 27 Jun 2011 05:57:25 +0000 (05:57 +0000)]
Fix logic bug in the incomplete Android Accessory Host demo preventing correct detection of an attached Android Accessory Mode device.
Dean Camera [Mon, 20 Jun 2011 15:06:17 +0000 (15:06 +0000)]
Oops - Mouse ClassDriver multi-arch demo changes were applied to trunk, rather than the correct branch.
Dean Camera [Mon, 20 Jun 2011 14:46:09 +0000 (14:46 +0000)]
Update Mouse demo to support the UC3 devices in the MultiArchDemos branch.
Dean Camera [Mon, 20 Jun 2011 14:38:21 +0000 (14:38 +0000)]
Add new "checksource" target to the library makefiles, for automated source file existance checking.
Dean Camera [Mon, 20 Jun 2011 13:08:27 +0000 (13:08 +0000)]
Minor internal macro renaming for the UC3 devices.
Dean Camera [Mon, 20 Jun 2011 04:32:34 +0000 (04:32 +0000)]
Fixed compile error when FIXED_CONTROL_ENDPOINT_SIZE compile time option was disabled, and a USE_*_DESCRIPTORS compile time option was not enabled on the AVR8s.
Add C++ compatibility to some header files currently missing extern "C" linkage.
Dean Camera [Mon, 20 Jun 2011 02:36:52 +0000 (02:36 +0000)]
Split HIDReportViewer project sub-components into seperate functions for readability/convenience.
Dean Camera [Mon, 20 Jun 2011 02:22:34 +0000 (02:22 +0000)]
More cosmetic data output changes to the HIDReportViewer project.
Dean Camera [Mon, 20 Jun 2011 02:08:52 +0000 (02:08 +0000)]
Make HIDReportViewer project show the IN, OUT and DATA report sizes as both bits and (rounded) bytes.
Dean Camera [Mon, 20 Jun 2011 01:57:22 +0000 (01:57 +0000)]
Make the HID Report Parser Get/Set Report Item routines fail if a NULL pointer to a report item is given.
Minor visual enhancement to the HIDReportViewer project.
Dean Camera [Mon, 20 Jun 2011 01:39:03 +0000 (01:39 +0000)]
Remove HID parser information output from the Low Level Host applications using the HID Report parser to simplify them, as this information can now be obtained using the new HIDReportViewer project when required.
Dean Camera [Mon, 20 Jun 2011 01:33:42 +0000 (01:33 +0000)]
Fix incorrect printf format specifier in the HIDReportViewer project.
Dean Camera [Sun, 19 Jun 2011 04:48:49 +0000 (04:48 +0000)]
Code style fixes for the Device mode USB Audio Class driver to make it more in line with the style of the other library Device Class drivers.
Dean Camera [Sun, 19 Jun 2011 04:47:53 +0000 (04:47 +0000)]
Add missing project files for the new HIDReportViewer project to upgrade its status to a finished (working) project.
Dean Camera [Sun, 19 Jun 2011 04:32:58 +0000 (04:32 +0000)]
Move the HIDReportViewer project into the normal Projects/ folder and out of the Incomplete/ projects folder.
Dean Camera [Sun, 19 Jun 2011 04:29:03 +0000 (04:29 +0000)]
Switch to using the standard printf() format specifiers in the HIDReportViewer project.
Dean Camera [Sat, 18 Jun 2011 08:04:25 +0000 (08:04 +0000)]
Fix TWI driver documentation example (thanks to Jerome Colombie).
Dean Camera [Thu, 16 Jun 2011 13:37:45 +0000 (13:37 +0000)]
Add new incomplete HIDReportViewer project.
Dean Camera [Thu, 16 Jun 2011 12:18:46 +0000 (12:18 +0000)]
Add missing SVN eol-style properties to source files to prevent mixed end-of-line characters.
Dean Camera [Thu, 16 Jun 2011 07:23:37 +0000 (07:23 +0000)]
Added new \ref SPI_GetCurrentMode() function to the SPI peripheral driver.
Dean Camera [Thu, 16 Jun 2011 06:49:08 +0000 (06:49 +0000)]
Rename new Audio class driver functions, callbacks and events to ensure that they contain the USB mode (Device or Host) in the function names.
Dean Camera [Tue, 14 Jun 2011 12:55:32 +0000 (12:55 +0000)]
Fix Doxygen documentation errors.
Dean Camera [Tue, 14 Jun 2011 12:54:46 +0000 (12:54 +0000)]
Add macro guards to the templated C files to prevent compile errors if they are mistakenly compiled as regular source files in a LUFA project.
Dean Camera [Tue, 14 Jun 2011 12:44:41 +0000 (12:44 +0000)]
Rename Audio Host Class driver internal descriptor matching routines to be in line with the rest of the class driver function names.
Dean Camera [Mon, 13 Jun 2011 00:19:40 +0000 (00:19 +0000)]
Ensure that only the requested Audio class pipes are mapped to endpoints within the device for a specific Audio Host Class driver instance.
Fix const-correctness of the Audio Host Class driver.
Dean Camera [Sun, 12 Jun 2011 13:59:03 +0000 (13:59 +0000)]
Fix bugs in the Host mode Audio class driver.
Dean Camera [Thu, 9 Jun 2011 08:00:19 +0000 (08:00 +0000)]
Fix errors in the library Host mode Audio Class driver.
Dean Camera [Thu, 9 Jun 2011 04:32:52 +0000 (04:32 +0000)]
Fix compile errors when both Host and Device modes are enabled.
Dean Camera [Thu, 9 Jun 2011 04:23:19 +0000 (04:23 +0000)]
Add missing AS4 and project description files to the new Audio Host demos.
Correct errors in the existing Audio demo description files due to the new demo features (variable sampling rate vs. a fixed sampling rate).
Dean Camera [Thu, 9 Jun 2011 04:08:03 +0000 (04:08 +0000)]
Add new Audio Class Driver Host demos.
Fix errors in the new Audio Host mode Class Driver, which would have prevented data from being sent or received properly by the device.
Add microphone/square wave generation compile time switch to the Low Level AudioOutput Host demo.
Dean Camera [Wed, 8 Jun 2011 02:45:32 +0000 (02:45 +0000)]
Pipe_BoundEndpointNumber() has been renamed to Pipe_GetBoundEndpointAddress(), and now returns the correct endpoint direction as part of the endpoint address.
Add Audio_GetSetEndpointProperty() function to the Host mode Audio class driver.
Dean Camera [Wed, 8 Jun 2011 01:32:44 +0000 (01:32 +0000)]
Remove warnings in the documentation for the library class drivers about sequential pipe/endpoint allocation, as by default this is no longer as issue (unless ORDERED_EP_CONFIG is specified).
Dean Camera [Wed, 8 Jun 2011 01:26:52 +0000 (01:26 +0000)]
Added new Host mode Audio Class driver.
Added new EVENT_Audio_StreamStartStopChange() event to the Audio Device Class driver to detect stream start/stop events.
Dean Camera [Wed, 8 Jun 2011 00:25:20 +0000 (00:25 +0000)]
Fix compile errors when compiling for the AVR32 UC3 target.
Dean Camera [Wed, 8 Jun 2011 00:25:03 +0000 (00:25 +0000)]
Partial commit: Rename USBFOO LED driver to fix capitalisation of file name, which will cause issues on *nix systems.
Dean Camera [Wed, 8 Jun 2011 00:24:01 +0000 (00:24 +0000)]
Partial commit: Rename USBFOO LED driver to fix capitalisation of file name, which will cause issues on *nix systems.
Dean Camera [Tue, 7 Jun 2011 02:05:19 +0000 (02:05 +0000)]
Fix errors in the Audio device demos and class driver regarding multiple sample frequency support.
Dean Camera [Mon, 6 Jun 2011 09:57:38 +0000 (09:57 +0000)]
Add additional support files for the new low level AudioInputHost and AudioOutputHost demos.
Dean Camera [Mon, 6 Jun 2011 09:51:54 +0000 (09:51 +0000)]
Move completed low level Audio Host demos into the LowLevel folder from the Incomplete folder.
Dean Camera [Mon, 6 Jun 2011 09:45:41 +0000 (09:45 +0000)]
Update incomplete Host mode Audio demos to use the correct class driver Endpoint Sampling Frequency Control value constant.
Dean Camera [Mon, 6 Jun 2011 09:43:09 +0000 (09:43 +0000)]
Update the Low Level Audio Input and Audio Output demos to support multiple sample rates.
Remove custom PIDs on the Class Driver Audio device demos and revert back to the original Audio PIDs, as the low level and class driver demo versions are now descriptor compatible once again.
Dean Camera [Sun, 5 Jun 2011 13:55:56 +0000 (13:55 +0000)]
Massive corrections to the project documentation and code comments, thanks to Russian translation services provided by Andrey from Microsin.ru.
Dean Camera [Sun, 5 Jun 2011 12:21:52 +0000 (12:21 +0000)]
Fixed compile errors in the incomplete BluetoothHost demo application (thanks to Timo Lindfors).
Dean Camera [Sat, 4 Jun 2011 04:13:01 +0000 (04:13 +0000)]
Added board driver support for the Busware TUL board.
Dean Camera [Fri, 3 Jun 2011 07:56:12 +0000 (07:56 +0000)]
Added new callback to the Audio Class driver to allow for endpoint control manipulations such as data sample rates.
Modified the Class Driver AudioInput and AudioOutput demos to support multiple sample rates.
Fixed KeyboardHost and KeyboardHostWithParser demos displaying incorrect values when numerical keys were pressed.
Fix broken LowLevel audio demo descriptors.
Minor documentation fixes.
Dean Camera [Thu, 2 Jun 2011 13:40:53 +0000 (13:40 +0000)]
Expand the documentation for each Bootloader to give sample usage instructions for the command line programmer utilities.
Fix typo in the HID class bootloader CLI programmer application usage instructions.
Dean Camera [Wed, 1 Jun 2011 14:33:40 +0000 (14:33 +0000)]
Spell check library source code files.
Dean Camera [Wed, 1 Jun 2011 14:10:35 +0000 (14:10 +0000)]
Fixed incorrect signature in the CDC and DFU class bootloaders for the ATMEGA8U2.
Minor documentation cleanups.
Modify the incomplete AudioInputHost demo for mono audio output.
Dean Camera [Mon, 30 May 2011 11:36:21 +0000 (11:36 +0000)]
Added new incomplete AudioOutputHost Host LowLevel demo.
Dean Camera [Mon, 30 May 2011 11:07:57 +0000 (11:07 +0000)]
Altered the definition of the USB_Audio_Descriptor_Format_t descriptor so that the user is now responsible for supplying the supported audio sampling rates, to allow for multiple audio interfaces with different numbers of supported rates and/or continuous sample rates.