qmk_firmware/LUFA/Drivers/USB/Core
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
..
AVR8 AVR8: Add option to keep 3.3V regulator enabled 2013-12-20 00:04:51 +01:00
UC3 Fixed incorrect USB device state set when a suspended LUFA device is woken while addressed but not configured (thanks to Balaji Krishnan) 2013-07-15 20:47:43 +02:00
XMEGA Fixed re-enumeration issue of XMEGA architecture targets. 2013-08-13 21:01:42 +02:00
ConfigDescriptors.c Update copyright year to 2013. 2013-01-03 11:37:33 +00:00
ConfigDescriptors.h Add some missing function attributes. 2013-04-11 17:39:00 +00:00
Device.h Update copyright year to 2013. 2013-01-03 11:37:33 +00:00
DeviceStandardReq.c Fix broken XMEGA USB support. 2013-01-27 19:35:40 +00:00
DeviceStandardReq.h Update copyright year to 2013. 2013-01-03 11:37:33 +00:00
Endpoint.h Update copyright year to 2013. 2013-01-03 11:37:33 +00:00
EndpointStream.h Update copyright year to 2013. 2013-01-03 11:37:33 +00:00
Events.c Remove CPPCheck suppressions for unused functions, disable checking for them in the StaticAnalysisTest build test as it can't cope with GCC aliasing and mixed library/application code. 2013-02-05 20:57:49 +00:00
Events.h Update copyright year to 2013. 2013-01-03 11:37:33 +00:00
Host.h Update copyright year to 2013. 2013-01-03 11:37:33 +00:00
HostStandardReq.c Update copyright year to 2013. 2013-01-03 11:37:33 +00:00
HostStandardReq.h Update copyright year to 2013. 2013-01-03 11:37:33 +00:00
OTG.h Update copyright year to 2013. 2013-01-03 11:37:33 +00:00
Pipe.h Update copyright year to 2013. 2013-01-03 11:37:33 +00:00
PipeStream.h Update copyright year to 2013. 2013-01-03 11:37:33 +00:00
StdDescriptors.h 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
StdRequestType.h Update copyright year to 2013. 2013-01-03 11:37:33 +00:00
USBController.h 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). 2013-04-28 11:31:28 +00:00
USBInterrupt.h Update copyright year to 2013. 2013-01-03 11:37:33 +00:00
USBMode.h Add missing include to the USB driver core mode header file. 2013-01-03 12:07:16 +00:00
USBTask.c Update copyright year to 2013. 2013-01-03 11:37:33 +00:00
USBTask.h Added new CONCAT() and CONCAT_EXPANDED() convenience macros. 2013-04-06 22:07:54 +00:00