| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
more space efficient when compiled.
Added new *_ENUMERROR_PipeConfigurationFailed error codes for the *_Host_ConfigurePipes() routines.
|
|
|
|
| |
redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
|
|
|
|
|
|
| |
flushing of interfaces when the USB management tasks for each driver is called.
The MIDI class drivers now automatically flushes the MIDI interface when the MIDI class driver's USBTask() function is called.
|
|
|
|
|
|
| |
is included, and no longer need to be seperately included.
All LowLevel demos changed to use the constants and types defined in the USB class drivers.
|
|
|
|
| |
tool made by Laszlo Monda
|
|
|
|
|
|
|
|
|
|
| |
on the configuration order instead to ensure maximum reliability.
Altered all low level device and host mode demos to ensure that endpoints and pipes are configured in ascending order properly.
Rewrote all low level host mode demos' configuration descriptor parser code to ensure that pipes are enumerated in ascending order, and to ensure maximum compatibility with devices.
Incremented all device mode demo's device descriptor revision numbers to ensure that any descriptor changes are re-fetched on machines which have enumerated previous versions.
|
|
|
|
|
|
|
|
| |
make them more managable.
Add new CDC descriptor structs to the CDC class driver, so that the CDC demos can use human readable field names.
Rename prefix for Still Image Host class driver functions from "SImage_" to "SI_" to remain consistent with the rest of the driver.
|
|
|
|
| |
control request is acknowledged and any data transferred as quickly as possible without any processing inbetween sections, so that long callbacks or event handlers will not break communications with the host by exceeding the maximum control request stage timeout period.
|
|
|
|
|
|
| |
acknowledged, so that long event handlers do do skew the timing of the control requests.
Fixed USBtoSerial and Benito project SetLineEncoding calls failing if the USART is busy, due to the RX ISR delaying the control request handler.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a double read from the endpoint.
Make XPLAINBridge and USBtoSerial projects more reliable by forcing a flush if the UART-to-USB buffer becomes nearly full.
Reduce locking in the LightweightRingBuffer.h header files by only locking on the update of the buffer count, and require insertions and removals from each buffer to occur in only one execution thread.
Fix CDC_*_ReceiveByte() returning 0 when the interface is not configured, instead of the new -1 error value.
Fix CDC_Host_ReceiveByte() not re-freezing the pipe if no packet has been received.
Remove redundant Pipe token set commands in the CDC and RNDIS host class drivers.
|
|
|
|
|
|
| |
that no data is indicated by a negative return value.
Added auto flushing of OUT data to the CDC Host Class driver's USBTask function to automatically flush the send pipe buffer.
|
|
|
|
| |
Indent core library function parameters so that there is only one parameter per line, to increase readability.
|
|
|
|
| |
were missing it.
|
|
|
|
| |
XPLAINBridge project.
|
|
|
|
| |
correctly converted to the target system's native end of line style.
|
|
|
|
|
|
| |
status stage is sent to prevent the host from timing out if another request is immediately fired and the device has a lengthy callback routine.
Inlined currently unused MIDI ProcessControlRequest routine.
|
|
|
|
| |
function to the Device and Host CDC Class drivers.
|
|
|
|
| |
queried and the bank has become empty.
|
|
|
|
| |
to manually include private driver header files, instead of the public driver headers.
|
|
|
|
| |
flushed only once when the bank is empty.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Class Driver demo.
Fixed all Class drivers to ensure they have appropriate guards on each function to ensure the device is enumerated before running, fixed error codes on all guards to return "DeviceDisconnected" where possble.
Renamed HOST_SENDCONTROL_DeviceDisconnect enum value to HOST_SENDCONTROL_DeviceDisconnected to be in line with the rest of the library enum error codes.
|
|
|
|
| |
requiring blocking reads.
|
|
|
|
|
|
| |
avr-libc return codes for errors and EOF.
Fix pointer arithmetic on void byte buffers by explicitly typecasting the buffer pointers to uint8_t* before altering them.
|
|
|
|
| |
standard streams from CDC Class driver instances.
|
|
|
|
| |
per-endpoint, per-interface level.
|
|
|
|
| |
correct size (thanks to Thomas Bleeker).
|
|
|
|
| |
service task call - only send termination packets when data is in the endpoint.
|
|
|
|
| |
quickly clear zero-length termination packets from the host.
|
|
|
|
|
|
|
|
| |
for serial data reception to prevent missed characters, condensed pulse generation counters into a struct for clarity.
Added check to CDC_Device_BytesReceived() to ensure 0 is returned when device is not enumerated to a host.
Move AVRISP project's V2Protocol_DelayMS() function to be static inline, as it is now very minimal. Added extra project doxygen documentation.
|
| |
|
|
|
|
|
|
| |
Minor updates to the unfinished SideShow demo for clarity.
Added unfinished MassStorageHost class driver demo.
|
|
|
|
| |
Adjustments to the CDC and MIDI device class drivers to use sizeof() on the actual variable being transmitted or received rather than its datatype to reduce possible mistakes.
|
|
|
|
|
|
|
|
| |
data endpoint could lock up the driver.
Further work on the new CDC and HID host mode class drivers.
Reset changelog et. al. to reset development information for the new version currently under development.
|
|
|
|
| |
library Endpoint_WaitUntilReady() function for robustness. Fixes issues with terminated transfers on the host locking up USB devices.
|
|
|
|
|
|
|
|
| |
events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only.
Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events.
Fixed incorrect Host state assignment in the incomplete BluetoothHost demo.
|
|
|
|
| |
device tries to send data before the host has set the line encoding.
|
|
|
|
| |
(both in device and host mode) to ensure sane values after each enumeration. User code should no longer explicitly set state information as this is no longer preserved.
|
|
|
|
|
|
|
|
|
|
|
|
| |
USB state.
Added new Endpoint_ClearStatusStage() convenience function to assist with the status stages of control transfers.
Removed vague USB_IsConnected global - test USB_DeviceState or USB_HostState explicitly to gain previous functionality.
Removed USB_IsSuspended global - test USB_DeviceState against DEVICE_STATE_Suspended instead.
Fixed possible enumeration errors from spinloops which may fail to exit if the USB connection is severed before the exit condition becomes true.
|
|
|
|
| |
connected and configured before running the task, to prevent any user tasks from locking up the main USB task if the device has not been properly configured.
|
|
|
|
|
|
| |
Added parameter directions to function parameter documentation.
Added new experimental FAST_STREAM_FUNCTIONS compile time option to speed up stream transfers at the expense of a higher FLASH consumption (needs testing to verify improved throughput).
|
|
|
|
| |
internal unique serial number as the device's serial number descriptor on supported AVR models.
|
|
|
|
| |
structs which are then combined, for clarity. Move device mode class driver interfaces back into the device mode class driver headers from the common class headers to make room for host class interfaces.
|
|
|
|
|
|
| |
Split out common defines/types from class drivers into a seperate common class driver directory.
Make central USB Class driver dispatch headers, used for both device and host modes.
|
|
|
|
| |
for similar host mode Class drivers.
|
| |
|
|
|
|
| |
endpoint support from HID driver (all OUT reports are now processed through control requests) as a seperate endpoint had issues with determining the exact output report length.
|
|
|
|
|
|
|
|
| |
interface structure as a parameter.
Converted TestApp demo over to the new demo structure.
More class driver documentation improvements.
|