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.
Dean Camera [Mon, 30 May 2011 09:37:31 +0000 (09:37 +0000)]
Remove output files from the incomplete AudioInputHost demo, and improve the logic in the ConfigDescriptor.c device configuration processing routine.
Dean Camera [Sun, 29 May 2011 12:47:56 +0000 (12:47 +0000)]
Oops - revert commit of an incomplete port of the AVRISP-MKII project.
Dean Camera [Sun, 29 May 2011 12:41:14 +0000 (12:41 +0000)]
Added new incomplete AudioInputHost Host LowLevel demo.
Added missing Audio class control request definitions.
Added support for the Audio class GET STATUS request so that it is correctly ACKed when sent by the host.
Dean Camera [Fri, 27 May 2011 07:33:58 +0000 (07:33 +0000)]
Add new USB_Host_SetInterfaceAltSetting() convenience function.
Dean Camera [Fri, 27 May 2011 03:45:45 +0000 (03:45 +0000)]
Add the MIDIToneGenerator project to the Projects/ directory makefile clean rule.
Dean Camera [Fri, 27 May 2011 03:05:50 +0000 (03:05 +0000)]
Update trunk documentation for new LUFA release.
Dean Camera [Thu, 26 May 2011 11:37:40 +0000 (11:37 +0000)]
Fix incorrect macro guard in the UC3 EndpointStream header file.
Fix incorrect project name in the Projects/ folder makefile.
Dean Camera [Thu, 26 May 2011 11:27:21 +0000 (11:27 +0000)]
Copy out the EndpointStream and PipeStream functions to each architecture, so that each architecture can optimise the stream functions according to the available hardware (such as DMA, where available).
Dean Camera [Thu, 26 May 2011 10:50:22 +0000 (10:50 +0000)]
Update Webserver project to remove DHCP IP configuration status notification.
Dean Camera [Thu, 26 May 2011 10:24:47 +0000 (10:24 +0000)]
Lower the size of the HID report endpoint from 16 bytes to 8 bytes, to allow for Low Speed USB compatibility in the KeyboardMouseMultiReport demo (thanks to Kevin Chernoff).
Dean Camera [Mon, 23 May 2011 13:19:13 +0000 (13:19 +0000)]
Update MediaController project to remove the Record usage (not often needed) and explicitly declare each usage for maximum clarity.
Dean Camera [Mon, 23 May 2011 12:54:15 +0000 (12:54 +0000)]
Add new MediaController project, a simple Media Playback control manipulator (Play/Pause/Next Track/Volume/etc.).
Dean Camera [Mon, 23 May 2011 07:13:45 +0000 (07:13 +0000)]
Correct errors in the DHCP Server application in the Webserver project, that was causing random server restarts and/or incorrectly allocated IP addresses.
Dean Camera [Sun, 22 May 2011 08:28:40 +0000 (08:28 +0000)]
Add RNDIS Device support to the Webserver project, so that the files stored on the device can be viewed from a web-browser while the board is plugged into a host machine.
Dean Camera [Thu, 19 May 2011 13:32:55 +0000 (13:32 +0000)]
Fix broken Doxygen documentation.
Dean Camera [Wed, 18 May 2011 14:33:34 +0000 (14:33 +0000)]
Add new RNDIS_Host_IsPacketReceived(), RNDIS_Device_ReadPacket() and RNDIS_Device_WritePacket() functions to the Device RNDIS Class Driver.
Modify RNDIS demos to suit the simplified Ethernet_Frame_Info_t structure.
Dean Camera [Wed, 18 May 2011 12:24:56 +0000 (12:24 +0000)]
Oops - fix bad include path in the moved USBKEY Dataflash board driver header.
Dean Camera [Wed, 18 May 2011 12:23:24 +0000 (12:23 +0000)]
Seperated out board drivers by architecture in the library internals for better organisation.
Dean Camera [Wed, 18 May 2011 11:53:53 +0000 (11:53 +0000)]
Add new "version" makefile target to the main LUFA library makefile, to give an easy way to identify a LUFA release from the command-line.
Dean Camera [Sat, 14 May 2011 02:34:47 +0000 (02:34 +0000)]
Add skeleton LUFAConfig.h to the CodeTemplates directory.
Dean Camera [Sat, 14 May 2011 02:17:58 +0000 (02:17 +0000)]
Fixed possible invalid program execution when in host mode if corrupt descriptor lengths are supplied by the attached device.
Minor code cleanups to add const and reformat where missing, as well as abstract out the internal device signature start address into a macro, so that it can be altered to suit particular devices within a single architecture if needed.
Add missing documentation to the USB_Device_States_t enum.
Dean Camera [Fri, 13 May 2011 00:17:06 +0000 (00:17 +0000)]
Add incomplete Android Accessory Host LowLevel demo.
Dean Camera [Mon, 9 May 2011 14:04:40 +0000 (14:04 +0000)]
Add new USE_LUFA_CONFIG_HEADER compile time option.
Add missing LEDS_ToggleLEDs() function to the LED driver for the EVK1101 board.
Dean Camera [Sun, 8 May 2011 14:30:36 +0000 (14:30 +0000)]
Minor documentation fixes.
Dean Camera [Wed, 27 Apr 2011 10:21:40 +0000 (10:21 +0000)]
Fix up mistakes in the Device Support documentation page.
Dean Camera [Mon, 25 Apr 2011 07:28:36 +0000 (07:28 +0000)]
Add __VA_ARGS__ support to the LUFA supplied ISR macro. Add proper result typecasting to the SWAPENDIAN_* macros.
Switch to using -1 on the UC3 target to obtain a register mask with all bits set (for clearing interrupts and status flags).
Fix incorrect USB controller mode on the UC3 when a fixed mode is specified as a compile time option due to AVR32_USBB.USBCON.uide being set by default.
Make USB_Descriptor_String_t use a uint16_t for Unicode strings on all targets except the AVR8 (retained for backwards compatibility).
Dean Camera [Sat, 23 Apr 2011 05:01:50 +0000 (05:01 +0000)]
Add new LUFA powered user projects to the documentation.
Dean Camera [Sat, 23 Apr 2011 04:39:21 +0000 (04:39 +0000)]
Fix HID class bootloader not working on the larger USB AVRs due to the altered page addressing scheme.
Dean Camera [Sat, 23 Apr 2011 03:50:13 +0000 (03:50 +0000)]
Make DFU and CDC class bootloaders also toggle the LEDs on command activity in addition to the periodic flashing.
Dean Camera [Sat, 23 Apr 2011 03:45:29 +0000 (03:45 +0000)]
Added LED flashing to the CDC and DFU class bootloaders to indicate when they are running.
Dean Camera [Wed, 20 Apr 2011 06:04:49 +0000 (06:04 +0000)]
Fix reversed descriptions for the AVR8 USB pad regulator enable/disable masks (thanks to Omar).
Dean Camera [Wed, 13 Apr 2011 06:58:29 +0000 (06:58 +0000)]
Fix definition of pgm_read_ptr().
Dean Camera [Wed, 13 Apr 2011 06:12:52 +0000 (06:12 +0000)]
Replace cast-as-char* byte access of multibyte variables with proper shifts and masks to preserve endianness across different architectures.
Dean Camera [Tue, 12 Apr 2011 04:57:47 +0000 (04:57 +0000)]
Slight cleanups to the architecture specific makefile templates to make the common configuration sections as identical as possible.
Dean Camera [Tue, 12 Apr 2011 04:49:36 +0000 (04:49 +0000)]
Update architecture specific makefile templates so that they are as close to one-another as possible.
Dean Camera [Tue, 12 Apr 2011 04:38:53 +0000 (04:38 +0000)]
Add makefile template for the AVR32 UC3 architecture.
Dean Camera [Tue, 12 Apr 2011 03:03:56 +0000 (03:03 +0000)]
Add missing function attributes to the pipe/endpoint functions for all architectures.
Perform endianness correction in the HID report parser for big-endian platforms.
Dean Camera [Sun, 10 Apr 2011 06:43:02 +0000 (06:43 +0000)]
Remove redundant type information for bitfield elements, other than the signed/unsignedness of the element.
Change type of USB_SelectedPipe and USB_SelectedEndpoint for the AVR32 UC3 architecture to uint32_t to reduce the compiled code size.
Dean Camera [Fri, 8 Apr 2011 05:54:56 +0000 (05:54 +0000)]
Create a new Common module documentation group for the new Global Interrupt macros.
Dean Camera [Fri, 8 Apr 2011 05:40:25 +0000 (05:40 +0000)]
Move global interrupt enable/disable functions out to Common.h and document them.
Dean Camera [Fri, 8 Apr 2011 05:05:05 +0000 (05:05 +0000)]
Correct UC3 global interrupt functions.
Replace all calls and references to _delay_ms() in the code with the architecture-agnostic Delay_MS() function.
Improve code generation for the Delay_MS() function on the AVR8 architecture when called with a constant input.
Dean Camera [Fri, 8 Apr 2011 04:49:20 +0000 (04:49 +0000)]
Add in a new common Delay_MS() function, which provides a blocking delay for all architectures.
Remove use of avr-libc specific ATOMIC_BLOCK, replace with a new per-architecture set of inline functions to retrieve and manipulate the global interrupt enable bit for each architecture.
Add in documentation for the USB controller common interrupt routine which must be linked to the interrupt controller in the user application on the AVR32 UC3 architecture.