| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
10 bytes (20 characters) of the internal serial number on supported AVRs, rather than just the first 6 bytes (12 characters).
|
|
|
|
|
|
| |
and Y movement data size is not a multiple of 8 bits.
Fixed HID Report Descriptor Parser not correctly resetting internal states when a REPORT ID element is encountered.
|
|
|
|
| |
and HOST_STATE_AS_GPIOR and allow the user to set them to the index of the GPIOR register within the device to use.
|
|
|
|
| |
the latter of which is used in the bootloaders, to reduce code size.
|
|
|
|
| |
(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.
|
|
|
|
| |
single if statement within the new host mode class driver demos for clarity.
|
|
|
|
| |
the application fetch the configuration descriptors once, and then pass them to each class driver in turn.
|
|
|
|
| |
of the new prototype Host Mode Class Driver framework. Flesh out start of a HID class Host mode class driver.
|
|
|
|
| |
Completed host CDC class driver enumeration code.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
to the Addressed or Configured state as needed.
Add explicit support for the AT90USB646 to the Teensy bootloader now that PJRC have released the Teensy++ board.
Ensure unfinished SideShow demo uses an unallocated PID value within the LUFA range.
|
|
|
|
|
|
| |
boundary.
Changed USB_Init() and USB_Shutdown() so that they are no longer dependant on oneanother for possible code savings when the interface is never explicitly shut down.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
validating command blocks from the host.
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
endpoint addresses of 8 and above (thanks to John Andrews).
|
| |
|
| |
|
|
|
|
|
|
| |
USE_SINGLE_DEVICE_CONFIGURATION compile time option (but silently convert it to USE_SINGLE_DEVICE_CONFIGURATION internally for compatibility).
Added new USE_FLASH_DESCRIPTORS compile time option. By default, descriptors can now lie in mixed memory spaces (specified by a new parameter to the CALLBACK_USB_GetDescriptor() function) unless one of the USE_*_DESCRIPTORS compile time option is specified.
|
|
|
|
|
|
|
|
| |
of wValue set to zero, the idle period must be set for all HID interfaces.
Fix Keyboard and Mouse demos, Idle period is now multiplied by 4 as the period is read into and sent out of the device to ensure it is always stored as a multiple of 1ms. Fixes Keyboard demo using an initial Idle period of 2s rather than 500ms (thanks to Brian Dickman).
Move out the internal device serial descriptor reading routine into a seperate static function, rather than being part of USB_Device_GetDescriptor.
|
| |
|
| |
|
|
|
|
| |
prototypes.
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
non-blocking disabling of device communications until the device has been removed (for use when an error occurs or communications with the device have completed). Changed over all host mode demos to use the new state.
Added verbose documentation for each of the USB Host state machine states.
|
|
|
|
|
|
| |
subdirectory.
Fixed Host mode to Device mode UID change not causing a USB Disconnect event when a device was connected.
|
|
|
|
|
|
|
|
| |
the next command immediately after returning, no need to call Dataflash_ToggleSelectedChipCS() afterwards.
Added new DATAFLASH_CHIP_MASK() macro to the Dataflash driver, which returns the Dataflash select mask for the given chip index.
Updated MassStorage device block write routines to use ping-pong Dataflash buffering to increase throughput by around 30%.
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
name where appropriate.
|
|
|
|
|
|
|
|
| |
Remove all Host mode class demos other than the CDCHost class driver demo, so that they can be re-added as they are made once the host mode class framework is designed.
Fixed USB_Host_SendControlRequest() not re-suspending the USB bus when initial device ready-wait fails.
Fixed USB Pad regulator not being disabled on some AVR models when the USB_OPT_REG_DISABLED option is used.
|
|
|
|
| |
is issued while not processing a command.
|
|
|
|
| |
infinite IN requests, this can still be changed by calling the existing \ref Pipe_SetFiniteINRequests() function.
|
|
|
|
|
|
| |
during use.
Changed Pipe stream functions to automatically set the pipe token, allowing them to be used on bidirectional pipes without having to explicitly call Pipe_SetPipeToken() beforehand.
|
|
|
|
| |
Opendous Inc.).
|
|
|
|
| |
references, replace with hand-rolled code as the input has known size constraints.
|
|
|
|
| |
some AVR models as the USB device's serial number, added NO_INTERNAL_SERIAL compile time option to turn off new serial number reading code. Updated Mass Storage and CDC based demos to use the new device serial number if the device it is compiled for supports it.
|
|
|
|
| |
characters rather than 20 - apparently Windows will implode if a serial number is too long.
|
|
|
|
| |
internal unique serial number as the device's serial number descriptor on supported AVR models.
|
| |
|
|
|
|
| |
option was faulty, due to GNUMake becomming confused by the spaces in the USE_STATIC_OPTIONS lines. Make user add in the switches explicitly instead.
|
|
|
|
| |
number within the device to fetch, to add support for multi-configuration devices.
|
|
|
|
| |
scheduler related files as deprecated.
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
condition on an attached device's endpoint.
Added new USB_Host_GetDeviceDescriptor() convenience function to retrieve the attached device's Device descriptor.
Make Pipe_ConfigurePipe() mask the given endpoint number against PIPE_EPNUM_MASK to ensure the endpoint IN direction bit is cleared to prevent endpoint type corruption.
Fix documentation mentioning Pipe_GetCurrentToken() function when real name is Pipe_GetPipeToken().
|
|
|
|
|
|
| |
underflow errors.
Change MIDI demos to use real MIDI command values, and shift for the USB wrapper, rather than shift for the MIDI bytes. This is a little confusing for the MIDI USB wrapper, but allows for the use of real standardized MIDI command values.
|
| |
|