aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/ClassDriver
Commit message (Collapse)AuthorAgeFilesLines
* Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean Camera2011-02-1911-11/+55
| | | | device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
* Add static keyword to all project globals whose scope should be restricted ↵Dean Camera2011-02-107-4/+8
| | | | | | to the same module as they are declared in. Tighten up the HID class bootloader code slightly, document that it currently exceeds 2KB of bootloader space for all models other than the Series 2 USB AVRs.
* Renamed all driver termination *_ShutDown() functions to the more logical ↵Dean Camera2011-01-3011-11/+11
| | | | name *_Disable().
* Oops - fix up some calls to the old function names, include Serial ↵Dean Camera2011-01-301-0/+1
| | | | Peripheral driver in the RNDISEthernetHost project.
* Renamed the PRNT_Host_SendString(), CDC_Host_SendString() and ↵Dean Camera2011-01-301-1/+1
| | | | | | CDC_Device_SendString() functions to *_SendData(), and added new versions of the *_SendString() routines that expect a null terminated string instead. Added new Serial_SendData() function to the Serial driver.
* Removed SerialStream module, rolled functionality into the base USART Serial ↵Dean Camera2011-01-3033-45/+66
| | | | | | | | peripheral driver instead through the new Serial_CreateStream() and Serial_CreateBlockingStream() methods. Renamed the Serial byte send/receive functions to remain consistent with the CDC driver's byte functions. Altered the serial byte receive function to make it non-blocking.
* Update copyright year on all source files.Dean Camera2011-01-0123-45/+45
|
* Documentation improvements - put driver example code into its own section, ↵Dean Camera2010-12-2611-44/+44
| | | | fix incorrect and missing section names.
* Loop in the ClassDriver MIDI device/host demos until there are no more ↵Dean Camera2010-11-051-1/+1
| | | | incomming events to process. Only clear the endpoint/pipe bank in the LowLevel MIDI device/host demos when the endpoint is empty after an event read.
* Added standard keyboard HID report scancode defines (thanks to László Monda).Dean Camera2010-10-282-19/+37
|
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-2823-23/+23
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Add descriptor class, subclass and protocol constants to the class drivers, ↵Dean Camera2010-10-255-5/+5
| | | | | | | | 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.
* All USB class drivers are now automatically included when LUFA/Drivers/USB.h ↵Dean Camera2010-10-2411-11/+0
| | | | | | 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.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-1345-659/+704
| | | | tool made by Laszlo Monda
* Move out many of the common class driver constants into grouped enums, to ↵Dean Camera2010-09-286-18/+18
| | | | | | | | make them more managable. 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.
* Remove dfu-programmer program switches, to ensure maximum compatibility with ↵Dean Camera2010-09-2411-22/+22
| | | | all dfu-programmer versions.
* Added the --suppress-bootloader-mem option to the makefile dfu target, to ↵Dean Camera2010-09-2411-33/+33
| | | | | | | | 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.
* Make project makefiles correctly clean intermeditary build files from ↵Dean Camera2010-09-1511-22/+22
| | | | assembly and C++ sources (thanks to Daniel Czigany).
* Added class specific descriptor type defines with standard USB-IF element ↵Dean Camera2010-09-091-1/+1
| | | | naming.
* Added new PRNT_Host_BytesReceived() and PRNT_Host_ReceiveByte() functions to ↵Dean Camera2010-09-071-1/+1
| | | | the Print Host Class driver.
* Clarify in the project documentation files what the each of the different ↵Dean Camera2010-08-3111-11/+11
| | | | USB AVR device "series" comprises of.
* Tighten up the code in the delta movement detection code in the ↵Dean Camera2010-08-092-13/+7
| | | | MouseHostWithParser and JoystickHostWithParser demos. Make the ClassDriver JoystickHostWithParser demo use the HID_ALIGN_DATA() macro instead of manual shifting and casting.
* Fix invocations of avr-size in all makefiles broken on unpatched *nix ↵Dean Camera2010-08-0811-11/+44
| | | | systems, due to the recent update to the latest WinAVR makefile template.
* Hide the PROGMEM attribute from Doxygen, as it appears to confuse the parser ↵Dean Camera2010-08-0211-11/+22
| | | | in some situations.
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-3011-11/+11
| | | | EN-GB spelling dictionary.
* Altered the CDC Deivice and Host Class drivers' receive byte routines, so ↵Dean Camera2010-07-301-4/+3
| | | | | | that no data is indicated by a negative return value. Added auto flushing of OUT data to the CDC Host Class driver's USBTask function to automatically flush the send pipe buffer.
* Spell check all source files once again to find any typos.Dean Camera2010-07-2912-21/+21
|
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-2122-28/+50
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Update makefiles to use the latest WinAVR/Atmel toolchain makefile template.Dean Camera2010-07-1911-684/+461
| | | | Add new module source variables to the library core makefile, so that module sources can be added to a project's makefile on a per-module rather than per-file basis.
* Change over all makefiles to use C99 standards mode, rather than C99 + GNU ↵Dean Camera2010-07-1811-11/+11
| | | | Extensions.
* Disable strict aliasing explicitly in the project makefiles, as this is ↵Dean Camera2010-07-1511-0/+11
| | | | apparently enabled by default in newer AVR-GCC builds, and aliasing is used heavily for type-punning through the LUFA and third party library's codebase.
* Removed the automated checking of event names in the demo, project and ↵Dean Camera2010-07-1511-198/+66
| | | | | | bootloader makefiles due to inconsistancies between the behaviour of the command line tools used to perform the check on each platform. Removed the internal endpoint and pipe memory allocation macros, as this is already performed directly in the code. Simplify the endpoint and pipe reset procedure.
* Add AVRStudio 4 project files to the ClassDriver Host mode demos.Dean Camera2010-07-1311-0/+11
|
* Add missing clean_doxygen phony targets to the project makefiles.Dean Camera2010-07-1211-11/+22
|
* Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific ↵Dean Camera2010-07-0211-0/+11
| | | | | | functions that are more complicated than simple macros. Moved USB_Device_SendRemoteWakeup() to the new Device.c source file and corrected it to unfreeze and restart the USB controller clock before issuing a Remote Wakeup request. Removed the USB_Device_IsRemoteWakeupSent() and USB_Device_IsUSBSuspended() macros, as they are now obsolete.
* Minor fixes to demos to add in some missing comments, printf() formatting. ↵Dean Camera2010-06-121-1/+1
| | | | Make incomplete Bluetooth demo indicate connections visually via the board LEDs.
* Minor documentation cleanups.Dean Camera2010-06-033-12/+12
|
* Remove obsolete entry from the Doxygen configuration files.Dean Camera2010-05-2311-11/+11
|
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-0855-29631/+29631
| | | | correctly converted to the target system's native end of line style.
* Change over instances of "make" in the makefiles to "$(MAKE)" to allow for ↵Dean Camera2010-05-0712-44/+44
| | | | the make tool to be overridden.
* The Audio_Device_IsSampleReceived() and Audio_Device_IsReadyForNextSample() ↵Dean Camera2010-04-291-1/+1
| | | | functions are now inline, to reduce overhead.
* Use puts_P() and printf_P() instead of the normal variants where possible in ↵Dean Camera2010-04-2811-84/+84
| | | | the Host mode Class Driver demos.
* Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the ↵Dean Camera2010-04-2811-22/+22
| | | | LowLevel directory as it is hardware-dependent.
* USB_Init() no longer calls sei() to enable global interrupts - this must now ↵Dean Camera2010-04-2822-1/+23
| | | | be done in the user application once all init code has run.
* Add new LUFA logo by Ryo Yamauchi.Dean Camera2010-03-251-4/+5
|
* All Class Driver Host mode demos now correctly set the board LEDs to READY ↵Dean Camera2010-03-2511-7/+12
| | | | | | once the enumeration process has completed. Fixed Still Image Host class driver not resetting the transaction ID when a new session is opened, fixed driver not sending a valid session ID to the device.
* Standardized the naming scheme given to configuration descriptor ↵Dean Camera2010-03-221-2/+2
| | | | | | sub-elements in the Device mode demos, bootloaders and projects. Fix errors in the MouseHostWithParser demo from incorrect use of the HID_ALIGN_DATA() macro.
* Software PDI mode breaks unless the software USART has 100 cycles between bits.Dean Camera2010-03-171-2/+2
|
* Fixed PDI programming mode in the AVRISP programmer project not exiting ↵Dean Camera2010-03-161-3/+3
| | | | | | programming mode correctly (clear target Reset key twice, set /RESET pin to pullup). Add newlines to the MIDI event printf() statements in the MIDI host demos.
* Fixed USB_GetHIDReportSize() returning the number of bits in the specified ↵Dean Camera2010-02-093-37/+15
| | | | | | | | report instead of bytes. Moved the USB_GetHIDReportItemInfo() calls into the main report item passing loop in the *HostWithParser demos - it is fast enough not to effect performance, and avoids duplicate code. Make Webserver project report the LUFA version as part of the HTTP header.