aboutsummaryrefslogtreecommitdiffstats
path: root/Demos
Commit message (Collapse)AuthorAgeFilesLines
...
* Renamed the JTAG_DEBUG_ASSERT() macro to JTAG_ASSERT().Dean Camera2011-08-223-29/+51
| | | | | | | | Changed the reports in the GenericHID device demos to control the board LEDs, to reduce user confusion over the callback routines. Fixed swapped TWI_ADDRESS_READ and TWI_ADDRESS_WRITE values. Fixed TWI_ReadPacket() not releasing the TWI bus on read completion.
* Add shortcuts to SwapEndian_16() and SwapEndian_32() internal functions to ↵Dean Camera2011-08-162-20/+41
| | | | improve optimization if called with constant inputs.
* Set HOST_DEVICE_SETTLE_DELAY_MS to zero for the incomplete ↵Dean Camera2011-08-091-0/+1
| | | | AndroidAccessoryHost demo to prevent a timeout on the Android device from aborting Accessory mode after a command it sent to switch modes (thanks to Opendous Inc).
* Fixed incorrect Dataflash buffer use in the ↵Dean Camera2011-07-304-4/+4
| | | | DataflashManager_WriteBlocks_RAM() function of several demos/projects (thanks to Jeremy Willden).
* Fixed USB_USBTask not being called internally in stream transfers between ↵Dean Camera2011-07-251-2/+0
| | | | | | packets when Partial Stream Transfers are used. Remove old unused function prototype in the LowLevel MassStorage device demo.
* Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ↵Dean Camera2011-07-1951-92/+92
| | | | ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors.
* Add missing SVN eol-style property to files where it was missing.Dean Camera2011-07-1515-4864/+4864
|
* Fixed error in the pipe unordered allocation algorithm for the AVR8 devices ↵Dean Camera2011-07-121-1/+1
| | | | breaking compatibility with some devices.
* More endianness porting of the LUFA device mode class drivers.Dean Camera2011-07-116-13/+24
| | | | | | Add endianness information to the class driver and core structure definitions. Move out the unused Ethernet_Frame_Info_t structure definition to the RNDIS device demos where it is needed.
* Minor style improvements to the incomplete AndroidAccessoryHost demo.Dean Camera2011-07-111-2/+2
|
* Minor demo/project documentation and style fixes.Dean Camera2011-07-112-8/+8
|
* Replace blind interface descriptor search in the incomplete ↵Dean Camera2011-07-102-10/+43
| | | | AndroidAccessoryHost demo with an intelligent search for the correct interface in the device matching the correct class/subclass/protocol values.
* Add missing device deconfiguration-on-error statements to the host mode ↵Dean Camera2011-07-088-0/+10
| | | | demos and projects.
* Updated all host mode demos and projects to use the ↵Dean Camera2011-07-0859-3037/+2599
| | | | | | | | | | | | | | 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.
* Oops: Fix compile error in the low level KeyboardMouse demo.Dean Camera2011-07-025-4/+6
|
* Seperate out the device demos and project's configuration descriptor ↵Dean Camera2011-07-0132-20/+127
| | | | structure definitions to clearly indicate what descriptors belong to which interface.
* Pull out Android Accessory Mode functions into a seperate set of files in ↵Dean Camera2011-06-306-28/+197
| | | | the incomplete Android Accessory Mode Host demo. Improve Android Accessory Mode protocol support to correctly query the device's supported protocol and send the approriate device information strings.
* Update AudioInput and AudioOutput Class Driver device mode demos to use a ↵Dean Camera2011-06-292-54/+50
| | | | switch statement when selecting the audio request type for clarity.
* Fix logic bug in the incomplete Android Accessory Host demo preventing ↵Dean Camera2011-06-272-1/+4
| | | | correct detection of an attached Android Accessory Mode device.
* Oops - Mouse ClassDriver multi-arch demo changes were applied to trunk, ↵Dean Camera2011-06-205-584/+36
| | | | rather than the correct branch.
* Update Mouse demo to support the UC3 devices in the MultiArchDemos branch.Dean Camera2011-06-205-36/+584
|
* Add new "checksource" target to the library makefiles, for automated source ↵Dean Camera2011-06-2060-113/+599
| | | | file existance checking.
* Remove HID parser information output from the Low Level Host applications ↵Dean Camera2011-06-203-54/+0
| | | | using the HID Report parser to simplify them, as this information can now be obtained using the new HIDReportViewer project when required.
* Add missing SVN eol-style properties to source files to prevent mixed ↵Dean Camera2011-06-1633-14360/+14364
| | | | end-of-line characters.
* Rename new Audio class driver functions, callbacks and events to ensure that ↵Dean Camera2011-06-164-18/+18
| | | | they contain the USB mode (Device or Host) in the function names.
* Fix Doxygen documentation errors.Dean Camera2011-06-147-7/+7
|
* Ensure that only the requested Audio class pipes are mapped to endpoints ↵Dean Camera2011-06-131-1/+1
| | | | | | within the device for a specific Audio Host Class driver instance. Fix const-correctness of the Audio Host Class driver.
* Fix bugs in the Host mode Audio class driver.Dean Camera2011-06-122-5/+5
|
* Add missing AS4 and project description files to the new Audio Host demos.Dean Camera2011-06-0913-20/+304
| | | | Correct errors in the existing Audio demo description files due to the new demo features (variable sampling rate vs. a fixed sampling rate).
* Add new Audio Class Driver Host demos.Dean Camera2011-06-0912-10/+5262
| | | | | | Fix errors in the new Audio Host mode Class Driver, which would have prevented data from being sent or received properly by the device. Add microphone/square wave generation compile time switch to the Low Level AudioOutput Host demo.
* Fix errors in the Audio device demos and class driver regarding multiple ↵Dean Camera2011-06-076-20/+20
| | | | sample frequency support.
* Add additional support files for the new low level AudioInputHost and ↵Dean Camera2011-06-064-0/+3132
| | | | AudioOutputHost demos.
* Move completed low level Audio Host demos into the LowLevel folder from the ↵Dean Camera2011-06-0611-0/+8
| | | | Incomplete folder.
* Update incomplete Host mode Audio demos to use the correct class driver ↵Dean Camera2011-06-062-2/+2
| | | | Endpoint Sampling Frequency Control value constant.
* Update the Low Level Audio Input and Audio Output demos to support multiple ↵Dean Camera2011-06-0610-22/+133
| | | | | | sample rates. Remove custom PIDs on the Class Driver Audio device demos and revert back to the original Audio PIDs, as the low level and class driver demo versions are now descriptor compatible once again.
* Massive corrections to the project documentation and code comments, thanks ↵Dean Camera2011-06-0538-54/+54
| | | | to Russian translation services provided by Andrey from Microsin.ru.
* Fixed compile errors in the incomplete BluetoothHost demo application ↵Dean Camera2011-06-052-20/+20
| | | | (thanks to Timo Lindfors).
* Added new callback to the Audio Class driver to allow for endpoint control ↵Dean Camera2011-06-0312-30/+201
| | | | | | | | | | | | manipulations such as data sample rates. Modified the Class Driver AudioInput and AudioOutput demos to support multiple sample rates. Fixed KeyboardHost and KeyboardHostWithParser demos displaying incorrect values when numerical keys were pressed. Fix broken LowLevel audio demo descriptors. Minor documentation fixes.
* Spell check library source code files.Dean Camera2011-06-017-7/+7
|
* Fixed incorrect signature in the CDC and DFU class bootloaders for the ↵Dean Camera2011-06-012-3/+3
| | | | | | | | ATMEGA8U2. Minor documentation cleanups. Modify the incomplete AudioInputHost demo for mono audio output.
* Added new incomplete AudioOutputHost Host LowLevel demo.Dean Camera2011-05-309-7/+1348
|
* Altered the definition of the USB_Audio_Descriptor_Format_t descriptor so ↵Dean Camera2011-05-308-10/+28
| | | | that the user is now responsible for supplying the supported audio sampling rates, to allow for multiple audio interfaces with different numbers of supported rates and/or continuous sample rates.
* Remove output files from the incomplete AudioInputHost demo, and improve the ↵Dean Camera2011-05-3010-8128/+48
| | | | logic in the ConfigDescriptor.c device configuration processing routine.
* Added new incomplete AudioInputHost Host LowLevel demo.Dean Camera2011-05-2917-0/+9458
| | | | | | Added missing Audio class control request definitions. Added support for the Audio class GET STATUS request so that it is correctly ACKed when sent by the host.
* Add new USB_Host_SetInterfaceAltSetting() convenience function.Dean Camera2011-05-271-10/+1
|
* Lower the size of the HID report endpoint from 16 bytes to 8 bytes, to allow ↵Dean Camera2011-05-261-1/+1
| | | | for Low Speed USB compatibility in the KeyboardMouseMultiReport demo (thanks to Kevin Chernoff).
* Update MediaController project to remove the Record usage (not often needed) ↵Dean Camera2011-05-231-3/+5
| | | | and explicitly declare each usage for maximum clarity.
* Add RNDIS Device support to the Webserver project, so that the files stored ↵Dean Camera2011-05-223-2/+5
| | | | on the device can be viewed from a web-browser while the board is plugged into a host machine.
* Add new RNDIS_Host_IsPacketReceived(), RNDIS_Device_ReadPacket() and ↵Dean Camera2011-05-187-23/+26
| | | | | | RNDIS_Device_WritePacket() functions to the Device RNDIS Class Driver. Modify RNDIS demos to suit the simplified Ethernet_Frame_Info_t structure.
* Fixed possible invalid program execution when in host mode if corrupt ↵Dean Camera2011-05-141-1/+1
| | | | | | | | descriptor lengths are supplied by the attached device. Minor code cleanups to add const and reformat where missing, as well as abstract out the internal device signature start address into a macro, so that it can be altered to suit particular devices within a single architecture if needed. Add missing documentation to the USB_Device_States_t enum.