| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Add logical grouping of related #define values for better Doxygen documentation.
|
|
|
|
| |
redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
|
|
|
|
| |
changed it to return the maximum number of supported banks for the given endpoint.
|
|
|
|
| |
tool made by Laszlo Monda
|
|
|
|
|
|
|
|
| |
Moved the USB device selection logic for ENDPOINT_TOTAL_ENDPOINTS further up in Endpoint.h to where the endpoint bank capabilities are determined, to reduce the total number of device-specific logic.
Change USB_Host_WaitMS() to test and disable the HSOFI interrupt before resuming the bus, so that it does not fire before the delay loop has run.
Add missing const qualifier to the parameter of USB_Host_ClearPipeStall().
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
callback function causing broken GET REPORT requests.
Minor whitespace fixes.
|
|
|
|
| |
Pipe_ConfigurePipe() functions.
|
|
|
|
| |
and PipeStream.c/.h files.
|
|
|
|
|
|
| |
use inlined or function called versions depending of if the given bank size is a compile time constant, as the compiler does a better job of optimizing with basic code.
Changed over all device demos to use a clearer algorithm for the configuring of the application's endpoints.
|
|
|
|
| |
masking for the private endpoint configuration routine, instead of performing the masking in the Endpoint_ConfigureEndpoint() macro.
|
|
|
|
| |
header structure, so that all header data is read in one chunk in the incomplete TMC demo.
|
|
|
|
| |
added type-safety and compile-checking.
|
|
|
|
| |
Indent core library function parameters so that there is only one parameter per line, to increase readability.
|
|
|
|
|
|
| |
bootloader makefiles due to inconsistancies between the behaviour of the command line tools used to perform the check on each platform.
Removed the internal endpoint and pipe memory allocation macros, as this is already performed directly in the code. Simplify the endpoint and pipe reset procedure.
|
|
|
|
| |
Minor tweaks to the library documentation.
|
| |
|
| |
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
faster endpoint/pipe code.
Added spacing between multiple paragraphs in Doxygen \note sections.
Removed call to the clock prescaler reset function in the Teensy bootloader to save space - the user application is accessed via a watchdog reset anyway, so the prescale reset would only affect the speed of the bootloader itself.
|
|
|
|
| |
Remove accidentally duplicated model-specific peripheral driver files.
|
|
|
|
| |
components.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
to manually include private driver header files, instead of the public driver headers.
|
|
|
|
|
|
| |
into account.
Re-added Pipe_IsEndpointBound() calls to the CDC and RNDIS host class drivers, not that the function has the correct behaviour for devices with bidirectional endpoints.
|
| |
|
| |
|
|
|
|
| |
programming. Add a delay to the clock toggling in the AVRISP project to ensure that the programming speed does not exceed 10MHz under any conditions to satisfy the limits in the datasheet for all target voltages. Fix incorrect pin being used as the DATA in in PDI programming mode.
|
| |
|
|
|
|
|
|
|
|
| |
(up from 5) to account for slow-processing devices.
Added brace guards to macros with parameters to prevent unintended changed evaluation of the macro expression.
Minor code cleanups (remove redundant comments, fix spacing, etc.).
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
directory. Add guards to macro parameters to ensure that formulas passed as parameters don't mess up the internal macro structure.
|
|
|
|
| |
CDC demo. Added const qualifier to Endpoint/Pipe stream write routines.
|
| |
|
|
|
|
| |
Make HID item filtering routines clearer in the HID WithParser demos.
|
|
|
|
|
|
| |
Ensure IsActive is set on the interface to allow device functions to run.
Fix spelling of "Received" in all source files where it is misspelt "Recieved".
|
|
|
|
|
|
| |
compiled size.
Fixed Programmer's Notepad project file to reflect new location of AVRISP project.
|
|
|
|
|
|
| |
project.
Fix up references to functions in the Endpoint/Pipe documentation.
|
|
|
|
|
|
| |
Added new Endpoint_SetEndpointDirection() macro to set the current endpoint direction for bidirectional endpoints.
Renamed internal USB_INT_ENDPOINT_SETUP macro to USB_INT_RXSTPI to fit in with the rest of the interrupt vector macros.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
| |
for better device control.
Fixed error in Endpoint.c using HSOFI rather than SOFI for counting elapsed milliseconds.
|
|
|
|
|
|
| |
response to VBUS being removed.
Minor documentation improvements.
|
|
|
|
|
|
|
|
| |
Fixed incorrect ENDPOINT_EPNUM_MASK mask preventing endpoints above EP3 from being selected (thanks to Jonathan Oakley).
Removed STREAM_CALLBACK() macro - callbacks now use regular function definitions to clarify user code.
Removed DESCRIPTOR_COMPARATOR() macro - comparators should now use regular function definitions to clarify user code.
|