Dean Camera
359fbfe14d
Add branch for the conversion of demos to use standard C header files for configuration, rather than makefile defined macros.
13 years ago
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.
13 years ago
Dean Camera
d5291c2e10
Only abort Doxygen documentation generation if a non-unsupported tag warning is encountered.
13 years ago
Dean Camera
663f9bd5f5
Update Doxygen documentation build scripts to fail if any warnings are generated.
13 years ago
Dean Camera
eb2431ecd8
Update Doxygen configuration files to disable Markdown support.
13 years ago
Dean Camera
dba5004684
Update Doxygen configuration files for all projects.
13 years ago
Dean Camera
7416ebd7c6
Update StaticAnalysisTest to check for missing header files. Fix found incorrect header file paths in the demos and projects.
13 years ago
Dean Camera
6a9d1eab2d
Modified the CDC Host demos to set a default CDC Line Encoding on enumerated devices.
13 years ago
Dean Camera
e55946f972
Add missing svn:eol-style properties to /trunk/.
13 years ago
Dean Camera
f1b6ddb710
Update file contributor copyrights for 2012.
13 years ago
Dean Camera
2c806f6cee
Update file header copyrights for 2012.
13 years ago
Dean Camera
f201f6697b
Run wspurify script on /trunk/ and /branches/ C source files, to remove any trailing whitespace at the end of each line.
13 years ago
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.
13 years ago
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.
13 years ago
Dean Camera
057972bd25
Remove unnecessary ErrorCode variable initializations from the LowLevel Host mode demos.
13 years ago
Dean Camera
7f8dbb4908
Convert the LowLevel AndroidAccessory demo to use the new class driver constants to reduce code duplication.
...
Add missing Doxygen documentation.
13 years ago
Dean Camera
8b5aa61601
Add new Android Open Accessory class driver to the library core and add a new Android Open Accessory Host ClassDriver demo.
13 years ago
Dean Camera
d619214854
Update library to indicate support for the Android Accessory Host demo.
13 years ago
Dean Camera
08f448407b
Move out Android Accessory Host demo to the Host mode LowLevel directory now that it is functionally complete.
13 years ago
Dean Camera
e30be658c9
Add missing SVN eol-style property to ensure that source code line endings and converted to the native values on checkout.
13 years ago
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.
13 years ago
Dean Camera
b5682f2c44
Add project name to the Doxygen makefile target output.
13 years ago
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.
13 years ago
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.
14 years ago
Dean Camera
3309c00a99
Minor demo/project documentation and style fixes.
14 years ago
Dean Camera
d9c16402b9
Add missing device deconfiguration-on-error statements to the host mode demos and projects.
14 years ago
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.
14 years ago
Dean Camera
ca9f89ce82
Add new "checksource" target to the library makefiles, for automated source file existance checking.
14 years ago
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.
14 years ago
Dean Camera
0ec2b55a7c
Add missing SVN eol-style properties to source files to prevent mixed end-of-line characters.
14 years ago
Dean Camera
57eedebd19
Fix Doxygen documentation errors.
14 years ago
Dean Camera
6e0a26083a
Fix bugs in the Host mode Audio class driver.
14 years ago
Dean Camera
1191da7b7b
Add missing AS4 and project description files to the new Audio Host demos.
...
Correct errors in the existing Audio demo description files due to the new demo features (variable sampling rate vs. a fixed sampling rate).
14 years ago
Dean Camera
1f1d0710f3
Add new Audio Class Driver Host demos.
...
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.
14 years ago
Dean Camera
2d778a3ff5
Add additional support files for the new low level AudioInputHost and AudioOutputHost demos.
14 years ago
Dean Camera
85f39a58c5
Move completed low level Audio Host demos into the LowLevel folder from the Incomplete folder.
14 years ago
Dean Camera
7dffa15c16
Massive corrections to the project documentation and code comments, thanks to Russian translation services provided by Andrey from Microsin.ru.
14 years ago
Dean Camera
2731c3a8ae
Added new callback to the Audio Class driver to allow for endpoint control 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.
14 years ago
Dean Camera
f01a05415c
Spell check library source code files.
14 years ago
Dean Camera
cc9b190919
Add new USB_Host_SetInterfaceAltSetting() convenience function.
14 years ago
Dean Camera
899df7d331
Renamed all low level Endpoint_Read_*, Endpoint_Write_* and Endpoint_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures.
...
Renamed all low level Pipe_Read_*, Pipe_Write_* and Pipe_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures.
14 years ago
Dean Camera
aba7932a5c
F_CLOCK changed to F_USB to be more descriptive, and applicable on future architecture ports.
14 years ago
Dean Camera
3d4d8e7f62
Add new ARCH option to the makefiles to (eventually) specify the target device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
14 years ago
Dean Camera
43b9d552bb
Renamed all driver termination *_ShutDown() functions to the more logical name *_Disable().
14 years ago
Dean Camera
9051d3beb0
Oops - fix up some calls to the old function names, include Serial Peripheral driver in the RNDISEthernetHost project.
14 years ago
Dean Camera
afd828c095
Removed SerialStream module, rolled functionality into the base USART Serial peripheral driver instead through the new Serial_CreateStream() and Serial_CreateBlockingStream() methods.
...
Renamed the Serial byte send/receive functions to remain consistent with the CDC driver's byte functions.
Altered the serial byte receive function to make it non-blocking.
14 years ago
Dean Camera
f555ad7ced
Altered all endpoint/pipe stream transfers so that the new BytesProcessed parameter now points to a location where the number of bytes in the transfer that have been completed can be stored (or NULL if entire transaction should be performed in one chunk).
...
Added new Endpoint_Null_Stream() and Pipe_Null_stream() functions.
Removed the NO_STREAM_CALLBACKS compile time option due to the new partial stream transfer feature replacing it.
Fixed errors in the incomplete Test and Measurement device demo preventing proper operation (thanks to Pavel Plotnikov).
14 years ago
Dean Camera
1d433d4506
Update copyright year on all source files.
14 years ago
Dean Camera
a8b66f318d
Documentation improvements - put driver example code into its own section, fix incorrect and missing section names.
14 years ago
Dean Camera
99a9e415ef
Loop in the ClassDriver MIDI device/host demos until there are no more incomming events to process. Only clear the endpoint/pipe bank in the LowLevel MIDI device/host demos when the endpoint is empty after an event read.
14 years ago