aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/DualRole
Commit message (Collapse)AuthorAgeFilesLines
...
* All USB class drivers are now automatically included when LUFA/Drivers/USB.h ↵Dean Camera2010-10-242-2/+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-1312-137/+148
| | | | tool made by Laszlo Monda
* Remove USB_MODE_* macros, replace with a semantically linked USB_Modes_t enum.Dean Camera2010-10-121-2/+2
| | | | | | | | Moved the USB device selection logic for ENDPOINT_TOTAL_ENDPOINTS further up in Endpoint.h to where the endpoint bank capabilities are determined, to reduce the total number of device-specific logic. Change USB_Host_WaitMS() to test and disable the HSOFI interrupt before resuming the bus, so that it does not fire before the delay loop has run. Add missing const qualifier to the parameter of USB_Host_ClearPipeStall().
* Move out many of the common class driver constants into grouped enums, to ↵Dean Camera2010-09-283-8/+8
| | | | | | | | 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-241-2/+2
| | | | all dfu-programmer versions.
* Added the --suppress-bootloader-mem option to the makefile dfu target, to ↵Dean Camera2010-09-241-3/+3
| | | | | | | | 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.
* Rename internal suspend and wake up USB interrupt macros so that they follow ↵Dean Camera2010-09-191-2/+0
| | | | the same naming scheme as the other USB ISR macros.
* Ensure device address latch bit is not set at the same time as the new ↵Dean Camera2010-09-192-0/+11
| | | | | | | | address, as per datasheet. Minor documentation fixes. Fix broken USB host mode due to the USB frame counter not being updated during the early enumeration steps, causing USB_Host_DelayMS() to spinloop forever.
* Make project makefiles correctly clean intermeditary build files from ↵Dean Camera2010-09-151-2/+2
| | | | assembly and C++ sources (thanks to Daniel Czigany).
* Added class specific descriptor type defines with standard USB-IF element ↵Dean Camera2010-09-092-3/+3
| | | | naming.
* Clarify in the project documentation files what the each of the different ↵Dean Camera2010-08-311-1/+1
| | | | USB AVR device "series" comprises of.
* Changed the signature of the CALLBACK_USB_GetDescriptor() callback function ↵Dean Camera2010-08-242-11/+12
| | | | so that the descriptor pointer is const, to remove the need for extra casting inside the callback (thanks to Jonathan Kollasch).
* Fix invocations of avr-size in all makefiles broken on unpatched *nix ↵Dean Camera2010-08-081-1/+4
| | | | 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-021-1/+2
| | | | in some situations.
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-301-1/+1
| | | | EN-GB spelling dictionary.
* Spell check all source files once again to find any typos.Dean Camera2010-07-291-1/+1
|
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-216-13/+30
| | | | | | 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-191-62/+41
| | | | 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-181-1/+1
| | | | Extensions.
* Disable strict aliasing explicitly in the project makefiles, as this is ↵Dean Camera2010-07-151-0/+1
| | | | 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-151-18/+6
| | | | | | 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.
* Added const attributes to some of the class driver function parameters that ↵Dean Camera2010-07-132-2/+2
| | | | were missing it.
* Add AVRStudio 4 project files to the LowLevel Host mode demos.Dean Camera2010-07-131-0/+1
|
* Add missing clean_doxygen phony targets to the project makefiles.Dean Camera2010-07-121-1/+2
|
* Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific ↵Dean Camera2010-07-021-0/+1
| | | | | | 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.
* Add default "all" makefile targets to the demo tree makefiles.Dean Camera2010-06-252-1/+3
|
* Remove obsolete entry from the Doxygen configuration files.Dean Camera2010-05-231-1/+1
|
* Add new ReportType parameter to the HID class driver device callback and ↵Dean Camera2010-05-092-3/+4
| | | | | | host report sending routines. Renamed internal Host mode Class driver descriptor comparator callback routines so that they all start with a uniform DCOMP_{Class Abbreviation}_ prefix.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-0811-3305/+3305
| | | | 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-073-5/+5
| | | | the make tool to be overridden.
* Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the ↵Dean Camera2010-04-281-2/+2
| | | | LowLevel directory as it is hardware-dependent.
* USB_Init() no longer calls sei() to enable global interrupts - this must now ↵Dean Camera2010-04-282-0/+2
| | | | be done in the user application once all init code has run.
* Standardized the naming scheme given to configuration descriptor ↵Dean Camera2010-03-222-7/+7
| | | | | | 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.
* Remove redundant check in the software PDI programming code of the AVRISP ↵Dean Camera2010-03-171-1/+1
| | | | project.
* Make sure the button report set masks use OR in all circumstances, to ↵Dean Camera2010-02-161-1/+1
| | | | prevent user confusion. While the first set of the buttons report item can be a direct assignment, it is not immediately clear to new developers why this is the case.
* New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which ↵Dean Camera2010-02-041-1/+1
| | | | | | will remove all board hardware drivers which do not adversely affect the code operation (currently only the LEDs driver). Spell-check code/comments in the Webserver/AVRISP-MKII projects.
* Exlude the "INCLUDE_FROM_*" macros from the individual project's documentation.Dean Camera2010-02-031-1/+2
|
* Fix up project documentation files' overview tables, so that multiple items ↵Dean Camera2010-01-281-1/+1
| | | | occupy multiple lines in the same cell, rather than multiple cells.
* Add Webserver project Doxygen configuration file and overview document.Dean Camera2010-01-251-1/+1
| | | | Fix Doxygen configuration files' input file exclusion filters.
* Update Doxygen configuration files to the latest Doxygen version.Dean Camera2010-01-061-631/+709
|
* Update copyright year to 2010.Dean Camera2009-12-3010-18/+18
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-288-56/+56
|
* Fix more Doxygen errors from missing parameter documentation.Dean Camera2009-11-251-0/+1
|
* Added new ReportType parameter to the HID Device Class driver ↵Dean Camera2009-11-233-2/+7
| | | | CALLBACK_HID_Device_CreateHIDReport() callback to indicate the report type to generate.
* Corrected the name of the misnamed USB_GetDeviceConfigDescriptor() function ↵Dean Camera2009-11-131-2/+2
| | | | to USB_Host_GetDeviceConfigDescriptor().
* Add optional double-banking support to the Device mode Class Drivers, on a ↵Dean Camera2009-11-061-5/+6
| | | | per-endpoint, per-interface level.
* Fix invalid Event name rule in demo/project makefiles.Dean Camera2009-10-161-1/+1
|
* Make Audio device demos compatible with AVRs running at 16MHz instead of 8MHz.Dean Camera2009-10-121-3/+2
| | | | Fix up demo documentation device compatibility list to be as general as possible to reduce changes required as Atmel releases more devices within the same USB AVR series.
* Application documentation/comment cleanup.Dean Camera2009-10-081-1/+1
|
* Remove old OTG demo directory with useless TestApp demo. Add new DualRole ↵Dean Camera2009-09-2913-0/+3258
directory with new Class Driver powered Mouse dual role demonstration application showing a dual role device using the HID host/device Class drivers.