- 13 Sep, 2010 1 commit
-
-
Dean Camera authored
Fixed SET FEATURE and CLEAR FEATURE control requests directed at an unconfigured endpoint causing request timeouts.
-
- 24 Aug, 2010 1 commit
-
-
Dean Camera authored
Changed the signature of the CALLBACK_USB_GetDescriptor() callback function so that the descriptor pointer is const, to remove the need for extra casting inside the callback (thanks to Jonathan Kollasch).
-
- 21 Jul, 2010 1 commit
-
-
Dean Camera authored
Move and rename DevChaper9.c/.h and HostChapter9.c/.h to the HighLevel directory, new named DeviceStandardReq.c/.h and HostStandardReq.c/.h. Rename LowLevel.c/.h to USBController.c/.h. Remove dependancies on the complete <avr/io.h> header in the HighLevel USB driver directory, to ensure less work is required in later (possible) ports.
-
- 30 May, 2010 1 commit
-
-
Dean Camera authored
-
- 13 May, 2010 1 commit
-
-
Dean Camera authored
Remove incorrect check for the current device state in the Set Configuration request handler of DevChapter9, which broke Set Configuration requests to the device under most circumstances. Move out the SPI prescaler list to a PROGMEM module-level variable in ISPTarget.c.
-
- 08 May, 2010 1 commit
-
-
Dean Camera authored
Add svn:eol-style property to source files, so that the line endings are correctly converted to the target system's native end of line style.
-
- 04 May, 2010 1 commit
-
-
Dean Camera authored
Fixed Set Configuration requests not being stalled until the host has set the device's address. Fixed possibility of internal signature retrieval being corrupted if an interrupt occurs during a signature byte read (thanks to Andrei Krainev).
-
- 14 Apr, 2010 1 commit
-
-
Dean Camera authored
Fixed Set/Clear Feature requests directed to a non-configured endpoint not 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.
-
- 24 Feb, 2010 1 commit
-
-
Dean Camera authored
-
- 23 Feb, 2010 1 commit
-
-
Dean Camera authored
-
- 11 Feb, 2010 1 commit
-
-
Dean Camera authored
Add more include protection macros to give the user warnings when they try to manually include private driver header files, instead of the public driver headers.
-
- 30 Dec, 2009 1 commit
-
-
Dean Camera authored
-
- 28 Dec, 2009 1 commit
-
-
Dean Camera authored
-
- 21 Dec, 2009 1 commit
-
-
Dean Camera authored
-
- 20 Dec, 2009 1 commit
-
-
Dean Camera authored
-
- 11 Nov, 2009 1 commit
-
-
Dean Camera authored
-
- 07 Nov, 2009 1 commit
-
-
Dean Camera authored
Descriptor processing routines now pass around void pointers rather than uint8_t pointers, as their destination datatype is know well known -- they are just streams of bytes until they are cast to the correct destination type by DESCRIPTOR_CAST.
-
- 04 Nov, 2009 1 commit
-
-
Dean Camera authored
Update DevChapter9.c - use the Endpoint_ClearStatusStage() function where possible to reduce code size and (potentially) allow for centralized status stage timeouts. Fix Joystick device demo HID descriptors - buttons should be placed outside the Pointer collection.
-
- 09 Sep, 2009 1 commit
-
-
Dean Camera authored
Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out standard descriptors into seperate USB_Descriptor_* and USB_StdDescriptor_* structures so that both can be used within the one project. Add guard to the HID Host Class driver SetProtocol command, to ensure that the device supports boot protocol mode before issuing the request.
-
- 18 Aug, 2009 1 commit
-
-
Dean Camera authored
Fixed invalid data being returned when a GetStatus request is issued in Device mode with an unhandled data recipient. Fix up Programmers Notepad Project file to show new Projects directory layout. Remove now moved AVRISP project from the Projects directory makefile.
-
- 05 Aug, 2009 1 commit
-
-
Dean Camera authored
Renamed all library events to properly seperate out Device and Host mode 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.
-
- 03 Aug, 2009 1 commit
-
-
Dean Camera authored
Renamed ATTR_NOINLINE to ATTR_NO_INLINE to fit with the rest of the library function attribute names.
-
- 02 Aug, 2009 1 commit
-
-
Dean Camera authored
Rename TOTAL_NUM_CONFIGURATIONS to FIXED_NUM_CONFIGURATIONS, to match the existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option.
-
- 28 Jul, 2009 1 commit
-
-
Dean Camera authored
Extend the automatic serial number descriptor code to read out and send all 10 bytes (20 characters) of the internal serial number on supported AVRs, rather than just the first 6 bytes (12 characters).
-
- 21 Jul, 2009 1 commit
-
-
Dean Camera authored
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.
-
- 16 Jul, 2009 2 commits
-
-
Dean Camera authored
-
Dean Camera authored
Added new TOTAL_NUM_CONFIGURATIONS option, removed 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.
-
- 15 Jul, 2009 1 commit
-
-
Dean Camera authored
Fix HID class device driver -- if a SetIDle request is issued with the LSB 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.
-
- 13 Jul, 2009 1 commit
-
-
Dean Camera authored
Added new EEPROM and FLASH buffer versions of the Endpoint and Pipe stream 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.
-
- 21 Jun, 2009 3 commits
-
-
Dean Camera authored
Optimize unique serial number reading code for size -- remove atoi/toupper references, replace with hand-rolled code as the input has known size constraints.
-
Dean Camera authored
Added new USE_INTERNAL_SERIAL define for using the unique serial numbers in 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.
-
Dean Camera authored
Trim unique serial number created by the USE_INTERNAL_SERIAL option to 12 characters rather than 20 - apparently Windows will implode if a serial number is too long.
-
- 20 Jun, 2009 1 commit
-
-
Dean Camera authored
Added USE_INTERNAL_SERIAL compile time option to automatically read out the internal unique serial number as the device's serial number descriptor on supported AVR models.
-
- 14 Jun, 2009 1 commit
-
-
Dean Camera authored
Changed per-device controller preprocessor checks over to per-device series for better device control. Fixed error in Endpoint.c using HSOFI rather than SOFI for counting elapsed milliseconds.
-
- 22 May, 2009 1 commit
-
-
Dean Camera authored
Deleted StdDescriptors.c, renamed USB_GetDescriptor() to CALLBACK_USB_GetDescriptor, moved ConfigDescriptor.c/.h from the LUFA/Drivers/USB/Class/ directory to LUFA/Drivers/USB/HighLevel/ in preperation for the new USB class APIs.
-
- 18 May, 2009 1 commit
-
-
Dean Camera authored
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.
-
- 13 May, 2009 1 commit
-
-
Dean Camera authored
Fixed Device Mode not handling Set Feature and Clear Feature Chapter 9 requests that are addressed to the device (thanks to Brian Dickman).
-
- 10 May, 2009 1 commit
-
-
Dean Camera authored
Commit for the 090510 release.
-
- 07 May, 2009 1 commit
-
-
Dean Camera authored
-
- 06 May, 2009 1 commit
-
-
Dean Camera authored
Minor correction to the DevChapter9.c handling of Set and Clear feature requests -- remote wake up requests now complete correctly rather than stalling the request.
-