1
0
Fork 0
forked from forks/qmk_firmware
Commit graph

1018 commits

Author SHA1 Message Date
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). 2015-12-15 21:49:05 +11:00
Dean Camera 92e9cb71e2 Fixed incorrect CALLBACK_USB_GetDescriptor() wIndex parameter type (thanks to matlo). 2015-12-02 18:56:52 +11:00
Dean Camera 1914573cd4 Whitespace fixes. 2015-10-03 22:29:10 +10:00
Dean Camera 8f33ba8237 Merge pull request #46 from NicoHood/patch-1
Update Arduino Uno board definitions (thanks to NicoHood).
2015-10-03 22:12:56 +10:00
Dean Camera 7638128d47 Use 16-bit length for TWI driver packet read/write requests for longer transfers. 2015-09-27 16:08:13 +10:00
Dean Camera 0626ac1f63 Add PROGMEM variant data send functions to the CDC host class driver. 2015-08-01 11:58:30 +10:00
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).
2015-08-01 11:46:05 +10:00
Dean Camera 1d2680b358 Update copyrights to 2015 (better late than never). 2015-05-17 13:14:29 +10:00
Dean Camera 366a846156 Fix incorrect XMEGA serial driver stream functions (thanks to William Patterson). 2015-05-17 13:01:13 +10:00
Dean Camera be2df78637 Minor documentation improvements. 2015-03-15 19:51:15 +11:00
Stefan Hellermann 64ef5396a5 Add Progmem Variant to CDC_Device_Send 2015-02-28 12:30:04 +01:00
Nico 017d0d8f91 Update Board.h
Added reset lines
2015-02-24 09:42:31 +01:00
Nico 6e5df9e4be Update LEDs.h
Changed Led 5 and 4 to be compatible with the official firmware:
https://github.com/arduino/Arduino/blob/master/hardware/arduino/avr/firmwares/atmegaxxu2/arduino-usbserial/Board/LEDs.h#L54-L57

Added TX and RX Led makro

Fixed wrong Led logic: OUT and LOW results in LED on.
2015-02-24 09:38:12 +01:00
Dean Camera 0c3cc14006 Upgrade to latest Doxygen. 2014-12-27 10:23:41 +11:00
Dean Camera e37e86583c Add board drivers for the Atmel Xplained-MINI kits. 2014-11-20 14:45:20 +11:00
Dean Camera def7fca736 Add missing MICRO board drivers. 2014-09-28 15:48:15 +10:00
Dean Camera 5df2027e79 Minor documentation improvements. 2014-09-14 16:52:36 +10:00
Dean Camera 41634c4530 Obsolete the old MACROS and MACROE convenience macros. 2014-09-14 11:45:02 +10:00
Dean Camera 6c8ebd70c7 Fixed broken AVR8 USART-SPI peripheral driver (thanks to Phil Zakielarz). 2014-09-13 16:29:29 +10:00
Dean Camera c69a623652 Add support for the Arduino Micro board, fix other Arduino board LED drivers. 2014-09-11 23:16:16 +10:00
Dean Camera 5e4b14f007 Oops - include board and LED drivers for the Arduino Yun. 2014-09-11 22:24:16 +10:00
Dean Camera 7046ebb37b Add board support for the Arduino YUN ATMEGA32U4 coprocessor. 2014-09-11 22:22:22 +10:00
Dean Camera 7423c1213f Merge pull request #36 from hexwab/midimacrofix
Add missing argument parenthesis on the MIDI_EVENT() macro.
2014-09-08 21:04:31 +10:00
Dean Camera 3692325f58 Merge pull request #38 from jacobschloss/xmega_twi_caps
Fix mismatched capitalization of "TWI" for the XMEGA architecture TWI driver.
2014-09-08 21:03:38 +10:00
Jacob Schloss b73cec0876 Make twi capitalization match. 2014-09-07 18:44:34 -07:00
Tom Hargreaves b1603ba06e add parens around args in MIDI_EVENT macro 2014-09-06 04:53:36 +01:00
Dean Camera 4d8ff75993 Add Dual MIDI device class driver demo application. 2014-08-31 21:27:35 +10:00
Dean Camera 0e68abcd4f Fix overflow for RNDIS class driver responses when returning the adapter query list (thanks to Peter Mc Shane). 2014-08-31 20:14:48 +10:00
Hell f6fe9db8ba Fix Serial_XMEGA.h syntax and define error 2014-08-13 17:55:05 +08:00
Dean Camera 4c06a9c88f Minor code style fixes, documentation improvements. 2014-07-22 19:25:41 +10:00
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>
2014-07-22 10:41:55 +02:00
Dean Camera 3d818fbb86 Add Serial_IsSendReady() and Serial_IsSendComplete() serial driver API functions. 2014-07-15 21:23:13 +10:00
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>
2014-06-19 14:38:49 +02:00
Dean Camera b8f7dae24c Fix possible infinite loop in the control stream write template functions. 2014-06-08 15:33:29 +10:00
Dean Camera 7768935889 Fix LED driver for the Arduino Leonardo board. 2014-04-30 20:36:49 +10:00
Dean Camera 45f0971da5 Merge pull request #23 from mondalaci/add-further-scancodes
Fix typos and add new macros for HID keyboard scancodes.
2014-04-07 13:44:53 +02:00
László Monda c0e32775f3 Fix typos and add new macros for HID keyboard scancodes. 2014-04-06 19:27:40 +02:00
Dean Camera d8f36aa7a8 More fixes for incorrect return types/values. 2014-03-09 15:38:27 +11:00
Dean Camera 261284f5e1 Fix incorrect error codes returned on pip config failure in the host class drivers. 2014-03-05 21:41:45 +11:00
László Monda 987cd32f65 Fix ring buffer example. 2014-02-01 20:48:33 +01:00
Dean Camera b095177e20 Fix incorrect descriptor length when using USB_STRING_DESCRIPTOR macros. 2014-01-27 22:28:53 +11:00
Dean Camera 5789767889 Fix USB_STRING_DESCRIPTOR() macro reported length to account for the null-terminator. 2014-01-08 10:51:48 +11:00
Dean Camera 8328175482 Add USB_STRING_DESCRIPTOR_ARRAY() macro, update demos where required. 2014-01-08 10:41:16 +11:00
László Monda 28cadf077e Add USB_STRING_DESCRIPTOR and make the Keyboard demo use it. 2014-01-08 10:36:18 +11:00
Dean Camera e368a89987 Update copyrights for 2014. 2014-01-04 10:45:02 +11:00
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>
2013-12-20 00:04:51 +01:00
Dean Camera e3cb0f48ef Use new VERSION_BCD() macro with explicit int arguments to fix edge cases with the previous floating point macro version. 2013-11-21 19:19:45 +01:00
Dean Camera 6eba84bf4b Fixed MIDI device class driver MIDI_Device_ReceiveEventPacket() for the XMEGA architecture. 2013-11-05 22:16:15 +01:00
Dean Camera 814d0b9098 Minor documentation fixes. 2013-10-27 23:15:20 +01:00
Dean Camera 3fc75f130b Minor documentation improvements. 2013-10-27 18:16:07 +01:00