- Oct 25, 2010
-
-
Dean Camera authored
Add descriptor class, subclass and protocol constants to the class drivers, modify all demos to use them where possible. Move out private/internal host class driver constants to the common class driver headers, so that they can be used in the Low Level host mode demos. Ensure all demos, projects and bootloaders use the class driver constants where possible to minimise code repetition.
-
- Oct 24, 2010
-
-
Dean Camera authored
All USB class drivers are now automatically included when LUFA/Drivers/USB.h 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.
-
- Oct 20, 2010
-
-
Dean Camera authored
-
- Oct 13, 2010
-
-
Dean Camera authored
Add missing ENDPOINT_ATTR_NO_SYNC and ENDPOINT_USAGE_DATA attributes to the descriptors in the ClassDriver MassStorageKeyboard demo.
-
Dean Camera authored
-
Dean Camera authored
-
- Oct 12, 2010
-
-
Dean Camera authored
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().
-
- Oct 10, 2010
-
-
Dean Camera authored
Remove MIDI ClassDriver device demo's accidental inclusion of the unused ADC peripheral driver header file.
-
- Oct 01, 2010
-
-
Dean Camera authored
Fixed LowLevel JoystickHostWithParser demo not saving the chosen HID interface's report descriptor size. Simplified low level Host demo configuration descriptor parser routines.
-
Dean Camera authored
-
Dean Camera authored
-
- Sep 30, 2010
-
-
Dean Camera authored
Fix typo in MIDI low level device demo.
-
Dean Camera authored
Fix low level host mode demos not correctly fetching the next endpoint when an invalid interface is discarded. Update the pipe configuration routines in the host mode class drivers so that they use the same new code to enumerate compatible devices to increase reliability. Add support to the host mode class drivers for non-sequential (but non-overlapping with other interface) pipe numbers.
-
Dean Camera authored
Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction 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.
-
- Sep 28, 2010
-
-
Dean Camera authored
Add class name prefixes to missed constants in the class drivers to give all class driver elements a consistent namespace.
-
Dean Camera authored
Added CDC functional descriptor structs to the Low Level CDC demos and CDC class bootloader, to improve the readability of the descriptors. Fixed BootloaderCDC project failing on some operating systems due to removed Line Encoding options (thanks to Alexey Belyaev).
-
Dean Camera authored
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.
-
- Sep 24, 2010
-
-
Dean Camera authored
Remove dfu-programmer program switches, to ensure maximum compatibility with all dfu-programmer versions.
-
Dean Camera authored
Added the --suppress-bootloader-mem option to the makefile dfu target, to ensure that writes to the bootloader section of the AVR's flash memory are ignored (thanks to Axel Rohde). Fixed incorrect command name for EEPROM memory programming in the makefile dfu-ee target. Makefile whitespace fixes.
-
- Sep 22, 2010
-
-
Dean Camera authored
Fixed SUSPI interrupt not being cleared during device mode enumeration, causing accidental mis-fires on re-enumeration. Fixed JTAG_DEBUG_POINT() and JTAG_DEBUG_BREAK() macros not compiling under pure C99 standards mode.
-
- Sep 19, 2010
-
-
Dean Camera authored
Rename internal suspend and wake up USB interrupt macros so that they follow the same naming scheme as the other USB ISR macros.
-
Dean Camera authored
Minor documentation fixes. Fix broken USB host mode due to the USB frame counter not being updated during the early enumeration steps, causing USB_Host_DelayMS() to spinloop forever.
-
- Sep 15, 2010
-
-
Dean Camera authored
Make project makefiles correctly clean intermeditary build files from assembly and C++ sources (thanks to Daniel Czigany).
-
- Sep 09, 2010
-
-
Dean Camera authored
-
Dean Camera authored
-
- Sep 07, 2010
-
-
Dean Camera authored
Added new PRNT_Host_BytesReceived() and PRNT_Host_ReceiveByte() functions to the Print Host Class driver.
-
- Sep 05, 2010
-
-
Dean Camera authored
Added new USB_Device_GetFrameNumber() and USB_Host_GetFrameNumber() functions to retrieve the current USB frame number. Added new USB_Host_EnableSOFEvents(), USB_Host_DisableSOFEvents() and EVENT_USB_Host_StartOfFrame() for the user application handling of USB Start of Frame events while in USB Host mode. Changed over all demos, drivers and internal functions to use the current frame number over the Start of Frame flag where possible to free up the Start of Frame flag for interrupt use in the user application.
-
- Aug 31, 2010
-
-
Dean Camera authored
Clarify in the project documentation files what the each of the different USB AVR device "series" comprises of.
-
- Aug 29, 2010
-
-
Dean Camera authored
Remove remaining void* descriptor casts in the projects and demos that were not removed when the GetDescriptor callback function's signature was altered.
-
- Aug 24, 2010
-
-
Dean Camera authored
Fixed LowLevel PrinterHost demo not sending control requests to the attached printer with the correct printer interface wIndex value.
-
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).
-
- Aug 22, 2010
-
-
Dean Camera authored
Changed all Device mode LowLevel demos and Device Class drivers so that the 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.
-
- Aug 21, 2010
-
-
Dean Camera authored
Clarify in the documentation that the Audio demos and driver is for the Audio 1.0 specification, not the newer (and more advanced/less supported) 2.0 specification.
-
Dean Camera authored
Remove unneccesary call to USB_Device_EnableSOFEvents() in the MassStorage and MIDI Device Class demos.
-
- Aug 20, 2010
-
-
Dean Camera authored
Added new SCSI_ASENSE_NOT_READY_TO_READY_CHANGE constant to the Mass Storage class driver, to indicate when a previously not ready removable medium has now become ready for the host's use (thanks to Martin Degelsegger)
-
- Aug 18, 2010
-
-
Dean Camera authored
Fixed MassStorage based demos and projects resetting the SCSI sense values before the command is executed, leading to missed SCSI sense values when the host retrieves the sense key (thanks to Martin Degelsegger). Added missing DataflashManager_CheckDataflashOperation() function to the MassStorageKeyboard demo, removed redundant SCSI_Codes.h file as these values are part of the MassStorage Class Driver.
-
- Aug 09, 2010
-
-
Dean Camera authored
Tighten up the code in the delta movement detection code in the MouseHostWithParser and JoystickHostWithParser demos. Make the ClassDriver JoystickHostWithParser demo use the HID_ALIGN_DATA() macro instead of manual shifting and casting.
-
Dean Camera authored
Removed complicated logic for the Endpoint_ConfigureEndpoint() function to 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.
-
Dean Camera authored
-
- Aug 08, 2010
-
-
Dean Camera authored
Fix invocations of avr-size in all makefiles broken on unpatched *nix systems, due to the recent update to the latest WinAVR makefile template.
-