Commit Graph

22 Commits (83e293a6ec98c7faad1b76dd312b31b86cbeecc1)

Author SHA1 Message Date
Dean Camera 071e02c6b6 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. 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 7f9f97c792 Update copyright year to 2010. 16 years ago
Dean Camera d4ca7fb44c Fix MIT license language to make its intent clearer. 16 years ago
Dean Camera d6edfe35c8 Spell check all source code variables, comments and strings. 16 years ago
Dean Camera 664a292181 Application documentation/comment cleanup. 16 years ago
Dean Camera 922e60192d Condensed SCSI command functions in the LowLevel Mass Storage Host demo, to save on FLASH space. 16 years ago
Dean Camera 85c2716f2d Make Benito ping-pong LED code more explicit, using masks of the TX and RX LED masks for ping-pong toggle rather than the ambiguous LED "Busy" mask. 16 years ago
Dean Camera c830fcb0e1 Make Endpoint control transfers more reliable; early-abort when an incomplete packet is sent from the host (indicating end of transfer), add check for control reads to ensure that no more than wLength bytes are read from the interface. 16 years ago
Dean Camera c5038f1bf4 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. 16 years ago
Dean Camera e071f3897a Added new USB_DeviceState variable to keep track of the current Device mode USB state. 16 years ago
Dean Camera cf313989e6 Don't send terminal RESET codes via serial - just set the foreground colour and assume the user has the background set to something sane, so that the demos don't wipe out custom user terminal settings. 16 years ago
Dean Camera cc879df4f0 Use sane ANSI terminal escape codes for the Host mode demos, so that they do not cause eye-searing, unreadable text on terminals which parse the escape codes properly. 16 years ago
Dean Camera 0fcbe22c9e Added new HOST_STATE_WaitForDeviceRemoval host state machine state for non-blocking disabling of device communications until the device has been removed (for use when an error occurs or communications with the device have completed). Changed over all host mode demos to use the new state. 16 years ago
Dean Camera f1076ac4d6 Added const modifiers to device mode class drivers. 16 years ago
Dean Camera 1756087c3e Optimize vendor/product description string display code in MassStorageHost. 16 years ago
Dean Camera b2cf4d3222 Oops - SCSI INQUIRY data uses fixed-length, non-terminated strings -- need to copy the strings to a temp buffer and terminate before using them in printf. 16 years ago
Dean Camera 64937a6206 MassStorageHost demo now retrieves Inquiry data from the device during enumeration, and prints the device's Vendor and Product IDs. 16 years ago
Dean Camera b5ca3990c2 Added new USB_Host_SetDeviceConfiguration() convenience function. Change over Low Level host demos to use the new routine. 16 years ago
Dean Camera 34f6e0dd33 Deleted Host ClassDriver demos -- not yet started, faster to rebase new ClassDriver demos from the newly schedulerless LowLevel host demos rather than re-convert each demo from the previous scheduler-based implementations. 16 years ago
Dean Camera ac70ddd0a1 Converted Host mode demos to schedulerless. Fixed host mode broken due to earlier Start-of-frame event experiments. 16 years ago
Dean Camera f1199200e1 Copy existing Host mode demos to new ClassDriver and LowLevel subfolders. 16 years ago
Dean Camera 2ee9fc7077 Rewritten event system to remove all macros, to make user code clearer. 16 years ago
Dean Camera 63a8f66d92 Changed HWB board driver to Buttons driver, to allow for the support of future boards with more than one mounted GPIO button. 16 years ago
Dean Camera f05224ec46 Fix minor build errors. 16 years ago
Dean Camera 58e42c6ca9 Fixed SPI driver init function not clearing SPI2X bit when not needed. 16 years ago
Dean Camera 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. 16 years ago
Dean Camera 37b2130fb2 Changed over all deprecated GCC structure tag initializers to the standardized C99 format (thanks to Mike Alexander). 16 years ago
Dean Camera 8f6b4ddf76 Fixed GenericHIDHost demo report write routine incorrect for control type requests (thanks to Andrei Krainev). 16 years ago
Dean Camera 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. 16 years ago
Dean Camera 6933f2e1a5 All comments in the library, bootloaders, demos and projects have now been spell-checked and spelling mistakes/typos corrected. 16 years ago
Dean Camera 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. 16 years ago
Dean Camera 9991321321 Moved all source to the trunk directory. 16 years ago