1. 26 Jun, 2009 1 commit
    • Dean Camera's avatar
      Optimize vendor/product description string display code in MassStorageHost. · 1756087c
      Dean Camera authored
      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.
      1756087c
  2. 21 Jun, 2009 2 commits
  3. 19 Jun, 2009 2 commits
  4. 18 Jun, 2009 1 commit
    • Dean Camera's avatar
      Added new USB_Host_ClearPipeStall() convenience function to clear a stall... · e338cb6f
      Dean Camera authored
      Added new USB_Host_ClearPipeStall() convenience function to clear a stall 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().
      e338cb6f
  5. 16 Jun, 2009 1 commit
  6. 15 Jun, 2009 1 commit
  7. 09 Jun, 2009 1 commit
  8. 08 Jun, 2009 2 commits
  9. 05 Jun, 2009 1 commit
  10. 04 Jun, 2009 1 commit
    • Dean Camera's avatar
      Minor documentation page updates. · a67bd74e
      Dean Camera authored
      Redocumented all device demos, now that they have changed over to the new USB class drivers.
      
      Added C linkage to class drivers for C++ support.
      
      Added prefixes to most of the class driver constants to prevent name clashes.
      a67bd74e
  11. 01 Jun, 2009 1 commit
    • Dean Camera's avatar
      Commit of new class abstraction APIs for all device demos other than the MIDI... · d1e52660
      Dean Camera authored
      Commit of new class abstraction APIs for all device demos other than the MIDI demo - not documented yet.
      
      Removed scheduler and memory allocation libraries.
      
      Added new EVENT_USB_StartOfFrame event in the library to indicate the start of each USB frame (when generated).
      
      Removed Tx interrupt from the USBtoSerial demo; now sends characters via polling to ensure more time for the Rx interrupt.
      d1e52660
  12. 26 May, 2009 1 commit
  13. 22 May, 2009 1 commit
  14. 18 May, 2009 1 commit
    • Dean Camera's avatar
      Rewritten event system to remove all macros, to make user code clearer. · 2ee9fc70
      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.
      2ee9fc70
  15. 17 May, 2009 1 commit
  16. 04 May, 2009 1 commit
    • Dean Camera's avatar
      Changed PIPE_CONTROLPIPE_DEFAULT_SIZE from 8 to 64 to try to prevent problems... · 253deb99
      Dean Camera authored
      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.
      
      Further documentation improvements - removed file view from the main library documentation, replaced file references in the documentation with group references.
      253deb99
  17. 24 Apr, 2009 1 commit
  18. 23 Apr, 2009 1 commit
  19. 22 Apr, 2009 1 commit
    • Dean Camera's avatar
      USB_HostRequest renamed to USB_ControlRequest, entire control request header... · d860e9e8
      Dean Camera authored
      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.
      
      The USB_UnhandledControlPacket event has had its parameters removed, in favour of accessing the new USB_ControlRequest structure.
      
      The Endpoint control stream functions now correctly send a ZLP to the host when less data than requested is sent.
      d860e9e8
  20. 21 Apr, 2009 1 commit
  21. 20 Apr, 2009 1 commit
  22. 19 Apr, 2009 1 commit
  23. 17 Apr, 2009 1 commit
  24. 16 Apr, 2009 1 commit
    • Dean Camera's avatar
      Fixed GenericHIDHost demo report write routine incorrect for control type... · 8f6b4ddf
      Dean Camera authored
      Fixed GenericHIDHost demo report write routine incorrect for control type requests (thanks to Andrei Krainev).
      
      Removed Endpoint_ClearCurrentBank() and Pipe_ClearCurrentBank() in favour of new Endpoint_ClearIN(), Endpoint_ClearOUT(), Endpoint_ClearControlIN(), Endpoint_ClearControlOUT(), Pipe_ClearIN(), Pipe_ClearOUT(), Pipe_ClearControlIN() and Pipe_ClearControlOUT() macros (done to allow for the detection of packets of zero length).
      
      Renamed *_ReadWriteAllowed() macros to *_IsReadWriteAllowed() to remain consistent with the rest of the LUFA API.
      
      Endpoint_IsSetupReceived() macro has been renamed to Endpoint_IsSETUPReceived(), Endpoint_ClearSetupReceived() macro has been renamed to Endpoint_ClearControlSETUP(), the Pipe_IsSetupSent() macro has been renamed to Pipe_IsSETUPSent() and the Pipe_ClearSetupSent() macro is no longer applicable and should be removed - changes made to compliment the new endpoint and pipe bank management API.
      
      Updated all demos, bootloaders and projects to use the new endpoint and pipe management APIs (thanks to Roman Thiel).
      
      Updated library doxygen documentation, added groups, changed documentation macro functions to real functions for clarity.
      
      Removed old endpoint and pipe aliased read/write/discard routines which did not have an explicit endian specifier for clarity.
      
      Removed the ButtLoadTag.h header file, as no one used for its intended purpose anyway.
      8f6b4ddf
  25. 07 Apr, 2009 1 commit
  26. 01 Apr, 2009 1 commit
  27. 23 Mar, 2009 1 commit
  28. 19 Mar, 2009 1 commit
  29. 17 Mar, 2009 1 commit
  30. 16 Mar, 2009 1 commit
  31. 11 Mar, 2009 1 commit
  32. 10 Mar, 2009 1 commit
  33. 09 Mar, 2009 1 commit
  34. 04 Mar, 2009 1 commit
    • Dean Camera's avatar
      Updated makefiles to reflect new dfu-ee programming target invocations... · 7e7124e4
      Dean Camera authored
      Updated makefiles to reflect new dfu-ee programming target invocations (supplied by Opendous, Inc.).
      
      Renamed the ATTR_ALWAYSINLINE function attribute macro to ATTR_ALWAYS_INLINE to match the style of the other function attribute macro names.
      
      Added ATTR_ALWAYS_INLINE attribute to several inlined library functions, to ensure they are inlined in all circumstances.
      
      Cleanups to Endpoint.h and Pipe.h. Added better documentation for the endpoint and pipe interrupts.
      7e7124e4
  35. 26 Feb, 2009 1 commit
    • Dean Camera's avatar
      Makefiles and library modified to add a new F_CLOCK constant to give the... · 99145a8d
      Dean Camera authored
      Makefiles and library modified to add a new F_CLOCK constant to give the unprescaled master input clock frequency, so that the correct PLL mask can be determined even when the CPU (F_CPU) clock rate is prescaled outside the normal input range of the PLL.
      
      Started to clean up the AVRISP Programmer project code, donated by Opendous Inc.
      99145a8d
  36. 23 Feb, 2009 1 commit