Commit Graph

  • 3d1baa6f95 Added multiple Report ID support to the HID class driver. Removed OUT endpoint support from HID driver (all OUT reports are now processed through control requests) as a seperate endpoint had issues with determining the exact output report length. Dean Camera 2009-06-05 02:23:31 +0000
  • 7665bf323e Fixed EVENT_USB_CDC_ControLineStateChanged() event not taking the CDC interface structure as a parameter. Dean Camera 2009-06-04 06:26:35 +0000
  • dc42c5eb6b Added Doxygen documentation to the Audio class driver. Added new modules for each of the new device class drivers to the library documentation. Dean Camera 2009-06-04 04:02:55 +0000
  • d37d419ffa Fix Doxygen errors in demos. Dean Camera 2009-06-04 03:12:07 +0000
  • 4897ef8972 Ensure all USB device class drivers have the same three main functions as their interface for consistency. Dean Camera 2009-06-04 03:03:48 +0000
  • a67bd74e3e Minor documentation page updates. Dean Camera 2009-06-04 02:55:30 +0000
  • 7c5444b89a Removed new Start of Frame event from the library; performance suffered far too much and it was only useful in one of the standard classes (HID). Altered HID demos to use the previous method of tracking millisecond periods via a hardware timer rather than the SOF events. Dean Camera 2009-06-02 10:54:32 +0000
  • 74b7c07e96 Add MIDI class driver, update MIDI device demo to use the new USB class driver. All device demos/projects have now been converted to the new library class drivers, although documentation is yet to be completed. Dean Camera 2009-06-01 12:01:53 +0000
  • d1e5266036 Commit of new class abstraction APIs for all device demos other than the MIDI demo - not documented yet. Dean Camera 2009-06-01 11:03:39 +0000
  • 2440ca268a Fix broken Host mode, from the recent API changes. Dean Camera 2009-05-26 05:16:02 +0000
  • 7eb4eb7cdd Fix all device mode demos broken in the recent API changes. Dean Camera 2009-05-26 04:46:35 +0000
  • b7ef7f49c9 Moved out each demos' functionality library files (e.g. Ring Buffer library) to /Lib directories for a better directory structure. Dean Camera 2009-05-22 06:17:57 +0000
  • d0806c817c 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. Dean Camera 2009-05-22 05:23:00 +0000
  • b3a4d8512b Fixed incorrect PID value being used in the USBtoSerial project (thanks to Phill). Dean Camera 2009-05-20 14:50:26 +0000
  • 59becad82f Fix broken doxygen reference in last commit. Dean Camera 2009-05-19 10:36:39 +0000
  • 4a8ac5e474 USB_IsConnected is now cleared before the USB_Disconnect() event is fired in response to VBUS being removed. Dean Camera 2009-05-19 10:33:29 +0000
  • 2ee9fc7077 Rewritten event system to remove all macros, to make user code clearer. Dean Camera 2009-05-18 10:05:21 +0000
  • 72c2922e38 Removed DESCRIPTOR_ADDRESS() macro as it was largely supurflous and only served to obfuscate code. Dean Camera 2009-05-17 07:44:00 +0000
  • eeba38e343 Create a new function pointer type in StreamCallbacks.h for endpoint/pipe stream callbacks, to make stream function prototypes clearer. Dean Camera 2009-05-15 12:27:32 +0000
  • 76d5e99bb8 Fix to previous patch (make CDCHost demo deallocate pipes when an invalid CDC interface is skipped). Dean Camera 2009-05-15 08:02:30 +0000
  • fabfdd454a Fixed CDCHost not clearing configured endpoints and resetting configured endpoints mask when a partially enumerated invalid CDC interface is skipped. Dean Camera 2009-05-15 07:38:35 +0000
  • 32f0f605ef Removed all user pipe/endpoint interrupt APIs, added internal library support for interrupt driven control endpoints when in device mode by defining INTERRUPT_CONTROL_ENDPOINT token and passing it to the compiler via the -D switch. Dean Camera 2009-05-14 10:07:08 +0000
  • 0d5baf9bb3 Fixed Device Mode not handling Set Feature and Clear Feature Chapter 9 requests that are addressed to the device (thanks to Brian Dickman). Dean Camera 2009-05-13 22:40:08 +0000
  • 4904b10ef6 Moved USB Host state machine code out from USBTask.c and into Host.c, where it more properly belongs. Dean Camera 2009-05-13 14:13:57 +0000
  • da007db18d Remove remainder of data pipe interrupt management code from the host demos. Dean Camera 2009-05-12 12:59:57 +0000
  • 958a1b4e2b Fixed Mouse and Keyboard device demos not acting in accordance with the HID specification for idle periods (thanks to Brian Dickman). Dean Camera 2009-05-12 08:28:02 +0000
  • ea74397095 Fixed RNDISEthernet not working under Linux due to Linux requiring an "optional" request which was unhandled. Dean Camera 2009-05-11 08:58:53 +0000
  • e0985b9950 Fixed bug in RNDISEthernet and DualCDC demos not using the correct USB_ControlRequest structure for control request data. Dean Camera 2009-05-11 07:52:13 +0000
  • 3f48497874 Fix broken Set Feature/Clear Feature chapter 9 request (incorrect status stage clearing). Dean Camera 2009-05-10 05:23:35 +0000
  • 1f83abe6f4 Renamed the the TotalHIDReports element of the HID descriptor structure in the HID class demos to TotalReportDescriptors, to be more accurate of the element's function (thanks to Brian Dickman). Dean Camera 2009-05-07 22:33:36 +0000
  • c7aceb2c7f Serial driver now correctly calculates the baud register value when in double speed mode. Dean Camera 2009-05-07 11:12:23 +0000
  • 938f86d063 Fix build errors in Joystick device demo and library LEDs driver (on *nix systems). Dean Camera 2009-05-07 06:33:07 +0000
  • 526e398986 Fixed inability to enumerate any devices while in host mode (broken in a previous commit). Dean Camera 2009-05-07 05:30:19 +0000
  • 2bd88ebc4f 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. Dean Camera 2009-05-06 13:17:38 +0000
  • a908773a13 Change device demos to cache the board button values in the same manner as the board joystick to maintain consistency. Dean Camera 2009-05-06 12:43:00 +0000
  • 63a8f66d92 Changed HWB board driver to Buttons driver, to allow for the support of future boards with more than one mounted GPIO button. Dean Camera 2009-05-06 07:50:34 +0000
  • f11f69fd29 Fixed missing semicolon in the ATAVRUSBRF01 LED board driver code, changed LED board driver code to define dummy LED masks for the first four board LEDs so that user code can be compiled for boards with less than four LEDs without code modifications (thanks to Morten Lund). Dean Camera 2009-05-05 14:02:02 +0000
  • 253deb996f Changed PIPE_CONTROLPIPE_DEFAULT_SIZE from 8 to 64 to try to prevent problems with faulty devices which do not respect the given wLength value when reading in the device descriptor. Dean Camera 2009-05-04 12:55:00 +0000
  • edcfaf7716 Fix build errors in host demos due to usage of pipe error codes which have now been renamed. Dean Camera 2009-05-03 14:34:20 +0000
  • 0137001ea9 Fixed naming of OTG.h functions, to make them consistent with the rest of the library API. Dean Camera 2009-05-03 14:24:34 +0000
  • 01c4bef107 More minor renaming of library enums and events to try to create a consistent API. Dean Camera 2009-05-03 14:17:24 +0000
  • 6a8e27f7ee Fixed Endpoint_Write_Control_* functions writing more data than expected by the host, causing it to panic (thanks to Johannes Raschke). Dean Camera 2009-05-02 13:05:25 +0000
  • 13935a31b9 Fixed reversed signature byte ordering in the CDC bootloader (thanks to Johannes Raschke). Dean Camera 2009-05-02 05:49:15 +0000
  • f05224ec46 Fix minor build errors. Dean Camera 2009-05-01 05:20:23 +0000
  • 58e42c6ca9 Fixed SPI driver init function not clearing SPI2X bit when not needed. Dean Camera 2009-04-26 10:29:59 +0000
  • e21b620bf6 Move the length decrements in the pipe and endpoint stream functions to the point at which the buffers are operated on, to prevent decrements during iterations where no data is exchanged (thanks to Francisco Moraes). Dean Camera 2009-04-26 05:01:06 +0000
  • a504a3a010 Endpoint configuration is now refined to give better output when all configurations have static inputs - removed the now useless STATIC_ENDPOINT_CONFIGURATION compile time token. Dean Camera 2009-04-24 07:28:51 +0000
  • c20a94a4e8 Fixed USB_RemoteWakeupEnabled flag never being set (the REMOTE WAKEUP Set Feature request was not being handled). Dean Camera 2009-04-23 13:28:12 +0000
  • 9cec85bfd9 Documentation enhancements to improve documentation cross-references. Dean Camera 2009-04-22 14:28:55 +0000
  • 6865a7bc09 Applied STATIC_ENDPOINT_CONFIGURATION and FIXED_CONTROL_SIZE tokens to all Device mode demos to reduce binary size. Dean Camera 2009-04-22 13:30:03 +0000
  • d860e9e842 USB_HostRequest renamed to USB_ControlRequest, entire control request header is now read into USB_ControlRequest in Device mode rather than having the library pass only partially read header data to the application. Dean Camera 2009-04-22 13:03:11 +0000
  • e5e7eaee7a Removed specialized Endpoint_ClearControl* and Pipe_ClearControl* macros in favour of the standard Endpoint_Clear* and Pipe_Clear* macros (Atmel have confirmed no effect from setting FIFOCON on control endpoints). Dean Camera 2009-04-21 06:05:50 +0000
  • ba7cd3f22e Fix errors in the KeyboardHost demo which prevented correct compilation. Dean Camera 2009-04-20 13:24:25 +0000
  • 37b2130fb2 Changed over all deprecated GCC structure tag initializers to the standardized C99 format (thanks to Mike Alexander). Dean Camera 2009-04-20 11:21:36 +0000
  • 619b0b7b6b Spell checked non-source documentation pages. Dean Camera 2009-04-19 14:29:57 +0000
  • 663f449c10 Fixed incorrect HID interface class and subclass values in the Mouse and KeyboardMouse demos (thanks to Brian Dickman). Dean Camera 2009-04-19 11:43:21 +0000
  • 32e735b2b2 Removed "Host_" section of the function names in ConfigDescriptor.h, as most of the routines can now be used in device mode on the device descriptor. Dean Camera 2009-04-17 08:33:53 +0000
  • d38fa49cb6 More documentation changes for better module-level documentation rather than file-level documentation. Dean Camera 2009-04-17 05:04:21 +0000
  • 6380d057f8 Fixed CDC and USBtoSerial demos freezing where buffers were full while still transmitting or receiving (thanks to Peter Hand). Dean Camera 2009-04-17 04:10:30 +0000
  • 11bb2f2172 Renamed Serial_Stream driver to SerialStream to remain consistent with the rest of the library's naming scheme for files. Dean Camera 2009-04-17 00:20:00 +0000
  • 5712b8dff6 Rename Drivers/AT90USBXXX to Drivers/Peripheral. Dean Camera 2009-04-17 00:12:31 +0000
  • 710d48a48a Partial commit: Rename references to Drivers/AT90USBXXX to Drivers/Peripheral. Dean Camera 2009-04-17 00:06:53 +0000
  • 1c16ae399a Partial commit: change references to Drivers/AT90USBXXX to Drivers/Peripheral. Dean Camera 2009-04-16 23:59:14 +0000
  • 8f6b4ddf76 Fixed GenericHIDHost demo report write routine incorrect for control type requests (thanks to Andrei Krainev). Dean Camera 2009-04-16 08:50:34 +0000
  • ef06bfd1c0 Fixed minor issue with the RNDISEthernet demo DHCP protocol decoder routine using incorrectly named variables (thanks to Jonathan Oakley). Dean Camera 2009-04-15 00:56:12 +0000
  • ecaf872177 Corrected AudioInput and AudioOutput demos, to fix endpoint underflows due to rounding in the sample reload timer. Dean Camera 2009-04-14 12:07:41 +0000
  • 6a5a37d7d1 The USB_Host_SendControlRequest() function no longer automatically selects the Control pipe (pipe 0), so that other control type pipes can be used with the function. Dean Camera 2009-04-14 08:35:47 +0000
  • fea5d08512 Adjusted sample CTC timer calculations in the AudioOutput and AudioInput demos to account for situations where the division results in a value with no remainder, requiring one to be subtracted from the result (thanks to Robin Theunis). Dean Camera 2009-04-14 08:17:24 +0000
  • af02b5b0c9 Fixed RNDISEthenet demo checking the incorrect message field for packet size constraints (thanks to Jonathan). Dean Camera 2009-04-13 06:58:46 +0000
  • d3484e6bdd Fixed GenericHID demo not starting USB and HID management tasks when not using interrupt driven modes (thanks to Carl Kjeldsen). Dean Camera 2009-04-09 00:00:59 +0000
  • 51910b4505 Added support to the CDCHost demo for devices with mutiple CDC interfaces which are not the correct ACM type preceeding the desired ACM CDC interface. Dean Camera 2009-04-07 11:46:54 +0000
  • cb7884da50 Added preprocessor checks and documentation to the bootloaders giving information about missing SIGNATURE_x defines due to outdated avr-libc versions. Dean Camera 2009-04-07 04:19:57 +0000
  • 557a945ba1 Removed all binary constants and replaced with decimal or hexadecimal constants so that unpatched GCC compilers can still build the code without having to be itself patched and recompiled first. Dean Camera 2009-04-05 07:00:11 +0000
  • 7d4cccc22d Move StdRequestType.h, StreamCallbacks.h, USBMode.h from the LowLevel USB driver directory to the HighLevel USB driver directory, where they are more suited. Dean Camera 2009-04-05 06:27:49 +0000
  • 01d388f293 Add call to MassStore_WaitForDataReceived() in MassStore_GetReturnedStatus() to ensure that the CSW has been received in the extended MSC timeout period before continuing, to prevent long processing delays from causing the MassStore_GetReturnedStatus() to early-abort. Dean Camera 2009-04-05 04:05:07 +0000
  • 58f550dfb3 Added new PIMA_DATA_SIZE() define to the Still Image Host demo. Dean Camera 2009-04-02 10:13:12 +0000
  • 6933f2e1a5 All comments in the library, bootloaders, demos and projects have now been spell-checked and spelling mistakes/typos corrected. Dean Camera 2009-04-01 13:53:58 +0000
  • fb3fcb968e Minor corrections to the library Doxygen documentation. Dean Camera 2009-04-01 13:10:05 +0000
  • ece9e3d599 Changed GenericHID device demo to use the LUFA scheduler, added INTERRUPT_DATA_ENDPOINT and INTERRUPT_CONTROL_ENDPOINT compile time options. Dean Camera 2009-04-01 07:43:50 +0000
  • 6198289b38 Added new GenericHIDHost demo. Dean Camera 2009-04-01 07:21:45 +0000
  • 74496a947e Fixed incorrect defined in Version.h. Dean Camera 2009-04-01 05:38:43 +0000
  • fa85c5e416 Commit for the 090401 release. Dean Camera 2009-03-31 11:56:00 +0000
  • 3aa8620a61 Minor documentation fixes to correct formatting and typos. Dean Camera 2009-03-29 12:59:44 +0000
  • dc83f73ca3 Added new GenericHID device demo application. Dean Camera 2009-03-29 12:42:25 +0000
  • d83d87e1b8 Fixed MagStripe keyboard interface polling interval, increased to 4ms from 2ms to maintain compatibility with Apple MacOS X. Fixed changelog comments on the size of the track buffers when compiling for the AT90USBXXX6/7. Dean Camera 2009-03-29 06:31:24 +0000
  • 2acae9b0a3 Add new page to the documentation listing existing LUFA powered projects, fix up some inaccuracies in the documentation. Dean Camera 2009-03-27 08:45:39 +0000
  • ab3de47420 AVRISP Programmer code is no longer in the LUFA mainline, remove it's PID allocation. Dean Camera 2009-03-27 08:23:33 +0000
  • bb4880a9ee Fixed incorrect ADC driver init register manipulation (thanks to Tobias). Dean Camera 2009-03-27 03:11:58 +0000
  • ca641bba83 Corrected bitfields -- the smallest datatype required for each bitfield is now used, rather than relying on GCC to truncate unused bytes in bitfields (thanks to Walt Sacuta). Dean Camera 2009-03-26 03:22:02 +0000
  • 1c9092a8a6 Fixed USBTask.h not conditionally including HostChapter9.h only when CAN_BE_DEVICE is defined (thanks to Ian Gregg). Dean Camera 2009-03-26 00:20:28 +0000
  • 4bb59f9673 Fixed documentation typoes and preprocessor checks relating to misspellings of the USE_RAM_DESCRIPTORS token (thanks to Ian Gregg). Dean Camera 2009-03-25 22:43:00 +0000
  • 7cca7eb53d Added missing documentation for AUDIO_SAMPLE_FREQUENCY configuration option in the audio device demos. Dean Camera 2009-03-25 10:51:24 +0000
  • 350141e085 Fixed CDC demo not sending an empty packet after each transfer to prevent the host from buffering incomming data. Dean Camera 2009-03-23 05:43:49 +0000
  • ed031c1df2 Seperated out OTG, Device and Host mode demos into seperate folders for clarity. Adjusted makefiles so that the path to the LUFA library can be set in one place. Dean Camera 2009-03-20 06:34:41 +0000
  • ecf7538430 Combined Keyboad and Mouse normal and interrupt driven host demos into unified Keyboard and Mouse host demos. Dean Camera 2009-03-20 05:39:15 +0000
  • ee7bd5685e Ensure that the Keyboard and Mouse demos adhere to the boot protocol specification in that they send a report before the idle period has elapsed if the report data has changed. Dean Camera 2009-03-19 15:10:51 +0000
  • 7184153e5d Corrections to Keyboard and Mouse combined demos so that all modes (normal, interrupt, fully interrupt) work correctly. Dean Camera 2009-03-19 15:01:57 +0000
  • 3ab07f0d93 Remove now redundant MouseViaInt and MouseFullInt demos. Dean Camera 2009-03-19 14:17:16 +0000
  • 88051e78a2 Combined Mouse, MouseViaInt and MouseFullInt demos into a single unified demo. Dean Camera 2009-03-19 14:16:12 +0000
  • 48400df13c Combined Keyboard, KeyboardViaInt and KeyboardFullInt demos into a single unified demo. Dean Camera 2009-03-19 13:19:12 +0000