aboutsummaryrefslogtreecommitdiffstats
path: root/Demos
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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-0458-62/+62
| | | | | | 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-0350-50/+100
|
* 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-282-99/+0
| | | | they were buggy and only served to add clutter.
* Fix up project documentation files' overview tables, so that multiple items ↵Dean Camera2010-01-2839-110/+157
| | | | occupy multiple lines in the same cell, rather than multiple cells.
* Add Webserver project Doxygen configuration file and overview document.Dean Camera2010-01-2550-50/+50
| | | | Fix Doxygen configuration files' input file exclusion filters.
* Fixed CDC and RNDIS host demos and class drivers - bidirectional endpoints ↵Dean Camera2010-01-253-23/+6
| | | | should use two seperate pipes, not one half-duplex pipe.
* 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-0650-31550/+35450
|
* Added support to the MIDI Class drivers for packed data, where multiple MIDI ↵Dean Camera2010-01-054-2/+4
| | | | 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-30288-579/+579
|
* Fix TemperatureDataLogger - sample tick timer wasn't being initialized in ↵Dean Camera2009-12-302-16/+11
| | | | the correct CTC mode.
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-28279-1967/+1967
|
* Test with -Wextra, fix library warnings due to unused function parameters.Dean Camera2009-12-131-1/+1
|
* Use -pedantic compile time option to find and correct several minor code errors.Dean Camera2009-12-133-20/+20
|
* Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵Dean Camera2009-12-0948-102/+104
| | | | | | | | (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.).
* Make sure that USB_STREAM_TIMEOUT_MS is set in the MassStorageHost ↵Dean Camera2009-12-082-1/+2
| | | | | | ClassDriver demo, so that slow devices don't time out the data pipe. Increase pipe timeout in both MassStorageHost demos to 5 seconds to account for the really slow devices. Fix TeensyHID bootloader not properly shutting down the USB interface to trigger a disconnection on the host before resetting the AVR.
* Fix newly renamed VirtualSerial demos' include filename references so that ↵Dean Camera2009-12-0715-37/+37
| | | | they compile.
* Additional file renames and modifications to change CDC demos to VirtualSerial.Dean Camera2009-12-0744-40/+40
|
* Rename CDC demos to VirtualSerial.Dean Camera2009-12-0752-0/+0
|
* Fixed Mass Storage Host Class driver and Low Level demo not clearing the ↵Dean Camera2009-12-041-2/+9
| | | | error condition if an attached device returns a STALL to a GET MAX LUN request (thanks to Martin Luxen).
* Fixed HID Parser not distributing the Usage Min and Usage Max values across ↵Dean Camera2009-12-042-2/+2
| | | | | | | | an array of report items. Added new HID_ALIGN_DATA() macro to return the pre-retrieved value of a HID report item, left-aligned to a given datatype. Added new PreviousValue to the HID Report Parser report item structure, for easy monitoring of previous report item values.
* Added CDC_Host_Flush() function to the CDC Host Class driver to flush sent ↵Dean Camera2009-11-301-0/+2
| | | | data to the attached device.
* Better checking of whether a packet is received in the RNDISEthernetHost ↵Dean Camera2009-11-272-6/+12
| | | | Class driver demo - show busy LED status while packets are being printed out.
* Make the RNDISEthernetHost Class driver demo print out incomming packets ↵Dean Camera2009-11-262-1/+20
| | | | from the attached RNDIS device.
* 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-2610-23/+2626
| | | | | | | | 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 typo in the StillImageHost LowLevel demo, and the CDC Host Class Driver.Dean Camera2009-11-251-1/+1
|
* Fix more Doxygen errors from missing parameter documentation.Dean Camera2009-11-251-0/+1
|
* Fix build and Doxygen errors.Dean Camera2009-11-2510-7/+14
|
* Added new RNDISHost Host LowLevel demo. Fixed misnamed Pipe_SetPipeToken() ↵Dean Camera2009-11-2514-52/+1668
| | | | macro for setting a pipe's direction. Fixed CDCHost failing on devices with bidirectional endpoints.
* Make the StandaloneProgrammer project seamlessly read out drive contents ↵Dean Camera2009-11-241-1/+1
| | | | from either an attached FAT formatted drive when in host mode, or the onboard FAT formatted dataflash when in device mode.
* Fixed misnamed SI_Host_USBTask() and SI_Host_ConfigurePipes() functions.Dean Camera2009-11-231-3/+3
|
* Added new ReportType parameter to the HID Device Class driver ↵Dean Camera2009-11-2317-16/+21
| | | | 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-233-63/+11
| | | | 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.