aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver
Commit message (Collapse)AuthorAgeFilesLines
* Disable strict aliasing explicitly in the project makefiles, as this is ↵Dean Camera2010-07-1516-5/+19
| | | | 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-1514-235/+84
| | | | | | 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.
* Fix pointer aliasing warning in the Mass Storage demos.Dean Camera2010-07-154-13/+11
|
* Added const attributes to some of the class driver function parameters that ↵Dean Camera2010-07-1314-14/+14
| | | | were missing it.
* Add AVRStudio 4 project files to the ClassDriver Device mode demos.Dean Camera2010-07-1314-0/+14
|
* Add missing clean_doxygen phony targets to the project makefiles.Dean Camera2010-07-1214-18/+26
|
* Oops - fix errors in the MassStorageKeyboard SCSI driver file due to ↵Dean Camera2010-07-091-2/+2
| | | | incorrect copy/paste.
* Rewrote the implementation of the SwapEndian_16() and SwapEndian_32() ↵Dean Camera2010-07-092-13/+9
| | | | | | functions so that they compile down in most instances to minimal loads and stores rather than complicated shifts. Fixed SCSI.c implementations of all the demos/projects casting the block count to a 32-bit temporary before calling SwapEndian_16().
* Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific ↵Dean Camera2010-07-0214-0/+14
| | | | | | 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.
* Fix Doxygen formatting of parameters for the ↵Dean Camera2010-06-257-34/+34
| | | | CALLBACK_HID_Device_CreateHIDReport() function in the ClassDriver HID device demos.
* Fix compile and Doxygen errors due to the spell-check changes in the source ↵Dean Camera2010-06-161-3/+1
| | | | code.
* Change over Doxygen \note documentation to \pre where applicable.Dean Camera2010-06-151-2/+3
|
* Minor fixes to demos to add in some missing comments, printf() formatting. ↵Dean Camera2010-06-122-1/+2
| | | | Make incomplete Bluetooth demo indicate connections visually via the board LEDs.
* Fix incorrect copyright attribution on the class-driver keyboard demos due ↵Dean Camera2010-06-066-9/+3
| | | | to header copy-pasting.
* More documentation fixes.Dean Camera2010-06-032-4/+4
|
* Minor documentation cleanups.Dean Camera2010-06-038-64/+63
|
* Switch to using the correct intptr_t type use where a pointer must be cast ↵Dean Camera2010-05-262-5/+5
| | | | to an integer type.
* Fixed RNDISEthernet demos crashing when calculating checksums for ↵Dean Camera2010-05-252-2/+2
| | | | | | Ethernet/TCP packets of more than ~500 bytes due to an overflow in the checksum calculation loop (thanks to Kevin Malec). Removed string Attributes from the Service Discovery Protocol code to minimise the potential points of failure while the base code is being debugged.
* Remove obsolete entry from the Doxygen configuration files.Dean Camera2010-05-2314-14/+14
|
* Renamed CDC device class demos' ManagementEndpoint descriptor to ↵Dean Camera2010-05-206-6/+6
| | | | NotificationEndpoint to more accurately indicate its purpose.
* Add new ReportType parameter to the HID class driver device callback and ↵Dean Camera2010-05-0914-21/+28
| | | | | | 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-08130-47514/+47514
| | | | 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-0714-55/+55
| | | | the make tool to be overridden.
* Remove incorrect Abstract Call Management class specific descriptor from the ↵Dean Camera2010-05-068-45/+0
| | | | CDC demos, bootloaders and projects.
* Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the ↵Dean Camera2010-04-2814-28/+28
| | | | LowLevel directory as it is hardware-dependent.
* USB_Init() no longer calls sei() to enable global interrupts - this must now ↵Dean Camera2010-04-2829-6/+33
| | | | be done in the user application once all init code has run.
* Make bluetooth SDP code correctly unpack the search UUIDs and parameters.Dean Camera2010-04-192-3/+1
| | | | Minor documentation improvements.
* Add const keyword to the demo function parameters where possible.Dean Camera2010-04-184-4/+4
|
* Removed two-step endpoint/pipe bank clear and switch sequence for smaller, ↵Dean Camera2010-04-131-3/+4
| | | | | | | | faster endpoint/pipe code. Added spacing between multiple paragraphs in Doxygen \note sections. Removed call to the clock prescaler reset function in the Teensy bootloader to save space - the user application is accessed via a watchdog reset anyway, so the prescale reset would only affect the speed of the bootloader itself.
* Add briefs for the library core structures.Dean Camera2010-03-291-1/+1
|
* Fixed compilation error in the AudioInput demos when ↵Dean Camera2010-03-241-1/+1
| | | | | | | | MICROPHONE_BIASED_TO_HALF_RAIL is defined (thanks to C. Scott Ananian). Minor documentation cleanups. Make sure HID class driver uses properly cast pointers when writing to the report buffer.
* Standardized the naming scheme given to configuration descriptor ↵Dean Camera2010-03-2228-151/+152
| | | | | | 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.
* Make sure the button report set masks use OR in all circumstances, to ↵Dean Camera2010-02-163-3/+3
| | | | 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.
* Fix AVRISP-MKII clone project's TPI Chip Erase command processing - ensure ↵Dean Camera2010-02-081-1/+0
| | | | | | erase location is the high byte in the given address space, check NVMBUSY for completion rather than the NVM Bus Enable bit. Change If-Else chains over to switch statements in XPROGProtocol.c for clarity.
* Added Keyboard LED report masks (KEYBOARD_LED_*) to the HID class driver and ↵Dean Camera2010-02-073-9/+9
| | | | demos.
* Added keyboard modifier masks (HID_KEYBOARD_MODIFER_*) to the HID class ↵Dean Camera2010-02-073-0/+6
| | | | driver and Keyboard demos.
* New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which ↵Dean Camera2010-02-0414-14/+14
| | | | | | 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-0314-14/+28
|
* Minor fixups to the documentation and preprocessor tokens.Dean Camera2010-02-022-4/+4
|
* Update driver INF files - change manufacturer name from the original ↵Dean Camera2010-01-293-3/+3
| | | | template's name to the Four Walled Cubicle website.
* Fix up project documentation files' overview tables, so that multiple items ↵Dean Camera2010-01-2812-42/+56
| | | | occupy multiple lines in the same cell, rather than multiple cells.
* Add Webserver project Doxygen configuration file and overview document.Dean Camera2010-01-2514-14/+14
| | | | Fix Doxygen configuration files' input file exclusion filters.
* Added explicit ADC channel masks for the standard set of ADC channels, as ↵Dean Camera2010-01-252-1/+4
| | | | the single-ended channel MUX masks are not equal to the channel number on some AVR models. Changed demos to use the new channel masks when using the ADC driver.
* Fix up the incomplete Webserver project so that it integrates with the uIP ↵Dean Camera2010-01-211-1/+4
| | | | | | stack correctly. Add simple HTTP webserver as a placeholder until FatFS can be integrated. Begin to look into the RNDIS Host Class Driver, which seems to crash on test hardware after many packets have been received.
* Changed XPLAINBridge project to be both a USB to USART bridge and a PDI ↵Dean Camera2010-01-191-2/+2
| | | | programmer, based on the state of a mode select pin.
* Fixed incorrect interface values in the VirtualSerialMouse and KeyboardMouse ↵Dean Camera2010-01-124-8/+8
| | | | | | demo class driver structures. Added caveat information to the CDC device class driver.
* Update Doxygen configuration files to the latest Doxygen version.Dean Camera2010-01-0614-8834/+9926
|
* Added support to the MIDI Class drivers for packed data, where multiple MIDI ↵Dean Camera2010-01-051-0/+1
| | | | events are packed into a single USB packet. Added new MIDI Class driver flush routines to override packing behaviour.
* Fix MassStorageKeyboard demo USE_INTERNAL_SERIAL check being performed ↵Dean Camera2010-01-042-6/+14
| | | | | | before the required library headers were included, causing a compilation error. Added notes to the class driver functions indicating which functions require what Device/Host state machine states to function.
* Clean up MassStorageKeyboard demo.Dean Camera2010-01-034-30/+17
|