aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/DualRole/ClassDriver
Commit message (Collapse)AuthorAgeFilesLines
* Merge in latest trunk.Dean Camera2012-05-203-24/+18
|\
| * Upgrade Doxygen configuration files for Doxygen 1.8.1, fix broken stylesheet ↵Dean Camera2012-05-201-21/+15
| | | | | | | | and footer HTML, add explicit spacing into documentation code fragments to prevent Doxygen from removing empty lines in the output.
| * Minor documentation adjustments to the demos, projects and bootloaders to ↵Dean Camera2012-05-181-2/+2
| | | | | | | | ensure correct formatting of application device support.
| * Update project Doxygen and makefiles so that the resulting project ↵Dean Camera2012-05-172-3/+3
| | | | | | | | documentation hides the unused version value, and uses the same HTML CSS stylesheet as the library core.
| * Increased endpoint polling interval for all demos and projects to 5ms, as ↵Dean Camera2012-05-061-1/+1
| | | | | | | | 1ms was causing some enumeration issues on some machines (thanks to Riku Salminen).
| * Reintegrate the FullEPAddresses development branch into trunk.Dean Camera2012-04-144-11/+19
| |
* | AppConfigHeaders: Make sure that in applications using an AppConfig.h ↵Dean Camera2012-05-151-1/+0
| | | | | | | | configuration file, all application headers include the configuration file.
* | AppConfigHeaders: Switch DualRole and low level Host mode demos to use ↵Dean Camera2012-05-132-5/+95
| | | | | | | | LUFAConfig.h configuration header files.
* | Add branch for the conversion of demos to use standard C header files for ↵Dean Camera2012-05-104-12/+20
|/ | | | configuration, rather than makefile defined macros.
* Make Doxygen fail for any Doxygen output other than unsupported tags (as ↵Dean Camera2012-04-091-1/+1
| | | | | | these are somewhat benign). Improve exclusion list for the main library export_tar rule to exclude any compiled library files from the export.
* Only abort Doxygen documentation generation if a non-unsupported tag warning ↵Dean Camera2012-03-091-1/+1
| | | | is encountered.
* Update Doxygen documentation build scripts to fail if any warnings are ↵Dean Camera2012-03-091-1/+3
| | | | generated.
* Update Doxygen configuration files to disable Markdown support.Dean Camera2012-03-081-1/+1
|
* Update Doxygen configuration files for all projects.Dean Camera2012-03-071-107/+356
|
* Update file contributor copyrights for 2012.Dean Camera2012-02-048-8/+8
|
* Update file header copyrights for 2012.Dean Camera2012-02-048-8/+8
|
* Minor documentation corrections.Dean Camera2012-02-041-5/+5
|
* USB_CONFIG_ATTR_BUSPOWERED constant renamed to USB_CONFIG_ATTR_RESERVED, as ↵Dean Camera2012-01-021-1/+1
| | | | this was misnamed (thanks to NXP Semiconductors).
* Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵Dean Camera2011-12-232-2/+2
| | | | trailing whitespace at the end of each line.
* Add missing SVN eol-style property to ensure that source code line endings ↵Dean Camera2011-11-091-1/+1
| | | | and converted to the native values on checkout.
* Add project name to the Doxygen makefile target output.Dean Camera2011-09-211-1/+1
|
* Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ↵Dean Camera2011-07-191-1/+1
| | | | ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors.
* Updated all host mode demos and projects to use the ↵Dean Camera2011-07-083-72/+62
| | | | | | | | | | | | | | EVENT_USB_Host_DeviceEnumerationComplete() event callback for device configuration instead of manual host state machine manipulations in the main application task. Added new USB_Host_ConfigurationNumber global variable to indicate the selected configuration in an attached device. Renamed global state variables that are specific to a certain USB mode to clearly indicate which mode the variable relates to, by changing the USB_* prefix to USB_Device_* or USB_Host_*. Removed the HOST_STATE_WaitForDeviceRemoval and HOST_STATE_Suspended host state machine states, as these are no longer required. Altered the USB_Host_SetDeviceConfiguration() function to update the new USB_Host_ConfigurationNumber global as required. Moved out the Host mode standard request convenience/helper functions from the architecture specific Host driver files to the architecture agnostic HostStandardReq.c driver file.
* Seperate out the device demos and project's configuration descriptor ↵Dean Camera2011-07-011-0/+2
| | | | structure definitions to clearly indicate what descriptors belong to which interface.
* Add new "checksource" target to the library makefiles, for automated source ↵Dean Camera2011-06-201-2/+10
| | | | file existance checking.
* Massive corrections to the project documentation and code comments, thanks ↵Dean Camera2011-06-051-1/+1
| | | | to Russian translation services provided by Andrey from Microsin.ru.
* F_CLOCK changed to F_USB to be more descriptive, and applicable on future ↵Dean Camera2011-03-211-7/+7
| | | | architecture ports.
* Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean Camera2011-02-191-1/+5
| | | | 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-101-1/+1
| | | | | | 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.
* Oops - fix missing constants in the TempDataLogger FatFS diskio.h header file.Dean Camera2011-02-061-6/+6
| | | | Add const to all project descriptor definitions for safety.
* Renamed all driver termination *_ShutDown() functions to the more logical ↵Dean Camera2011-01-301-1/+1
| | | | name *_Disable().
* Removed SerialStream module, rolled functionality into the base USART Serial ↵Dean Camera2011-01-303-4/+6
| | | | | | | | 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.
* Add new HID_DESCRIPTOR_VENDOR() macro, change over all projects and Device ↵Dean Camera2011-01-301-28/+9
| | | | | | | | | | | | ClassDriver demos to use it. Fix reversed byte ordering of multi-byte HID data. Added support to the HID parser for extended USAGE items that contain the usage page as well as the usage index. Removed the HID_IOF_NON_VOLATILE and HID_IOF_VOLATILE flags from HID INPUT items where the flag is invalid. Changed over HID OUTPUT items to use HID_IOF_NON_VOLATILE. Change over MagStripe project to use HID_DESCRIPTOR_KEYBOARD() for its HID report. Change over MouseHostDevice demo to use HID_DESCRIPTOR_MOUSE() for its HID report.
* Abuse the the C preprocessor so that the HID macros can automatically encode ↵Dean Camera2011-01-171-26/+26
| | | | data into the array from the HID macros automagically, by specifying the bit-width of the data, and the data itself as a single integer value of that width.
* New HID report item macros (with HID_RI_ prefix) to allow for easy creation ↵Dean Camera2011-01-161-26/+28
| | | | | | | | and editing of HID report descriptors. Changed over all project and demo HID report descriptors to use the new HID report item macros. Moved the HIDParser.c source file to the LUFA/Drivers/USB/Class/Common/ directory from the LUFA/Drivers/USB/Class/Host/.
* Update copyright year on all source files.Dean Camera2011-01-019-17/+17
|
* Documentation improvements - put driver example code into its own section, ↵Dean Camera2010-12-261-4/+4
| | | | fix incorrect and missing section names.
* Fixed incorrect PollingIntervalMS values in the demo/project/bootloader ↵Dean Camera2010-11-101-1/+1
| | | | endpoint descriptors (thanks to MCS Electronics).
* Renamed the EVENT_USB_Device_UnhandledControlRequest() event to ↵Dean Camera2010-11-052-3/+3
| | | | EVENT_USB_Device_ControlRequest() as it is now fired before the library request handlers, not afterwards.
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-289-9/+9
| | | | 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-252-7/+7
| | | | | | | | 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-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-1311-136/+146
| | | | 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).