| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
correctly converted to the target system's native end of line style.
|
|
|
|
| |
that the stream functions early-abort if the bus is suspended before or during a transfer.
|
|
|
|
|
|
| |
returning a stall to the host.
Make TeensyHID bootloader use an 8 byte control endpoint to match the official Teensy, just in case Paul decides to authenticate on that attribute in the future.
|
| |
|
|
|
|
| |
macro for setting a pipe's direction. Fixed CDCHost failing on devices with bidirectional endpoints.
|
|
|
|
| |
when the given data length is zero.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
CDC demo. Added const qualifier to Endpoint/Pipe stream write routines.
|
|
|
|
| |
Simplify AudioOutput demos, to reduce the number of cycles needed to process each incomming sample.
|
|
|
|
|
|
|
|
| |
would become corrupted due to an incorrect bounds check when iterating over the port state table, causing random resets.
Revert change to Template_Endpoint_Control_R.c, which broke control stream reads.
Remove uneeded ADC.h include in the class driver AudioOutput demo.
|
|
|
|
|
|
| |
incomplete packet is sent from the host (indicating end of transfer), add check for control reads to ensure that no more than wLength bytes are read from the interface.
Condense sequential printf_P/puts_P calls to single printf_P calls for size and clarity.
|
|
|
|
|
|
|
|
| |
aborts for unexpected new SETUP tokens, or unexpected status stage during control stream writes.
Fix corruption in Device RNDIS demos TCP stack when too many connections attempted simultaneously, freezing the device when a page was re-fetched before the first connection was closed.
Fix incorrect model compatibility information in the Host LowLevel demo overview text files.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
ID string length from the start of the returned array (thanks to John Andrews).
Fixed error in new pipe stream function template system not setting the right device token for R/W operations (also thanks to John Andrews).
|
|
functions. Changed Endpoint.c and Pipe.c to use a templated system to build the seperate functions, rather than duplicating each function's code many times.
|