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
bcb627e1a1
Add missing doxygen group terminator to the new CompilerSpecific.h header file.
2011-07-07 07:38:22 +00:00
Dean Camera
4e601207a7
Tighten up the implementations of the USB_Device_SetDeviceAddress(), USB_Controller_Reset() and USB_PLL_On() functions for the AVR8 devices.
...
Minor corrections to the documentation of the USB_Control_Request_t enum.
2011-07-06 02:50:08 +00:00
Dean Camera
87b57522b2
Fix improper indenting of the internal board driver dispatch headers.
...
Slight improvements to the ADC peripheral driver example in the manual.
2011-07-06 02:12:09 +00:00
Dean Camera
bfa22eca26
Split out compiler specific helper macros into a new CompilerSpecific.h header file inside the library, for future expansion.
2011-07-06 02:11:13 +00:00
Dean Camera
7932ce86bd
Add the GCC -fno-split-wide-types compile time option to some of the larger user projects to reduce the compiled application size.
2011-07-06 02:10:01 +00:00
Dean Camera
9ea22ebf41
Fix HID_Host_SetIdlePeriod() function to send the correct request type to the device, remove reference to unavailable (and not needed) local variable.
2011-07-05 00:28:35 +00:00
Dean Camera
5b06886dab
Add missing function parameter to the new HID_Host_SetIdlePeriod() function.
2011-07-04 09:22:40 +00:00
Dean Camera
258381e760
Add missing function parameter to the new HID_Host_SetIdlePeriod() function.
2011-07-04 09:22:02 +00:00
Dean Camera
a09e1cb53b
Switch the HTTP Webserver project to use the safer strlcpy() instead of strncpy() to save on manual null-termination.
2011-07-04 09:19:37 +00:00
Dean Camera
61861c548e
Added new HID_Host_SetIdlePeriod() function to the HID Host Class driver.
2011-07-04 09:18:50 +00:00
Dean Camera
b775995867
Oops: Fix compile error in the low level KeyboardMouse demo.
2011-07-02 08:40:52 +00:00
Dean Camera
08eeceeb5f
Remove custom CDC class descriptor definitions from the CDC bootloader, and switch it to use the CDC Class Driver descriptor definitions.
2011-07-01 05:30:29 +00:00
Dean Camera
04660d3793
Seperate out the device demos and project's configuration descriptor structure definitions to clearly indicate what descriptors belong to which interface.
2011-07-01 05:26:25 +00:00
Dean Camera
b162540099
Minor documentation fix for the RelayBoard project.
2011-06-30 12:27:01 +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
c6a7a028bd
Merge over core library changes from the MultiArchDemos branch.
2011-06-29 05:57:29 +00:00
Dean Camera
75da0d1877
Update AudioInput and AudioOutput Class Driver device mode demos to use a switch statement when selecting the audio request type for clarity.
2011-06-29 05:36:26 +00:00
Dean Camera
8c3d421a01
Added board hardware driver support for the EVK1104 board.
...
Fix inverted LEDs_GetLEDs() result for the EVK1100 and EVK1101 boards.
2011-06-27 13:41:06 +00:00
Dean Camera
8cc3fd56d9
Add board driver support for the EVK1100 board.
2011-06-27 13:22: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
84ddf237db
Oops - Mouse ClassDriver multi-arch demo changes were applied to trunk, rather than the correct branch.
2011-06-20 15:06:17 +00:00
Dean Camera
3bd36f811c
Update Mouse demo to support the UC3 devices in the MultiArchDemos branch.
2011-06-20 14:46:09 +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
5d7827a573
Minor internal macro renaming for the UC3 devices.
2011-06-20 13:08:27 +00:00
Dean Camera
d784baaa3a
Fixed compile error when FIXED_CONTROL_ENDPOINT_SIZE compile time option was disabled, and a USE_*_DESCRIPTORS compile time option was not enabled on the AVR8s.
...
Add C++ compatibility to some header files currently missing extern "C" linkage.
2011-06-20 04:32:34 +00:00
Dean Camera
dab7e06a4a
Split HIDReportViewer project sub-components into seperate functions for readability/convenience.
2011-06-20 02:36:52 +00:00
Dean Camera
ea3b5c7423
More cosmetic data output changes to the HIDReportViewer project.
2011-06-20 02:22:34 +00:00
Dean Camera
91bc546be0
Make HIDReportViewer project show the IN, OUT and DATA report sizes as both bits and (rounded) bytes.
2011-06-20 02:08:52 +00:00
Dean Camera
bb0b761c65
Make the HID Report Parser Get/Set Report Item routines fail if a NULL pointer to a report item is given.
...
Minor visual enhancement to the HIDReportViewer project.
2011-06-20 01:57:22 +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
5e0c807708
Fix incorrect printf format specifier in the HIDReportViewer project.
2011-06-20 01:33:42 +00:00
Dean Camera
a7dd984446
Code style fixes for the Device mode USB Audio Class driver to make it more in line with the style of the other library Device Class drivers.
2011-06-19 04:48:49 +00:00
Dean Camera
2e6370a6b9
Add missing project files for the new HIDReportViewer project to upgrade its status to a finished (working) project.
2011-06-19 04:47:53 +00:00
Dean Camera
5ee8068f2c
Move the HIDReportViewer project into the normal Projects/ folder and out of the Incomplete/ projects folder.
2011-06-19 04:32:58 +00:00
Dean Camera
6e0adb9872
Switch to using the standard printf() format specifiers in the HIDReportViewer project.
2011-06-19 04:29:03 +00:00
Dean Camera
bad956bace
Fix TWI driver documentation example (thanks to Jerome Colombie).
2011-06-18 08:04:25 +00:00
Dean Camera
00acc95ff6
Add new incomplete HIDReportViewer project.
2011-06-16 13:37:45 +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
f10126a95e
Added new \ref SPI_GetCurrentMode() function to the SPI peripheral driver.
2011-06-16 07:23:37 +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
Dean Camera
21a012a018
Add macro guards to the templated C files to prevent compile errors if they are mistakenly compiled as regular source files in a LUFA project.
2011-06-14 12:54:46 +00:00
Dean Camera
f1cfd7ea7d
Rename Audio Host Class driver internal descriptor matching routines to be in line with the rest of the class driver function names.
2011-06-14 12:44:41 +00:00
Dean Camera
deaab90089
Ensure that only the requested Audio class pipes are mapped to endpoints within the device for a specific Audio Host Class driver instance.
...
Fix const-correctness of the Audio Host Class driver.
2011-06-13 00:19:40 +00:00
Dean Camera
6e0a26083a
Fix bugs in the Host mode Audio class driver.
2011-06-12 13:59:03 +00:00
Dean Camera
6e2a3174a5
Fix errors in the library Host mode Audio Class driver.
2011-06-09 08:00:19 +00:00