Commit Graph

762 Commits (91eb7c34c77a51b67abd9e360cb53adf4c749a93)

Author SHA1 Message Date
Dean Camera e55946f972 Add missing svn:eol-style properties to /trunk/. 13 years ago
Dean Camera f1b6ddb710 Update file contributor copyrights for 2012. 13 years ago
Dean Camera 2c806f6cee Update file header copyrights for 2012. 13 years ago
Dean Camera df33278d91 Minor documentation corrections. 13 years ago
Dean Camera fc4d3ab400 Minor documentation improvements. 13 years ago
Dean Camera a147cee95f Added new CALLBACK_Audio_Device_GetSetInterfaceProperty() callback to the Audio Device Class driver. 13 years ago
Dean Camera 3038ea1c6e USB_CONFIG_ATTR_BUSPOWERED constant renamed to USB_CONFIG_ATTR_RESERVED, as this was misnamed (thanks to NXP Semiconductors). 13 years ago
Dean Camera f201f6697b Run wspurify script on /trunk/ and /branches/ C source files, to remove any trailing whitespace at the end of each line. 13 years ago
Dean Camera 676de74d9b 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. 13 years ago
Dean Camera 0c59d5993e 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. 13 years ago
Dean Camera 057972bd25 Remove unnecessary ErrorCode variable initializations from the LowLevel Host mode demos. 13 years ago
Dean Camera 7f8dbb4908 Convert the LowLevel AndroidAccessory demo to use the new class driver constants to reduce code duplication. 13 years ago
Dean Camera 8b5aa61601 Add new Android Open Accessory class driver to the library core and add a new Android Open Accessory Host ClassDriver demo. 13 years ago
Dean Camera d619214854 Update library to indicate support for the Android Accessory Host demo. 13 years ago
Dean Camera 08f448407b Move out Android Accessory Host demo to the Host mode LowLevel directory now that it is functionally complete. 13 years ago
Dean Camera e9802253e2 Add const-correctness to the Android_SendString() function of the Android Accessory Host demo. 13 years ago
Dean Camera c704131be4 Fix interface protocol match value for the Android Accessory Host demo interface configuration parser code (thanks to Opendous Inc.). 13 years ago
Dean Camera eb2e883fd3 Added Class, ClassDevice, ClassHost and ClassCommon to the internal class driver source filenames to prevent ambiguities. 13 years ago
Dean Camera 3e04487279 Fixed misspelled HID_KEYBOARD_MODIFIER_* macros in the HID class driver (thanks to Laszlo Monda). 13 years ago
Dean Camera e30be658c9 Add missing SVN eol-style property to ensure that source code line endings and converted to the native values on checkout. 13 years ago
Dean Camera 6519aaa571 Fix incorrect Android Accessory Host interface descriptor subclass value (thanks to Opendous Inc.). 14 years ago
Dean Camera c9e817ff47 Fixed port state table corruption in the TCP layer of the RNDIS Ethernet device demos. 14 years ago
Dean Camera 6553bf5bfb Fix incorrect function call name in USB_Host_SendControlRequest() for AVR8 devices. 14 years ago
Dean Camera 022fa26b43 Fix missing C++ linkage command in ArchitectureSpecific.h. 14 years ago
Dean Camera b5682f2c44 Add project name to the Doxygen makefile target output. 14 years ago
Dean Camera aae59857a2 Add const qualifier to all PROGMEM data to prevent warnings in newer AVR-GCC compiler versions. 14 years ago
Dean Camera 8b420566cd Fix Class Driver GenericHID demo using the wrong size for the returned reports. 14 years ago
Dean Camera a233109909 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. 14 years ago
Dean Camera 2d9f98b592 Add multiple axis support to the HID joystick report in the HID_DESCRIPTOR_JOYSTICK() macro. 14 years ago
Dean Camera d0ac8e46f9 Renamed the JTAG_DEBUG_ASSERT() macro to JTAG_ASSERT(). 14 years ago
Dean Camera 3478178127 Add shortcuts to SwapEndian_16() and SwapEndian_32() internal functions to improve optimization if called with constant inputs. 14 years ago
Dean Camera c505ba047f 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). 14 years ago
Dean Camera aceb015ea7 Fixed incorrect Dataflash buffer use in the DataflashManager_WriteBlocks_RAM() function of several demos/projects (thanks to Jeremy Willden). 14 years ago
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 0c2ad9eb34 Add missing SVN eol-style property to files where it was missing. 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 85e85befc4 More endianness porting of the LUFA device mode class drivers. 14 years ago
Dean Camera 7c7778e3ce Minor style improvements to the incomplete AndroidAccessoryHost demo. 14 years ago
Dean Camera 3309c00a99 Minor demo/project documentation and style fixes. 14 years ago
Dean Camera 55aadf97d5 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. 14 years ago
Dean Camera d9c16402b9 Add missing device deconfiguration-on-error statements to the host mode demos and projects. 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 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 5a580c6854 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. 14 years ago
Dean Camera 75da0d1877 Update AudioInput and AudioOutput Class Driver device mode demos to use a switch statement when selecting the audio request type for clarity. 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 84ddf237db Oops - Mouse ClassDriver multi-arch demo changes were applied to trunk, rather than the correct branch. 14 years ago
Dean Camera 3bd36f811c Update Mouse demo to support the UC3 devices in the MultiArchDemos branch. 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 6599238dab 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. 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 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 57eedebd19 Fix Doxygen documentation errors. 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 1191da7b7b Add missing AS4 and project description files to the new Audio Host demos. 14 years ago
Dean Camera 1f1d0710f3 Add new Audio Class Driver Host demos. 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 2da2b2d9fb Update incomplete Host mode Audio demos to use the correct class driver Endpoint Sampling Frequency Control value constant. 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 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 78cfaac9b4 Remove output files from the incomplete AudioInputHost demo, and improve the logic in the ConfigDescriptor.c device configuration processing routine. 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 f0ff633962 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). 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 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 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 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 78e58b6d1c Add incomplete Android Accessory Host LowLevel demo. 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 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 8f5ab27dc9 Use the MIN() macro where possible instead of manual "(x < y) ? x : y" constructs. 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 f6f4ac588c Fix bugs in the new VirtualSerialMassStorage demo (thanks to Martin Degelsegger). 14 years ago
Dean Camera fe62770a1e Added new VirtualSerialMassStorage Device Class Driver demo. 14 years ago
Dean Camera 8b13f7f89a Endpoint_ResetFIFO() renamed to Endpoint_ResetEndpoint(), to be consistent with the Pipe_ResetPipe() function name. 14 years ago
Dean Camera 3d4d8e7f62 Add new ARCH option to the makefiles to (eventually) specify the target device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support. 14 years ago
Dean Camera 782614dbb5 Add static keyword to all project globals whose scope should be restricted to the same module as they are declared in. 14 years ago
Dean Camera 5430e1973c Add missing svn:eol-style properties to the new KeyboardMouseMultiReport demo. 14 years ago
Dean Camera 5995c3f880 Oops - fix missing constants in the TempDataLogger FatFS diskio.h header file. 14 years ago
Dean Camera b1d7568651 Fix incorrect #include filenames in the RNDIS demos. 14 years ago
Dean Camera 43b9d552bb Renamed all driver termination *_ShutDown() functions to the more logical name *_Disable(). 14 years ago
Dean Camera 9051d3beb0 Oops - fix up some calls to the old function names, include Serial Peripheral driver in the RNDISEthernetHost project. 14 years ago
Dean Camera 43c4735305 Renamed the PRNT_Host_SendString(), CDC_Host_SendString() and CDC_Device_SendString() functions to *_SendData(), and added new versions of the *_SendString() routines that expect a null terminated string instead. 14 years ago
Dean Camera afd828c095 Removed SerialStream module, rolled functionality into the base USART Serial peripheral driver instead through the new Serial_CreateStream() and Serial_CreateBlockingStream() methods. 14 years ago
Dean Camera 30f6d2bfd8 Oops - forgot to add in LOGICAL MINIMUM and LOGICAL MAXIMUM report items into the standard library Joystick HID report descriptor macro. Add in support for joystick resolution reporting via PHYSICAL_MINIMUM and PHYSICAL_MAXIMUM items. 14 years ago
Dean Camera e6dc951630 Add new HID_DESCRIPTOR_VENDOR() macro, change over all projects and Device ClassDriver demos to use it. 14 years ago
Dean Camera a852ea8e43 Added new KeyboardMouseMultiReport Device ClassDriver demo. 14 years ago
Dean Camera 6c7ed7ecd6 Added new HID_DESCRIPTOR_MOUSE, HID_DESCRIPTOR_KEYBOARD and HID_DESCRIPTOR_JOYSTICK macros for easy automatic creation of basic USB HID device reports. 14 years ago
Dean Camera 6d67b1df3c Change over Joystick demo HID report descriptor to use USAGE_MINIMUM and USAGE_MAXIMUM when describing the joystick buttons, to allow for easy extension of the number of supported buttons. 14 years ago
Dean Camera efd57cfe51 Abuse the the C preprocessor so that the HID macros can automatically encode data into the array from the HID macros automagically, by specifying the bit-width of the data, and the data itself as a single integer value of that width. 14 years ago
Dean Camera 039a714ee4 New HID report item macros (with HID_RI_ prefix) to allow for easy creation and editing of HID report descriptors. 14 years ago
Dean Camera 70d55f6e0c Added new high level TWI packet read/write commands, altered behaviour of the TWI_StartTransmission() function. 14 years ago
Dean Camera 187ccb2e15 Fix typos and outdated information. 14 years ago
Dean Camera f555ad7ced Altered all endpoint/pipe stream transfers so that the new BytesProcessed parameter now points to a location where the number of bytes in the transfer that have been completed can be stored (or NULL if entire transaction should be performed in one chunk). 14 years ago
Dean Camera 1d433d4506 Update copyright year on all source files. 14 years ago
Dean Camera a8b66f318d Documentation improvements - put driver example code into its own section, fix incorrect and missing section names. 14 years ago
Dean Camera a57287a59f Fix a few more incorrectly ordered endpoint initialisations in the device demos. 14 years ago
Dean Camera cbafc306b2 Fixed incorrect endpoint initialisation order in the LowLevel DualVirtualSerial demo (thanks to Rick Drolet). 14 years ago
Dean Camera c879887dce Fixed broken HID_REQ_GetReport request handler in the Low Level GenericHID demo. 14 years ago
Dean Camera 9f7883fa2b Added ability to write protect Mass Storage disk write operations from the host OS. 14 years ago
Dean Camera c43605612d Lower bulk endpoint polling rate in the descriptors to the lowest possible value to give maximum throughput. 14 years ago
Dean Camera 50390867e7 Fixed incorrect PollingIntervalMS values in the demo/project/bootloader endpoint descriptors (thanks to MCS Electronics). 14 years ago
Dean Camera 0ce2950d81 Added board hardware driver support for the Adafruit U4 breakout board. 14 years ago
Dean Camera fb76acb084 Renamed the EVENT_USB_Device_UnhandledControlRequest() event to EVENT_USB_Device_ControlRequest() as it is now fired before the library request handlers, not afterwards. 15 years ago
Dean Camera 99a9e415ef Loop in the ClassDriver MIDI device/host demos until there are no more incomming events to process. Only clear the endpoint/pipe bank in the LowLevel MIDI device/host demos when the endpoint is empty after an event read. 15 years ago
Dean Camera 5ce8380a7d Fix XPLAINBridge code broken during the changes to the Rescue Clock generation in the AVRISP-MKII clone project. 15 years ago
Dean Camera b8dfa976ce Added standard keyboard HID report scancode defines (thanks to László Monda). 15 years ago
Dean Camera cb779e3d7d Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists. 15 years ago
Dean Camera 08de757811 Changed AudioInput and AudioOutput demos to reload the next sample via an interrupt rather than polling the sample timer. 15 years ago
Dean Camera 55538dcef3 Add descriptor class, subclass and protocol constants to the class drivers, modify all demos to use them where possible. 15 years ago
Dean Camera b37d77eab3 All USB class drivers are now automatically included when LUFA/Drivers/USB.h is included, and no longer need to be seperately included. 15 years ago
Dean Camera bd337aced3 Added default test tone generation mode to the Device mode AudioInput demos. 15 years ago
Dean Camera 911170bf0b Add missing ENDPOINT_ATTR_NO_SYNC and ENDPOINT_USAGE_DATA attributes to the descriptors in the ClassDriver MassStorageKeyboard demo. 15 years ago
Dean Camera 3661ae8dfb Minor documentation corrections. 15 years ago
Dean Camera 5a4def7478 Clean up excessive whitespace at the end of each line using the wspurify tool made by Laszlo Monda 15 years ago
Dean Camera 7aaced1e8b Remove USB_MODE_* macros, replace with a semantically linked USB_Modes_t enum. 15 years ago
Dean Camera f78b3eb4ef Remove MIDI ClassDriver device demo's accidental inclusion of the unused ADC peripheral driver header file. 15 years ago
Dean Camera c8942ef469 Fixed LowLevel JoystickHostWithParser demo not saving the chosen HID interface's report descriptor size. 15 years ago
Dean Camera d36c96d6a5 Oops - revert changes to the Device mode Class Driver VirtualSerial demo makefile. 15 years ago
Dean Camera d06febbb59 Fix device mode for the U4 parts. 15 years ago
Dean Camera 86367574e6 Fix incorrectly named configuration descriptor callback routines in the host mode class drivers. 15 years ago
Dean Camera 7166c7ba3e Fix low level host mode demos not correctly fetching the next endpoint when an invalid interface is discarded. 15 years ago
Dean Camera 158afe9109 Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction on the configuration order instead to ensure maximum reliability. 15 years ago
Dean Camera c0e4f52e8f Fix up incorrect version numbers in demo/project descriptors. 15 years ago
Dean Camera b2a30cd48a Added CDC functional descriptor structs to the Low Level CDC demos and CDC class bootloader, to improve the readability of the descriptors. 15 years ago
Dean Camera 713670043a Move out many of the common class driver constants into grouped enums, to make them more managable. 15 years ago
Dean Camera 800485bd95 Remove dfu-programmer program switches, to ensure maximum compatibility with all dfu-programmer versions. 15 years ago
Dean Camera bd85422d2b Added the --suppress-bootloader-mem option to the makefile dfu target, to ensure that writes to the bootloader section of the AVR's flash memory are ignored (thanks to Axel Rohde). 15 years ago
Dean Camera 5f3c4cc6e0 Reverted modifications to USBInterrupt.h that were intefering with correct host mode operation. 15 years ago
Dean Camera ed7067e89f Rename internal suspend and wake up USB interrupt macros so that they follow the same naming scheme as the other USB ISR macros. 15 years ago
Dean Camera 01fecac0a7 Ensure device address latch bit is not set at the same time as the new address, as per datasheet. 15 years ago
Dean Camera 6d2f091cec Make project makefiles correctly clean intermeditary build files from assembly and C++ sources (thanks to Daniel Czigany). 15 years ago
Dean Camera fdcb486e22 Fix typos in the project overview text files. 15 years ago
Dean Camera c166dfc64e Added class specific descriptor type defines with standard USB-IF element naming. 15 years ago
Dean Camera 7aaf9b2036 Added new PRNT_Host_BytesReceived() and PRNT_Host_ReceiveByte() functions to the Print Host Class driver. 15 years ago
Dean Camera 18cbd31605 Added new USB_Device_GetFrameNumber() and USB_Host_GetFrameNumber() functions to retrieve the current USB frame number. 15 years ago
Dean Camera 4dece08bef Clarify in the project documentation files what the each of the different USB AVR device "series" comprises of. 15 years ago
Dean Camera b3c6599bb7 Remove remaining void* descriptor casts in the projects and demos that were not removed when the GetDescriptor callback function's signature was altered. 15 years ago