Commit Graph

1116 Commits (64e93612988e88e70d995987588b32c99cf91e3b)

Author SHA1 Message Date
Dean Camera 5c274d106b Fixed USB_USBTask not being called internally in stream transfers between packets when Partial Stream Transfers are used. 14 years ago
Dean Camera 110711598a 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. 14 years ago
Dean Camera 2c404e5af5 Add support for the ORDERED_EP_CONFIG compile time token on the UC3 architecture. 14 years ago
Dean Camera 69243c5071 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. 14 years ago
Dean Camera 06d3797bac Fix names of XMEGA ClockManagement driver functions. 14 years ago
Dean Camera 69ab85cbc0 More USB XMEGA porting for Endpoint control. 14 years ago
Dean Camera 0c2ad9eb34 Add missing SVN eol-style property to files where it was missing. 14 years ago
Dean Camera a36012fc4b Add option to the USB XMEGAs to set the USB bus interrupt priority level. 14 years ago
Dean Camera f07e766755 Complete USB XMEGA interrupt control subsystem code in the core USB driver. 14 years ago
Dean Camera ffa8b430c1 Complete initial revision of the XMEGA Clock Management platform driver. 14 years ago
Dean Camera c8e5176465 Add XMEGA to the LUFA core library makefile's list of architectures, so that the XMEGA files are properly cleaned on request. 14 years ago
Dean Camera 77a9df36a7 Update UC3 platform driver support to use the bitmasks defined in the header files over raw constants. 14 years ago
Dean Camera b971dbbce8 More XMEGA USB AVR device port work - re-add missing Endpoint stream functions, remove unnecessary internal functions. 14 years ago
Dean Camera 8629e1918c Implementation of several key core USB driver functions for the new USB XMEGA devices. 14 years ago
Dean Camera 6490d1c443 Correct the maximum banks per endpoint information macros for the UC3A3 and UC3A4 devices. 14 years ago
Dean Camera bc41cbd26d Add support for triple endpoint/pipe bank AVR32 UC3 devices. 14 years ago
Dean Camera 7c3290607e Add missing ENDPOINT_DETAILS_EP7 macro for the UC3A3/UC3A4 devices. 14 years ago
Dean Camera 3f38ea6317 Added Device Qualifier standard descriptor structure definitions USB_StdDescriptor_DeviceQualifier_t and USB_Descriptor_DeviceQualifier_t. 14 years ago
Dean Camera f4528c4aef Add high speed USB support for the UC3 devices containing a high speed USB controller. 14 years ago
Dean Camera 13951ab043 Fix compile errors in the UC3 platform support due to a forward reference and an incorrect function prototype. 14 years ago
Dean Camera 01d269879f Add new STRINGIFY() and STRINGIFY_EXPANDED() convenience macros. 14 years ago
Dean Camera d9643cf6ec Add start of an architecture port to the Atmel USB XMEGA devices. 14 years ago
Dean Camera f580232392 Remove unneeded #include of Device.h in StdDescriptors.h breaking compilation for some user projects. 14 years ago
Dean Camera 5f51554a5e Enhance and document the AVR32 UC3 platform drivers. 14 years ago
Dean Camera bd8046976f Minor documentation fixes. 14 years ago
Dean Camera fdb82cd1e8 Fixed error in the pipe unordered allocation algorithm for the AVR8 devices breaking compatibility with some devices. 14 years ago
Dean Camera 04287b76c5 Add more missing function attributes to the TWI peripheral driver. 14 years ago
Dean Camera 7207b05695 Add missing function attributes. 14 years ago
Dean Camera 065ed4da20 Added new USB_Host_GetDeviceStatus() function for USB Host mode. 14 years ago
Dean Camera f152ff26c7 Add missing function attributes to the RingBuffer driver to reduce the chances of invalid usage. 14 years ago
Dean Camera c029d72b94 More endianness porting of the LUFA host mode class drivers. 14 years ago
Dean Camera 85e85befc4 More endianness porting of the LUFA device mode class drivers. 14 years ago
Dean Camera d771b1ff8f Oops - re-order Ringbuffer.h inline functions to prevent compile errors due to forward references. 14 years ago
Dean Camera 87ea060afe Added new RingBuffer_GetFreeCount() function to the library miscellaneous RingBuffer driver. 14 years ago
Dean Camera 6c4f736793 Minor documentation and style fixes. 14 years ago
Dean Camera 137ce280c1 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. 14 years ago
Dean Camera bcb627e1a1 Add missing doxygen group terminator to the new CompilerSpecific.h header file. 14 years ago
Dean Camera 4e601207a7 Tighten up the implementations of the USB_Device_SetDeviceAddress(), USB_Controller_Reset() and USB_PLL_On() functions for the AVR8 devices. 14 years ago
Dean Camera 87b57522b2 Fix improper indenting of the internal board driver dispatch headers. 14 years ago
Dean Camera bfa22eca26 Split out compiler specific helper macros into a new CompilerSpecific.h header file inside the library, for future expansion. 14 years ago
Dean Camera 9ea22ebf41 Fix HID_Host_SetIdlePeriod() function to send the correct request type to the device, remove reference to unavailable (and not needed) local variable. 14 years ago
Dean Camera 5b06886dab Add missing function parameter to the new HID_Host_SetIdlePeriod() function. 14 years ago
Dean Camera 258381e760 Add missing function parameter to the new HID_Host_SetIdlePeriod() function. 14 years ago
Dean Camera 61861c548e Added new HID_Host_SetIdlePeriod() function to the HID Host Class driver. 14 years ago
Dean Camera b775995867 Oops: Fix compile error in the low level KeyboardMouse demo. 14 years ago
Dean Camera 04660d3793 Seperate out the device demos and project's configuration descriptor structure definitions to clearly indicate what descriptors belong to which interface. 14 years ago
Dean Camera c6a7a028bd Merge over core library changes from the MultiArchDemos branch. 14 years ago
Dean Camera 8c3d421a01 Added board hardware driver support for the EVK1104 board. 14 years ago
Dean Camera 8cc3fd56d9 Add board driver support for the EVK1100 board. 14 years ago
Dean Camera dee4bc0973 Fix logic bug in the incomplete Android Accessory Host demo preventing correct detection of an attached Android Accessory Mode device. 14 years ago
Dean Camera ca9f89ce82 Add new "checksource" target to the library makefiles, for automated source file existance checking. 14 years ago
Dean Camera 5d7827a573 Minor internal macro renaming for the UC3 devices. 14 years ago
Dean Camera d784baaa3a 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. 14 years ago
Dean Camera bb0b761c65 Make the HID Report Parser Get/Set Report Item routines fail if a NULL pointer to a report item is given. 14 years ago
Dean Camera 5e0c807708 Fix incorrect printf format specifier in the HIDReportViewer project. 14 years ago
Dean Camera a7dd984446 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. 14 years ago
Dean Camera 2e6370a6b9 Add missing project files for the new HIDReportViewer project to upgrade its status to a finished (working) project. 14 years ago
Dean Camera bad956bace Fix TWI driver documentation example (thanks to Jerome Colombie). 14 years ago
Dean Camera 00acc95ff6 Add new incomplete HIDReportViewer project. 14 years ago
Dean Camera 0ec2b55a7c Add missing SVN eol-style properties to source files to prevent mixed end-of-line characters. 14 years ago
Dean Camera f10126a95e Added new \ref SPI_GetCurrentMode() function to the SPI peripheral driver. 14 years ago
Dean Camera d8fe01f19a Rename new Audio class driver functions, callbacks and events to ensure that they contain the USB mode (Device or Host) in the function names. 14 years ago
Dean Camera 21a012a018 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. 14 years ago
Dean Camera f1cfd7ea7d Rename Audio Host Class driver internal descriptor matching routines to be in line with the rest of the class driver function names. 14 years ago
Dean Camera deaab90089 Ensure that only the requested Audio class pipes are mapped to endpoints within the device for a specific Audio Host Class driver instance. 14 years ago
Dean Camera 6e0a26083a Fix bugs in the Host mode Audio class driver. 14 years ago
Dean Camera 6e2a3174a5 Fix errors in the library Host mode Audio Class driver. 14 years ago
Dean Camera e5e34f91fa Fix compile errors when both Host and Device modes are enabled. 14 years ago
Dean Camera 1f1d0710f3 Add new Audio Class Driver Host demos. 14 years ago
Dean Camera 0bf5064aec Pipe_BoundEndpointNumber() has been renamed to Pipe_GetBoundEndpointAddress(), and now returns the correct endpoint direction as part of the endpoint address. 14 years ago
Dean Camera 34164a5550 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). 14 years ago
Dean Camera e572ee7ff2 Added new Host mode Audio Class driver. 14 years ago
Dean Camera 605ef921cc Fix compile errors when compiling for the AVR32 UC3 target. 14 years ago
Dean Camera 2e76ad721e Partial commit: Rename USBFOO LED driver to fix capitalisation of file name, which will cause issues on *nix systems. 14 years ago
Dean Camera 73733275be Partial commit: Rename USBFOO LED driver to fix capitalisation of file name, which will cause issues on *nix systems. 14 years ago
Dean Camera 567f7ecce0 Fix errors in the Audio device demos and class driver regarding multiple sample frequency support. 14 years ago
Dean Camera 2d778a3ff5 Add additional support files for the new low level AudioInputHost and AudioOutputHost demos. 14 years ago
Dean Camera 85f39a58c5 Move completed low level Audio Host demos into the LowLevel folder from the Incomplete folder. 14 years ago
Dean Camera 1a25b6f5f1 Update the Low Level Audio Input and Audio Output demos to support multiple sample rates. 14 years ago
Dean Camera 7dffa15c16 Massive corrections to the project documentation and code comments, thanks to Russian translation services provided by Andrey from Microsin.ru. 14 years ago
Dean Camera 0210fa5648 Fixed compile errors in the incomplete BluetoothHost demo application (thanks to Timo Lindfors). 14 years ago
Dean Camera 3bd6336075 Added board driver support for the Busware TUL board. 14 years ago
Dean Camera 2731c3a8ae Added new callback to the Audio Class driver to allow for endpoint control manipulations such as data sample rates. 14 years ago
Dean Camera f01a05415c Spell check library source code files. 14 years ago
Dean Camera 6d2a08f1b7 Fixed incorrect signature in the CDC and DFU class bootloaders for the ATMEGA8U2. 14 years ago
Dean Camera 68468e0aea Added new incomplete AudioOutputHost Host LowLevel demo. 14 years ago
Dean Camera 2a26efc691 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. 14 years ago
Dean Camera ea922c98d1 Added new incomplete AudioInputHost Host LowLevel demo. 14 years ago
Dean Camera cc9b190919 Add new USB_Host_SetInterfaceAltSetting() convenience function. 14 years ago
Dean Camera 7e1e23af59 Update trunk documentation for new LUFA release. 14 years ago
Dean Camera 6e7fc21a94 Fix incorrect macro guard in the UC3 EndpointStream header file. 14 years ago
Dean Camera 1ea5dae8a8 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). 14 years ago
Dean Camera edc4db41f4 Update Webserver project to remove DHCP IP configuration status notification. 14 years ago
Dean Camera 24ea531fab Update MediaController project to remove the Record usage (not often needed) and explicitly declare each usage for maximum clarity. 14 years ago
Dean Camera b88e0a7b90 Add new MediaController project, a simple Media Playback control manipulator (Play/Pause/Next Track/Volume/etc.). 14 years ago
Dean Camera 3cba88e4c0 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. 14 years ago
Dean Camera e349974aa9 Fix broken Doxygen documentation. 14 years ago
Dean Camera 9d733d44b4 Add new RNDIS_Host_IsPacketReceived(), RNDIS_Device_ReadPacket() and RNDIS_Device_WritePacket() functions to the Device RNDIS Class Driver. 14 years ago
Dean Camera 41de1d1dab Oops - fix bad include path in the moved USBKEY Dataflash board driver header. 14 years ago
Dean Camera 910bca557c Seperated out board drivers by architecture in the library internals for better organisation. 14 years ago
Dean Camera e10f5b4f14 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. 14 years ago
Dean Camera 064643e066 Add skeleton LUFAConfig.h to the CodeTemplates directory. 14 years ago
Dean Camera 049e930963 Fixed possible invalid program execution when in host mode if corrupt descriptor lengths are supplied by the attached device. 14 years ago
Dean Camera 7d3150423d Add new USE_LUFA_CONFIG_HEADER compile time option. 14 years ago
Dean Camera a85fa30bf1 Minor documentation fixes. 14 years ago
Dean Camera 71c5d4e3e5 Fix up mistakes in the Device Support documentation page. 14 years ago
Dean Camera f670bdeff8 Add __VA_ARGS__ support to the LUFA supplied ISR macro. Add proper result typecasting to the SWAPENDIAN_* macros. 14 years ago
Dean Camera 7b0cebc1d7 Add new LUFA powered user projects to the documentation. 14 years ago
Dean Camera 513db46548 Added LED flashing to the CDC and DFU class bootloaders to indicate when they are running. 14 years ago
Dean Camera 2b0c9532a3 Fix reversed descriptions for the AVR8 USB pad regulator enable/disable masks (thanks to Omar). 14 years ago
Dean Camera 04263de4f0 Fix definition of pgm_read_ptr(). 14 years ago
Dean Camera e0852408de Replace cast-as-char* byte access of multibyte variables with proper shifts and masks to preserve endianness across different architectures. 14 years ago
Dean Camera 4b1f6cac75 Slight cleanups to the architecture specific makefile templates to make the common configuration sections as identical as possible. 14 years ago
Dean Camera e009aafe25 Update architecture specific makefile templates so that they are as close to one-another as possible. 14 years ago
Dean Camera 16f09ab50a Add makefile template for the AVR32 UC3 architecture. 14 years ago
Dean Camera 995195a2b0 Add missing function attributes to the pipe/endpoint functions for all architectures. 14 years ago
Dean Camera 852b5e612d Remove redundant type information for bitfield elements, other than the signed/unsignedness of the element. 14 years ago
Dean Camera d08116b02f Create a new Common module documentation group for the new Global Interrupt macros. 14 years ago
Dean Camera c263ea837a Move global interrupt enable/disable functions out to Common.h and document them. 14 years ago
Dean Camera de9bd767dc Correct UC3 global interrupt functions. 14 years ago
Dean Camera 70284d390f Add in a new common Delay_MS() function, which provides a blocking delay for all architectures. 14 years ago
Dean Camera 0c5afda7e8 Oops - fix misnamed function call in Pipe_Discard_Stream(). 14 years ago
Dean Camera 96a2da1813 Oops - fix incorrect variable name in the updated Pipe_Write_8() function. 14 years ago
Dean Camera 899df7d331 Renamed all low level Endpoint_Read_*, Endpoint_Write_* and Endpoint_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures. 14 years ago
Dean Camera 2efa79d3ec Conditionally add available address spaces to the address space enum, for multiple address space architectures. 14 years ago
Dean Camera 06d00bb99b Ensure the library builds cleanly in device mode for architectures lacking multiple address spaces. 14 years ago
Dean Camera fa5c8700bc Fix corner case in the HID report descriptor Mouse/Joystick tempates at the 8/16 bit boundary. 14 years ago
Dean Camera f595043584 Add in new architecture attribute defines to selectively remove the EEPROM and FLASH memory space functions on architectures which do not have seperate memory address spaces. 14 years ago
Dean Camera aba7932a5c F_CLOCK changed to F_USB to be more descriptive, and applicable on future architecture ports. 14 years ago
Dean Camera c7f4752d6b Oops - Bootloader optimizations to GetDescriptor() don't work, as the Configuration Descriptor's header does not contain the full length of the descriptor, breaking full enumeration. 14 years ago
Dean Camera f6f4ac588c Fix bugs in the new VirtualSerialMassStorage demo (thanks to Martin Degelsegger). 14 years ago
Dean Camera b47374caf5 Fix incorrectly named include guards in the Board driver header files. 14 years ago
Dean Camera fe62770a1e Added new VirtualSerialMassStorage Device Class Driver demo. 14 years ago
Dean Camera 5eb1862d54 Remove redundant Doxygen guards from the internal preprocessor definitions. 14 years ago
Dean Camera 134e018b21 Fixed Remote Wakeup broken on the AVRs due to the mechanism only operating when the SUSPI bit is set (thanks to Holger Steinhaus). 14 years ago
Dean Camera 95a1aa4c01 Add named macros to the board joystick drivers where a shift is needed to maintain unique joystick direction bits in the returned mask value. 14 years ago
Dean Camera b35f93a372 Implemented on-demand PLL clock generation for the U4, U6 and U7 series USB AVRs when automatic PLL mode is specified. 14 years ago
Dean Camera 1a130eed6c Updated the software USART code in the XPLAIN Bridge application so that the incomming bits are sampled at their mid-point instead of starting point, to give maximum reliability (thanks to Anton). 14 years ago
Dean Camera 0111fb515d Oops - fix internal serial number extraction routine for the AVR8 architecture. 14 years ago
Dean Camera ea361a0d30 Correct Endpoint/Pipe maximum constants for the AVR32 UC3 models. 14 years ago
Dean Camera 02dfd7dc3d Simplify the internal serial extraction routines for each architecture. 14 years ago
Dean Camera a7eca42996 Add experimental support for the AVR32 UC3A4 microcontrollers. 14 years ago
Dean Camera 81fd8d4004 Re-add accidentally deleted Host_UC3.c and Host_UC3.h files. 14 years ago
Dean Camera 944e0d2009 Rename UC3B driver files to UC3, as they are generic to all AVR32 UC3 models. 14 years ago
Dean Camera 6005a42150 Add experimental support for the UC3A0, UC3A1 and UC3A3 series AVR32 microcontrollers. 14 years ago
Dean Camera f301a4a21f Oops - rename misnamed Endianess.h header file. 14 years ago
Dean Camera b1528a1256 Move out endianness management macros into a new common Endianness.h header. 14 years ago
Dean Camera 13e2f71f15 Simplify AVR32 UC3B software FIFO, as it will only ever be accessed a byte at a time to prevent data alignment issues. 14 years ago
Dean Camera c8a438d66c Add structure padding to the appropriate descriptor structures to maintain correct alignments on larger architectures. 14 years ago
Dean Camera e4b3e3fc65 Fix UC3B architecture compile errors and ensure the architecture can be compiled with no special makefile tokens defined. 14 years ago