qmk_firmware/LUFA
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
..
Build Minor documentation improvements. 2013-10-27 18:16:07 +01:00
CodeTemplates 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
Common Add missing U2S board definition, update build tests and documentation. 2013-06-22 13:13:17 +02:00
DoxygenPages AVR8: Add option to keep 3.3V regulator enabled 2013-12-20 00:04:51 +01:00
Drivers AVR8: Add option to keep 3.3V regulator enabled 2013-12-20 00:04:51 +01:00
Platform Ensure core library documentation sections use unique IDs. 2013-06-01 21:55:31 +02:00
StudioIntegration Fix STK525 and STK526 device support in the Atmel Studio extension. 2013-12-14 22:46:05 +11:00
Doxygen.conf Update to latest Doxygen configurations, patch Doxygen->Docbook transform due to changes in the code fragment output in the Doxygen XML. 2013-08-23 23:04:31 +02:00
License.txt Update copyright year to 2013. 2013-01-03 11:37:33 +00:00
makefile Fix broken core library Doxygen version number makefile macro. 2013-03-20 19:56:35 +00:00
Version.h Reset version information following the 130901 release. 2013-09-01 14:12:29 +02:00