| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
|
|
|
| |
supported USB mode and no USB_DEVICE_ONLY or USB_HOST_ONLY configuration token set.
|
|
|
|
| |
starts the application via a software jump without first turning off the OTG pad (thanks to Simon Inns)
|
| |
|
|
|
|
| |
be bulk-added to existing IDE projects without having to exclude unused architecture files.
|
| |
|
| |
|
|
|
|
| |
trailing whitespace at the end of each line.
|
|
|
|
| |
the PLL is now configured for 48MHz and not a divided 96MHz, to lower power consumption and to keep the system within the datasheet specs for 3.3V operation (thanks to Scott Vitale).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
EVENT_USB_Host_DeviceEnumerationComplete() event callback for device configuration instead of manual host state machine manipulations in the main application task.
Added new USB_Host_ConfigurationNumber global variable to indicate the selected configuration in an attached device.
Renamed global state variables that are specific to a certain USB mode to clearly indicate which mode the variable relates to, by changing the USB_* prefix to USB_Device_* or USB_Host_*.
Removed the HOST_STATE_WaitForDeviceRemoval and HOST_STATE_Suspended host state machine states, as these are no longer required.
Altered the USB_Host_SetDeviceConfiguration() function to update the new USB_Host_ConfigurationNumber global as required.
Moved out the Host mode standard request convenience/helper functions from the architecture specific Host driver files to the architecture agnostic HostStandardReq.c driver file.
|
|
|
|
|
|
| |
disabled, and a USE_*_DESCRIPTORS compile time option was not enabled on the AVR8s.
Add C++ compatibility to some header files currently missing extern "C" linkage.
|
|
|
|
|
|
| |
when the SUSPI bit is set (thanks to Holger Steinhaus).
Remove redundant setting of UIDE in the AVR8 and AVR32 USB controller drivers.
|
|
|
|
| |
AVRs when automatic PLL mode is specified.
|
|
|
|
| |
using a modified mouse demo on the EVK1101. Implement a software FIFO for the endpoint banks; datasheet hints that this can be done through hardware as on the AVR8 architecture, but the correct method to do this not discovered yet.
|
|
|
|
|
|
| |
interrupt handler routines used by LUFA. Add dummy loads after clearing the interrupt lines according to the datasheet.
Add in temporary global interrupts enable/disable macros.
|
|
|
|
| |
inlined functions instead, for better compile-time validity checking and to keep the per-architecture source files as uniform as possible.
|
|
identifying filenames in the documentation.
|