Dean Camera
40e1caa2da
Fixed broken USE_RAM_DESCRIPTORS compile time option when the FIXED_NUM_CONFIGURATIONS compile time option is not enabled (thanks to Matlo).
9 years ago
Dean Camera
92e9cb71e2
Fixed incorrect CALLBACK_USB_GetDescriptor() wIndex parameter type (thanks to matlo).
9 years ago
Dean Camera
0626ac1f63
Add PROGMEM variant data send functions to the CDC host class driver.
10 years ago
Dean Camera
617763ae20
Merge pull request #49 from the2masters/progmem
...
Add PROGMEM string/data send variants to the CDC class driver (thanks to Stefan Hellermann).
10 years ago
Dean Camera
1d2680b358
Update copyrights to 2015 (better late than never).
10 years ago
Stefan Hellermann
64ef5396a5
Add Progmem Variant to CDC_Device_Send
10 years ago
Dean Camera
41634c4530
Obsolete the old MACROS and MACROE convenience macros.
10 years ago
Tom Hargreaves
b1603ba06e
add parens around args in MIDI_EVENT macro
10 years ago
Dean Camera
4d8ff75993
Add Dual MIDI device class driver demo application.
11 years ago
Dean Camera
0e68abcd4f
Fix overflow for RNDIS class driver responses when returning the adapter query list (thanks to Peter Mc Shane).
11 years ago
Dean Camera
4c06a9c88f
Minor code style fixes, documentation improvements.
11 years ago
Bert van Hall
c499a0b755
Fix XMEGA USB prescaler calculation
...
The USB prescaler calculation for the CLK.USBCTRL register is changed to
give valid results and set the prescaler correctly.
Signed-off-by: Bert van Hall <bert.vanhall@avionic-design.de>
11 years ago
Bert van Hall
ffb5f7e3b3
Fix missing report IDs in feature reports
...
As it is the case for input reports, the ID has to be sent for feature
reports when a device has multiple reports implemented.
Signed-off-by: Bert van Hall <bert.vanhall@avionic-design.de>
11 years ago
Dean Camera
b8f7dae24c
Fix possible infinite loop in the control stream write template functions.
11 years ago
Dean Camera
45f0971da5
Merge pull request #23 from mondalaci/add-further-scancodes
...
Fix typos and add new macros for HID keyboard scancodes.
11 years ago
László Monda
c0e32775f3
Fix typos and add new macros for HID keyboard scancodes.
11 years ago
Dean Camera
d8f36aa7a8
More fixes for incorrect return types/values.
11 years ago
Dean Camera
261284f5e1
Fix incorrect error codes returned on pip config failure in the host class drivers.
11 years ago
Dean Camera
b095177e20
Fix incorrect descriptor length when using USB_STRING_DESCRIPTOR macros.
11 years ago
Dean Camera
5789767889
Fix USB_STRING_DESCRIPTOR() macro reported length to account for the null-terminator.
11 years ago
Dean Camera
8328175482
Add USB_STRING_DESCRIPTOR_ARRAY() macro, update demos where required.
11 years ago
László Monda
28cadf077e
Add USB_STRING_DESCRIPTOR and make the Keyboard demo use it.
11 years ago
Dean Camera
e368a89987
Update copyrights for 2014.
11 years ago
Michael Hanselmann
25a02432e7
AVR8: Add option to keep 3.3V regulator enabled
...
The documentation contains example code[1] on how to restart into the
bootloader. In the process of preparing for the reset, USB is disabled
using “USB_Disable()”. For hardware making use of the AVR8's internal
3.3V regulator that call would also disable the regulator, resetting the
processor immediately rather than setting the boot key and letting the
watchdog reset the processor.
This patch adds a new flag to be given to “USB_Init()” or to be defined
in “USE_STATIC_OPTIONS” telling “USB_Disable()” to keep the regulator
enabled.
On November 1st, 2013 this issue was already mentioned on the mailing
list[2], but no fix came from that discussion.
[1]
<http://www.fourwalledcubicle.com/files/LUFA/Doc/130901/
html/_page__software_bootloader_start.html>
[2]
<https://groups.google.com/d/msg/lufa-support/uwrFpRQpJzU/e9I6UK5jMJQJ >
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
11 years ago
Dean Camera
e3cb0f48ef
Use new VERSION_BCD() macro with explicit int arguments to fix edge cases with the previous floating point macro version.
11 years ago
Dean Camera
6eba84bf4b
Fixed MIDI device class driver MIDI_Device_ReceiveEventPacket() for the XMEGA architecture.
11 years ago
Dean Camera
3fc75f130b
Minor documentation improvements.
11 years ago
Dean Camera
ab238601b9
Minor documentation corrections.
11 years ago
László Monda
ef1a4b750b
Use spaces instead of tabs wherever necessary to fix indentation.
11 years ago
László Monda
c41512c1e8
Use spaces instead of tabs where necessary to fix indentation.
11 years ago
Dean Camera
aded8373cc
Fixed error receiving PIMA events via the Still Image Host class driver.
12 years ago
Dean Camera
44bc433fb0
Fix code style in the HID parser module.
12 years ago
Dean Camera
179e18cf58
Prevent accessing past the UsageList bounds in the HID parser when dequeueing a usage.
12 years ago
Dean Camera
ea58513558
Fixed re-enumeration issue of XMEGA architecture targets.
12 years ago
Dean Camera
7cd9e0dbc4
Fixed incorrect USB device state set when a suspended LUFA device is woken while addressed but not configured (thanks to Balaji Krishnan)
12 years ago
Dean Camera
7941245122
Ensure core library documentation sections use unique IDs.
12 years ago
Dean Camera
f5882b875e
Fix HID descriptor mouse and joystick macros for integer multiples of 8 buttons.
12 years ago
Dean Camera
b5285c1411
Minor documentation improvements.
12 years ago
Dean Camera
8474262728
Simplify the Doxygen to Docbook XML transform.
12 years ago
Dean Camera
0d80075387
Fix missing bitshift in the AVR8 Pipe_GetBoundEndpointAddress() function.
12 years ago
Dean Camera
707934d9cb
Minor documentation improvements.
12 years ago
Dean Camera
214d5b39fc
Fix Pipe_GetBoundEndpointAddress() returning bad values in some circumstances.
12 years ago
Dean Camera
0223c3668c
Update Android Accessory Class driver to be compatible with protocol version 2 devices.
12 years ago
Dean Camera
961da384f9
Add proper reset handling to the USB Printer Device Class driver.
12 years ago
Dean Camera
95ba6527a5
Add missing EVENT_PRNT_Device_SoftReset() public function prototype.
12 years ago
Dean Camera
9ccf3eafad
Add new Printer Device Class driver.
12 years ago
Dean Camera
7f5445c8c6
Revert incorrect XMEGA interrupt disable patch; all flags *except* the interrupt level should be cleared, and not the interrupt level itself.
12 years ago
Dean Camera
7464e40a4b
Minor documentation improvements.
12 years ago
Dean Camera
15fb6351e5
Move USB mode enum into the top level USB controller header, as it is common to all architectures (even if not all modes are supported).
12 years ago
Dean Camera
8232721102
Fixed possible register corruption in USB Host mode on AVR8 devices when ORDERED_EP_CONFIG is used (thanks to Martin Aakerberg).
12 years ago