aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device
Commit message (Collapse)AuthorAgeFilesLines
* Fixed LowLevel MassStorage demo broken on the U2 AVRs due to double-banked ↵Dean Camera2010-03-192-7/+7
| | | | endpoints.
* 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 LowLevel Keyboard demo -- accidentally trying to dereference a uint8_t ↵Dean Camera2010-02-081-3/+3
| | | | type in ProcessLEDReport().
* Fix AVRISP-MKII clone project's TPI Chip Erase command processing - ensure ↵Dean Camera2010-02-082-2/+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.
* Split out LED report processing from the host into a seperate routine in the ↵Dean Camera2010-02-072-30/+27
| | | | LowLevel KeyboardMouse device demo, to avoid duplicate code.
* Added Keyboard LED report masks (KEYBOARD_LED_*) to the HID class driver and ↵Dean Camera2010-02-077-18/+42
| | | | demos.
* Added keyboard modifier masks (HID_KEYBOARD_MODIFER_*) to the HID class ↵Dean Camera2010-02-078-32/+92
| | | | driver and Keyboard demos.
* New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which ↵Dean Camera2010-02-0427-27/+27
| | | | | | 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-0326-26/+52
|
* Minor fixups to the documentation and preprocessor tokens.Dean Camera2010-02-023-6/+6
|
* Update driver INF files - change manufacturer name from the original ↵Dean Camera2010-01-295-5/+5
| | | | template's name to the Four Walled Cubicle website.
* Removed the stream example code from the Low Level VirtualSerial demos, as ↵Dean Camera2010-01-281-53/+0
| | | | they were buggy and only served to add clutter.
* Fix up project documentation files' overview tables, so that multiple items ↵Dean Camera2010-01-2822-70/+96
| | | | occupy multiple lines in the same cell, rather than multiple cells.
* Add Webserver project Doxygen configuration file and overview document.Dean Camera2010-01-2526-26/+26
| | | | Fix Doxygen configuration files' input file exclusion filters.
* Added explicit ADC channel masks for the standard set of ADC channels, as ↵Dean Camera2010-01-254-2/+8
| | | | 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-212-1/+7
| | | | | | 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-0626-16406/+18434
|
* 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
|
* Update copyright year to 2010.Dean Camera2009-12-30174-357/+357
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-28171-1208/+1208
|
* Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵Dean Camera2009-12-0922-69/+71
| | | | | | | | (up from 5) to account for slow-processing devices. Added brace guards to macros with parameters to prevent unintended changed evaluation of the macro expression. Minor code cleanups (remove redundant comments, fix spacing, etc.).
* Fix newly renamed VirtualSerial demos' include filename references so that ↵Dean Camera2009-12-0710-25/+25
| | | | they compile.
* Additional file renames and modifications to change CDC demos to VirtualSerial.Dean Camera2009-12-0732-28/+28
|
* Rename CDC demos to VirtualSerial.Dean Camera2009-12-0740-0/+0
|
* Make MIDI device demos also turn off the on board LEDs if MIDI Note On ↵Dean Camera2009-11-262-3/+4
| | | | messages are sent with a velocity of zero, which some devices use instead of Note Off messages (thanks to Robin Green).
* Added new RNDIS Host class driver and the beginnings of a RNDISEthernetHost ↵Dean Camera2009-11-261-2/+15
| | | | | | | | Class Driver demo. Fixed all Class drivers to ensure they have appropriate guards on each function to ensure the device is enumerated before running, fixed error codes on all guards to return "DeviceDisconnected" where possble. Renamed HOST_SENDCONTROL_DeviceDisconnect enum value to HOST_SENDCONTROL_DeviceDisconnected to be in line with the rest of the library enum error codes.
* Fix build and Doxygen errors.Dean Camera2009-11-257-0/+7
|
* Added new ReportType parameter to the HID Device Class driver ↵Dean Camera2009-11-2314-14/+14
| | | | CALLBACK_HID_Device_CreateHIDReport() callback to indicate the report type to generate.
* Fixed incorrect values for REPORT_ITEM_TYPE_* enum values causing corrupt ↵Dean Camera2009-11-231-61/+0
| | | | data in the HID Host Parser.
* The incomplete StandaloneProgrammer project now uses Host and Device Mass ↵Dean Camera2009-11-231-61/+0
| | | | | | | | | | | | storage classes, so that program data can either be loaded onto the device's Dataflash storage, or read off an attached USB memory stick. The USB target family and allowable USB mode tokens are now public and documented (USB_CAN_BE_*, USB_SERIES_*_AVR). The SCSI_Request_Sense_Response_t and SCSI_Inquiry_Response_t type defines are now part of the Mass Storage Class driver common defines, rather than being defined in the Host mode Class driver section only. The USB_MODE_HOST token is now defined even when host mode is not available. Added missing CDC_Host_CreateBlockingStream() function code to the CDC Host Class driver.
* Removed code to zero reports between two keyboard reports with differing ↵Dean Camera2009-11-232-21/+2
| | | | number of pressed keys, as this relied on non-standard OS behaviour.
* Fixed Endpoint_Write_Control_Stream_* functions not sending a terminating IN ↵Dean Camera2009-11-204-7/+7
| | | | when the given data length is zero.
* Fixed LowLevel Keyboard demo not saving the issued report only after it has ↵Dean Camera2009-11-206-30/+61
| | | | | | been written to the endpoint. Added support for multiple keyboard keycodes in a single report to the LowLevel and ClassDriver Keyboard demos.
* Fix doxygen documentation - doxygen was getting confused on the ↵Dean Camera2009-11-171-1/+1
| | | | variable-length ATTR_NON_NULL_PTR_ARG() macro used on function prototypes and was generating many return types for several functions in the documentation (thanks to David Lyons).
* Make RNDISHost demo validate the set Packet Filter to ensure that it is ↵Dean Camera2009-11-172-5/+4
| | | | | | being sent correctly. Add new (incomplete) StandaloneProgrammer project, using the ELM Petite FAT library to read files stored on the board's dataflash by the host.
* Cleanups to the MassStorage Device demos, and the MassStorage Device Class ↵Dean Camera2009-11-152-28/+22
| | | | driver.
* Corrections, improvements and additions to the incomplete RNDISHost demo.Dean Camera2009-11-136-18/+19
| | | | Change device demos which use the joystick to use the natural UP, DOWN, LEFT, RIGHT ordering in all demos when checking the joystick's position.
* Minor code cleanups for clarity.Dean Camera2009-11-112-4/+4
|
* Added new stream creation function to the CDC Class drivers, to easily make ↵Dean Camera2009-11-102-22/+13
| | | | standard streams from CDC Class driver instances.
* Spell check all source code variables, comments and strings.Dean Camera2009-11-0914-15/+15
|
* Remove dependancies from the LowLevel demos to the ClassDriver demos, since ↵Dean Camera2009-11-082-4/+2
| | | | the use of ClassDriver headers now outputs an error when NO_STREAM_CALLBACKS is used.
* Add optional double-banking support to the Device mode Class Drivers, on a ↵Dean Camera2009-11-0612-102/+130
| | | | per-endpoint, per-interface level.
* Added new JoystickHostWithParser demos to the library.Dean Camera2009-11-041-0/+1
| | | | Add some missing documentation to some of the library demos.
* Update DevChapter9.c - use the Endpoint_ClearStatusStage() function where ↵Dean Camera2009-11-042-22/+22
| | | | | | possible to reduce code size and (potentially) allow for centralized status stage timeouts. Fix Joystick device demo HID descriptors - buttons should be placed outside the Pointer collection.
* Add new CDCMouse ClassDriver device demo, combining a CDC Virtual Serial ↵Dean Camera2009-11-0313-4/+3195
| | | | Port and a HID Mouse.
* Make HID device class driver ignore the previous HID report comparison ↵Dean Camera2009-10-261-18/+18
| | | | buffer when the user sets it to NULL, disabling automatic report comparisons. Update HID device class driver documentation giving previous report buffer limitations.