Commit Graph

428 Commits

Author SHA1 Message Date
Dean Camera 9a373c4094 AppConfigHeaders: Switch class driver Device mode demos to use LUFAConfig.h configuration header files. 2012-05-13 17:17:45 +00:00
Dean Camera 64d00efd91 AppConfigHeaders: Switch class driver Host mode demos to use LUFAConfig.h configuration header files. 2012-05-13 14:19:52 +00:00
Dean Camera a9f0369fac AppConfigHeaders: Switch DualRole and low level Host mode demos to use LUFAConfig.h configuration header files. 2012-05-13 14:07:00 +00:00
Dean Camera f9fb44b01c AppConfigHeaders: Remove outdated incomplete BluetoothHost demo - updated Bluetooth stack code is in the ExplorerBot project (http://www.fourwalledcubicle.com/ExplorerBot.php). 2012-05-13 14:04:29 +00:00
Dean Camera 359fbfe14d Add branch for the conversion of demos to use standard C header files for configuration, rather than makefile defined macros. 2012-05-10 19:24:58 +00:00
Dean Camera 3211b35a4c Make Doxygen fail for any Doxygen output other than unsupported tags (as these are somewhat benign).
Improve exclusion list for the main library export_tar rule to exclude any compiled library files from the export.
2012-04-09 10:04:40 +00:00
Dean Camera d5291c2e10 Only abort Doxygen documentation generation if a non-unsupported tag warning is encountered. 2012-03-09 22:36:56 +00:00
Dean Camera 663f9bd5f5 Update Doxygen documentation build scripts to fail if any warnings are generated. 2012-03-09 21:28:44 +00:00
Dean Camera eb2431ecd8 Update Doxygen configuration files to disable Markdown support. 2012-03-08 16:59:55 +00:00
Dean Camera dba5004684 Update Doxygen configuration files for all projects. 2012-03-07 19:11:15 +00:00
Dean Camera 7416ebd7c6 Update StaticAnalysisTest to check for missing header files. Fix found incorrect header file paths in the demos and projects. 2012-02-29 17:04:04 +00:00
Dean Camera bb85d083a7 Fix warnings and errors found by the new cppcheck provided static code analysis. 2012-02-28 20:40:24 +00:00
Dean Camera 6a9d1eab2d Modified the CDC Host demos to set a default CDC Line Encoding on enumerated devices. 2012-02-24 20:28:27 +00:00
Dean Camera 63a65a9598 Minor documentation fixes - change \note entries to \warning where appropriate and remove/update old documentation. 2012-02-24 20:26:19 +00:00
Dean Camera 1dcc1fe527 Update the Android Accessory Host ClassDriver demo to use the updated class configuration API.
Enable -Wcast-align warning for the UC3 architecture in the ModuleTest build test now that the test passes with it.

Minor documentation improvements.
2012-02-20 22:07:25 +00:00
Dean Camera e55946f972 Add missing svn:eol-style properties to /trunk/. 2012-02-04 23:00:22 +00:00
Dean Camera f1b6ddb710 Update file contributor copyrights for 2012. 2012-02-04 22:38:44 +00:00
Dean Camera 2c806f6cee Update file header copyrights for 2012. 2012-02-04 22:32:30 +00:00
Dean Camera fc4d3ab400 Minor documentation improvements. 2012-02-01 21:28:25 +00:00
Dean Camera f201f6697b Run wspurify script on /trunk/ and /branches/ C source files, to remove any trailing whitespace at the end of each line. 2011-12-23 01:51:39 +00:00
Dean Camera 676de74d9b Don't validate the Device Descriptor's vendor ID when validating that a device is an Android Accessory device; the Product ID and (later) Accessory protocol support is enough to probe AOA class support without having to maintain a list of Android device manufacture VID values. 2011-12-14 02:52:42 +00:00
Dean Camera 0c59d5993e Altered the Mass Storage Host class driver so that SCSI data STALLs from the attached device can be recovered from automatically without having to reset the Mass Storage interface.
Altered the Mass Storage Host LowLevel demo so that SCSI data STALLs from the attached device can be recovered from automatically without having to reset the Mass Storage interface.
2011-12-01 08:39:43 +00:00
Dean Camera 057972bd25 Remove unnecessary ErrorCode variable initializations from the LowLevel Host mode demos. 2011-11-28 13:14:51 +00:00
Dean Camera 7f8dbb4908 Convert the LowLevel AndroidAccessory demo to use the new class driver constants to reduce code duplication.
Add missing Doxygen documentation.
2011-11-24 01:31:31 +00:00
Dean Camera 8b5aa61601 Add new Android Open Accessory class driver to the library core and add a new Android Open Accessory Host ClassDriver demo. 2011-11-24 01:24:01 +00:00
Dean Camera d619214854 Update library to indicate support for the Android Accessory Host demo. 2011-11-23 06:59:27 +00:00
Dean Camera 08f448407b Move out Android Accessory Host demo to the Host mode LowLevel directory now that it is functionally complete. 2011-11-23 06:50:50 +00:00
Dean Camera e9802253e2 Add const-correctness to the Android_SendString() function of the Android Accessory Host demo. 2011-11-23 06:46:19 +00:00
Dean Camera c704131be4 Fix interface protocol match value for the Android Accessory Host demo interface configuration parser code (thanks to Opendous Inc.). 2011-11-23 00:16:33 +00:00
Dean Camera e30be658c9 Add missing SVN eol-style property to ensure that source code line endings and converted to the native values on checkout. 2011-11-09 23:35:16 +00:00
Dean Camera 6519aaa571 Fix incorrect Android Accessory Host interface descriptor subclass value (thanks to Opendous Inc.). 2011-10-28 05:16:38 +00:00
Dean Camera c9e817ff47 Fixed port state table corruption in the TCP layer of the RNDIS Ethernet device demos.
Fix additional warnings under GCC 4.6.
2011-10-09 13:14:53 +00:00
Dean Camera b5682f2c44 Add project name to the Doxygen makefile target output. 2011-09-21 06:45:09 +00:00
Dean Camera a233109909 Renamed USB_Host_ClearPipeStall() to USB_Host_ClearEndpointStall() as the function works on an endpoint address within the attached device, and not a Pipe within the host.
Updated MS_Host_ResetMSInterface() to now perform a full Mass Storage reset sequence to prevent data corruption in the event of a device lock up or timeout (thanks to David Lyons).

Add parenthesis around the library Endianness macros that do nothing on a particular architecture to prevent operator precedence issues depending on usage.

Minor documentation corrections.
2011-08-24 09:50:21 +00:00
Dean Camera d0ac8e46f9 Renamed the JTAG_DEBUG_ASSERT() macro to JTAG_ASSERT().
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.
2011-08-22 13:03:56 +00:00
Dean Camera c505ba047f Set HOST_DEVICE_SETTLE_DELAY_MS to zero for the incomplete 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). 2011-08-09 16:38:35 +00:00
Dean Camera 110711598a Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors. 2011-07-19 07:02:19 +00:00
Dean Camera 0c2ad9eb34 Add missing SVN eol-style property to files where it was missing. 2011-07-15 08:46:08 +00:00
Dean Camera 7c7778e3ce Minor style improvements to the incomplete AndroidAccessoryHost demo. 2011-07-11 09:44:09 +00:00
Dean Camera 3309c00a99 Minor demo/project documentation and style fixes. 2011-07-11 05:49:53 +00:00
Dean Camera 55aadf97d5 Replace blind interface descriptor search in the incomplete AndroidAccessoryHost demo with an intelligent search for the correct interface in the device matching the correct class/subclass/protocol values. 2011-07-10 07:15:57 +00:00
Dean Camera d9c16402b9 Add missing device deconfiguration-on-error statements to the host mode demos and projects. 2011-07-08 07:56:40 +00:00
Dean Camera 137ce280c1 Updated all host mode demos and projects to use the 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.
2011-07-08 07:25:56 +00:00
Dean Camera 5a580c6854 Pull out Android Accessory Mode functions into a seperate set of files in 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. 2011-06-30 09:44:37 +00:00
Dean Camera dee4bc0973 Fix logic bug in the incomplete Android Accessory Host demo preventing correct detection of an attached Android Accessory Mode device. 2011-06-27 05:57:25 +00:00
Dean Camera ca9f89ce82 Add new "checksource" target to the library makefiles, for automated source file existance checking. 2011-06-20 14:38:21 +00:00
Dean Camera 6599238dab Remove HID parser information output from the Low Level Host applications using the HID Report parser to simplify them, as this information can now be obtained using the new HIDReportViewer project when required. 2011-06-20 01:39:03 +00:00
Dean Camera 0ec2b55a7c Add missing SVN eol-style properties to source files to prevent mixed end-of-line characters. 2011-06-16 12:18:46 +00:00
Dean Camera d8fe01f19a Rename new Audio class driver functions, callbacks and events to ensure that they contain the USB mode (Device or Host) in the function names. 2011-06-16 06:49:08 +00:00
Dean Camera 57eedebd19 Fix Doxygen documentation errors. 2011-06-14 12:55:32 +00:00