Dean Camera
e186907e39
Fixed lengthy timeouts in the USBtoSerial project if no application on the host is consuming data (thanks to Nicolas Saugnier).
...
Fixed lengthy automatic data flushing in the CDC and MIDI device class drivers.
12 years ago
Dean Camera
7a51e97c3b
Update LUFA core to be compatible with the AVR-GCC -Wswitch-default warning switch.
12 years ago
Dean Camera
376160e2c0
Add human readable license information and add some missing module documentation briefs.
12 years ago
Dean Camera
badbca5791
Fixed endianess issues in the RNDIS host class driver for UC3 devices (thanks to Andrew Chu). Fix broken build for UC3 devices when ORDERED_EP_CONFIG compile time option is set.
12 years ago
Dean Camera
ef06eefc8b
Add svn:eol-style property on all source files where it was missing. Fix line endings of all makefile, *.c and *.h files.
13 years ago
Dean Camera
c4ebddd27a
Add missing <math.h> include for the UC3 devices, hide CDC class driver stream functions for unsupported platforms.
13 years ago
Dean Camera
3808f5c36d
Spell check source code, fix mistakes.
13 years ago
Dean Camera
35564bb1a7
Fixed swapped Little Endian/Big Endian endpoint and pipe write code for the UC3 devices (thanks to Andrew Chu).
13 years ago
Dean Camera
82162c710c
Additional fixes to the MIDI host driver due to not unfreezing/re-freezing pipes correctly (thanks to Michael Brown).
13 years ago
Dean Camera
1007317c5f
Fixed broken MIDI host driver MIDI_Host_ReceiveEventPacket() function due to not unfreezing the MIDI data IN pipe before use (thanks to Michael Brown).
13 years ago
Dean Camera
2d98e5499b
Fixed possible deadlock in the CDC device driver if the USB connection is dropped while the CDC_REQ_SetLineEncoding control request is being processed by the stack (thanks to Jonathan Hudgins).
13 years ago
Dean Camera
e875d7cf9f
Changed MIDI event structure MIDI_EventPacket_t to use a single field for the combined virtual cable index and command ID, to prevent bitfield packing issues on some architectures (thanks to Darren Gibbs).
13 years ago
Dean Camera
47f6a35013
Reintegrate the FullEPAddresses development branch into trunk.
13 years ago
Dean Camera
1cc62c9282
Oops - typos in alterations to HID_DESCRIPTOR_JOYSTICK().
13 years ago
Dean Camera
b3aaffb792
Removed variable axis support from the HID_DESCRIPTOR_JOYSTICK() macro due to OS incompatibilities, replaced with fixed 3-axis joystick report structure.
13 years ago
Dean Camera
00b6b0140f
Re-enable cppcheck static analysis unused function checks after adding in special-case suppressions to the event stub functions. Add missing function prototypes to the AudioInput and AudioOutput class driver device demos.
13 years ago
Dean Camera
f87aec2264
Fixed incorrect call to the user callback CALLBACK_Audio_Device_GetSetInterfaceProperty() in the Audio Class device driver (thanks to Tiit Ratsep).
13 years ago
Dean Camera
77adb2ba52
Audio Device Class driver changed to also require the index of the Audio Control interface within the device, for SET/GET/CUR/MIN/MAX/RES property adjustments.
13 years ago
Dean Camera
e406140f11
Minor documentation fixes - change \note entries to \warning where appropriate and remove/update old documentation.
13 years ago
Dean Camera
4068efbd18
Remove potentially unaligned uint32_t access in HIDParser.c, replace with standard C bit shifts.
13 years ago
Dean Camera
50ff97f378
All USB Class Driver configuration struct values are now non-const, to allow for run-time modifications if required before configuring an instance.
13 years ago
Dean Camera
82fdedc192
Minor documentation improvements.
13 years ago
Dean Camera
81bd8f2f83
Clean up the Audio Device class driver control request Endpoint match logic.
13 years ago
Dean Camera
2180f57d17
Altered the HID class driver to only try to construct at maximum one packet per USB frame, to reduce CPU usage.
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
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
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.
...
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.
13 years ago
Dean Camera
70f3d8e933
Add support for the Paranoid Studio USB2AX boards (hardware revisions 1-3).
13 years ago
Dean Camera
cdd4e11fa8
Oops - fix incorrect value of AOA_CSCP_AOADataSubclass in the Android Open Accessory class driver.
13 years ago
Dean Camera
7f8dbb4908
Convert the LowLevel AndroidAccessory demo to use the new class driver constants to reduce code duplication.
...
Add missing Doxygen documentation.
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
09577fe541
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.
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
8df0cf3241
Fixed race conditions in the CDC, HID and Mass Storage class drivers when processing some control requests.
13 years ago
Dean Camera
f1543ae8ff
Fixed CDC class drivers not saving and sending all 16-bits of the control line states (thanks to Matthew Swabey).
13 years ago
Dean Camera
2ae41fb153
Added endian-correction to the CDC driver's Line Encoding control request handlers.
13 years ago
Dean Camera
77dbfd3cc4
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.
13 years ago
Dean Camera
99ff27e403
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.
13 years ago
Dean Camera
4b229cb5ef
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.
13 years ago
Dean Camera
94e0a0058a
Oops - restore conditional calls to USB_USBTask() in the Mass Storage class driver for the non-stream loops.
13 years ago
Dean Camera
dc9133ad21
Move documentation for the USB_HOST_TIMEOUT_MS into the HostStandardReq module where it is used.
13 years ago
Dean Camera
3b898ae178
Remove redundant prototype for Audio_Host_StartStopStreaming() and Audio_Host_GetSetEndpointProperty(). Update host mode Audio class inline functions to prevent unused parameter warnings.
13 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.
...
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.
13 years ago
Dean Camera
2d9f98b592
Add multiple axis support to the HID joystick report in the HID_DESCRIPTOR_JOYSTICK() macro.
13 years ago
Dean Camera
40728fd20d
Remove redundant calls to USB_USBTask() in the Mass Storage Device Class driver when INTERRUPT_CONTROL_ENDPOINT is not used, as this is done inside the stream callbacks.
...
Fix implementations of Endpoint_SetEndpointDirection() and Endpoint_GetEndpointDirection() for the AVR8 architecture.
13 years ago