Commit Graph

152 Commits (e331b531c6e6d93eb0eee42b9002074e8090ad18)

Author SHA1 Message Date
Dean Camera 708a1c6166 Fixed INTERRUPT_CONTROL_ENDPOINT compile time option preventing other interrupts from occuring while the control endpoint request is being processed, causing possible lockups if a USB interrupt occurs during a transfer.
15 years ago
Dean Camera 27f0ba6fc3 Fixed device state not being reset back to the default state if the host sets the address to 0x00.
15 years ago
Dean Camera eed7d4df6a Added new ENDPOINT_*_BusSuspended error code to the Endpoint function, so that the stream functions early-abort if the bus is suspended before or during a transfer.
15 years ago
Dean Camera 0063f72117 Oops - relocated USBInterrupt.h header file requires adjusted include paths for the other USB driver header files.
15 years ago
Dean Camera e977774d4e Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the LowLevel directory as it is hardware-dependent.
15 years ago
Dean Camera 59c4871f80 USB_Init() no longer calls sei() to enable global interrupts - this must now be done in the user application once all init code has run.
15 years ago
Dean Camera 5e14c194c9 Fixed Set/Clear Feature requests directed to a non-configured endpoint not returning a stall to the host.
15 years ago
Dean Camera 7b79325aa0 Removed two-step endpoint/pipe bank clear and switch sequence for smaller, faster endpoint/pipe code.
15 years ago
Dean Camera 0557676013 Add file-level brief documentation.
15 years ago
Dean Camera 9a5ae36a4f Software PDI mode breaks unless the software USART has 100 cycles between bits.
15 years ago
Dean Camera 92418433a5 Fix incorrect LED mask name in the Webserver project.
15 years ago
Dean Camera 14a5a94084 Fix incorrect error when directly including the LUFA internal USB library components.
15 years ago
Dean Camera 071fd8ce53 Revert changes made for the partial port to the AVR32 architecture.
15 years ago
Dean Camera a7aaa45ec4 More AVR32 achitecture ports.
15 years ago
Dean Camera 3702ba1fb3 More porting of the USB core to the AVR32.
15 years ago
Dean Camera 0e6d5cf5b4 Start porting the USB core to the AVR32 UC3B.
15 years ago
Dean Camera d49cc0f783 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.
15 years ago
Dean Camera b6a4584a19 Fixed Pipe_IsEndpointBound() function not taking the endpoint's direction into account.
15 years ago
Dean Camera b0ce1eab66 Fix incorrect preprocessor checks in the PLL prescaler mask determination code for the ATMEGA32U2.
15 years ago
Dean Camera 77dda302ac Fixed invalid USB controller PLL prescaler values for the ATMEGAxxU2 controllers
15 years ago
Dean Camera 7f9f97c792 Update copyright year to 2010.
15 years ago
Dean Camera d4ca7fb44c Fix MIT license language to make its intent clearer.
15 years ago
Dean Camera d4952265a6 Ensure that unsupported SetFeature/ClearFeature request targets cause a STALL back to the host.
15 years ago
Dean Camera 8b75659563 Added new NO_DEVICE_SELF_POWER and NO_DEVICE_REMOTE_WAKEUP compile time options.
15 years ago
Dean Camera 2cab8f0725 Fixed USB_CurrentMode not being reset to USB_MODE_NONE when the USB interface is shut down and both Host and Device modes can be used (thanks to Daniel Levy).
15 years ago
Dean Camera c3758ac5ef Un-inline the SendAddress function in NVMTarget.c/.h of the AVRISP project.
15 years ago
Dean Camera 3705330dd3 Use -pedantic compile time option to find and correct several minor code errors.
15 years ago
Dean Camera 9c8ed168e5 Fix inverted bit-banged USART logic in the AVRISP project for PDI 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.
15 years ago
Dean Camera e4cfd5208f Fix incorrect definition of Endpoint_BytesInEndpoint() for the U4 parts.
15 years ago
Dean Camera 7ace314cc1 Increase timeout of Mass Storage and Still Image host commands to 10 seconds (up from 5) to account for slow-processing devices.
15 years ago
Dean Camera c1fa230618 Add new USB_Host_GetDeviceStringDescriptor() convenience function.
15 years ago
Dean Camera 7e86387958 Fix double oops -- Host mode settle delay was still being ignored due to inverted logic, HID Parser was assigning the usage Min/Max usage value to the report item's collection path rather than the report item itself.
15 years ago
Dean Camera a925407588 Oops - fix Host mode pre-enumeration settle delay being ignored leading to failure to enumerate certain devices.
15 years ago
Dean Camera b7f6a65c25 Fixed USB driver failing to define the PLL prescaler mask for the ATMEGA8U2 and ATMEGA16U2.
15 years ago
Dean Camera 5aa2b26261 Added new RNDIS Host class driver and the beginnings of a RNDISEthernetHost Class Driver demo.
15 years ago
Dean Camera 8c6c27d88b Added new RNDISHost Host LowLevel demo. Fixed misnamed Pipe_SetPipeToken() macro for setting a pipe's direction. Fixed CDCHost failing on devices with bidirectional endpoints.
15 years ago
Dean Camera 59ed10273c Fixed host state machine not enabling Auto VBUS mode when HOST_DEVICE_SETTLE_DELAY_MS is set to zero.
15 years ago
Dean Camera e4bf986bb3 Fixed broken USB_GetNextDescriptor() function causing the descriptor to jump ahead double the expected amount.
15 years ago
Dean Camera aaa0bed556 The incomplete StandaloneProgrammer project now uses Host and Device Mass storage classes, so that program data can either be loaded onto the device's Dataflash storage, or read off an attached USB memory stick.
15 years ago
Dean Camera 6c38ca2890 Fixed Endpoint_Write_Control_Stream_* functions not sending a terminating IN when the given data length is zero.
15 years ago
Dean Camera ea5236b3e1 Fix incorrect compiler error message when F_CLOCK is not defined by the user (thanks to Dave Lyons).
15 years ago
Dean Camera 588886878e Corrections, improvements and additions to the incomplete RNDISHost demo.
15 years ago
Dean Camera 04774208b6 Minor code cleanups for clarity.
15 years ago
Dean Camera 5de364163f Update CDC Class Driver character stream functions to use the correct avr-libc return codes for errors and EOF.
15 years ago
Dean Camera d6edfe35c8 Spell check all source code variables, comments and strings.
15 years ago
Dean Camera 64e5c4084f Add optional pipe double banking support to the Host mode Class drivers.
15 years ago
Dean Camera f29fc1abc4 Add double banking property to LUFA powered projects in the Projects directory. Add guards to macro parameters to ensure that formulas passed as parameters don't mess up the internal macro structure.
15 years ago
Dean Camera f93f732108 Update DevChapter9.c - use the Endpoint_ClearStatusStage() function where possible to reduce code size and (potentially) allow for centralized status stage timeouts.
15 years ago
Dean Camera 870591983c Add const attribute to class driver APIs.
15 years ago
Dean Camera de70f0f1cf Moved USBtoSerial demo the Projects directory, as it is simply an expanded CDC demo. Added const qualifier to Endpoint/Pipe stream write routines.
15 years ago