forked from mfulz_github/qmk_firmware
Update library to indicate support for the Android Accessory Host demo.
This commit is contained in:
parent
08f448407b
commit
d619214854
|
@ -93,7 +93,7 @@ void AndroidHost_Task(void)
|
|||
/* Check if data is in the pipe */
|
||||
if (Pipe_IsReadWriteAllowed())
|
||||
{
|
||||
uint8_t NextReceivedByte = Pipe_BytesInPipe();
|
||||
uint8_t NextReceivedByte = Pipe_Read_8();
|
||||
uint8_t LEDMask = LEDS_NO_LEDS;
|
||||
|
||||
if (NextReceivedByte & 0x01)
|
||||
|
|
|
@ -0,0 +1,62 @@
|
|||
/** \file
|
||||
*
|
||||
* This file contains special DoxyGen information for the generation of the main page and other special
|
||||
* documentation pages. It is not a project source file.
|
||||
*/
|
||||
|
||||
/** \mainpage Android Accessory Host Demo
|
||||
*
|
||||
* \section Sec_Compat Demo Compatibility:
|
||||
*
|
||||
* The following list indicates what microcontrollers are compatible with this demo.
|
||||
*
|
||||
* - Series 7 USB AVRs (AT90USBxxx7)
|
||||
*
|
||||
* \section Sec_Info USB Information:
|
||||
*
|
||||
* The following table gives a rundown of the USB utilization of this demo.
|
||||
*
|
||||
* <table>
|
||||
* <tr>
|
||||
* <td><b>USB Mode:</b></td>
|
||||
* <td>Host</td>
|
||||
* </tr>
|
||||
* <tr>
|
||||
* <td><b>USB Class:</b></td>
|
||||
* <td>Android Accessory Host Class</td>
|
||||
* </tr>
|
||||
* <tr>
|
||||
* <td><b>USB Subclass:</b></td>
|
||||
* <td>N/A</td>
|
||||
* </tr>
|
||||
* <tr>
|
||||
* <td><b>Relevant Standards:</b></td>
|
||||
* <td>Android Accessory Host Specification</td>
|
||||
* </tr>
|
||||
* <tr>
|
||||
* <td><b>Usable Speeds:</b></td>
|
||||
* <td>Full Speed Mode</td>
|
||||
* </tr>
|
||||
* </table>
|
||||
*
|
||||
* \section Sec_Description Project Description:
|
||||
*
|
||||
* Android Accessory Host demonstration application. This gives a simple reference
|
||||
* application for implementing an Android Accessory Host device capable of hosting
|
||||
* Android powered mobile devices to send and receive data.
|
||||
*
|
||||
* Sent data from the Android device will be indicated onto the board's LEDs.
|
||||
*
|
||||
* \section Sec_Options Project Options
|
||||
*
|
||||
* The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
|
||||
*
|
||||
* <table>
|
||||
* <tr>
|
||||
* <td>
|
||||
* None
|
||||
* </td>
|
||||
* </tr>
|
||||
* </table>
|
||||
*/
|
||||
|
|
@ -14,6 +14,9 @@
|
|||
# code.
|
||||
|
||||
all:
|
||||
$(MAKE) -C AndroidAccessoryHost clean
|
||||
$(MAKE) -C AndroidAccessoryHost all
|
||||
|
||||
$(MAKE) -C AudioInputHost clean
|
||||
$(MAKE) -C AudioInputHost all
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -11,10 +11,11 @@
|
|||
* - Core:
|
||||
* - Added support for the XMEGA A3BU Xplained board
|
||||
* - Added support for the new B series XMEGA devices
|
||||
* - Added support for version 2 of the Teensy boards (thanks to Christoph Redecker).
|
||||
* - Added support for version 2 of the Teensy boards (thanks to Christoph Redecker)
|
||||
* - Library Applications:
|
||||
* - Added User Application APIs to the CDC and DFU class bootloaders
|
||||
* - Added INVERTED_ISP_MISO compile time option to the AVRISP-MKII clone project (thanks to Chuck Rohs)
|
||||
* - Added new Android Accessory Host demo (thanks to Opendous Inc.)
|
||||
*
|
||||
* <b>Changed:</b>
|
||||
* - Core:
|
||||
|
|
|
@ -40,8 +40,10 @@
|
|||
* -# Add class driver support for Test and Measurement class
|
||||
* -# Add class driver support for EEM class
|
||||
* -# Add class driver support for ECM class
|
||||
* -# Port all demos to multiple architectures
|
||||
* - Ports
|
||||
* -# Complete AVR32 port for existing devices, add UC3C support
|
||||
* -# Finish USB XMEGA port
|
||||
* -# Add AVR32 UC3C support
|
||||
* -# Atmel ARM7 series microcontrollers
|
||||
* -# Other (commercial) C compilers
|
||||
*/
|
||||
|
|
|
@ -79,6 +79,7 @@
|
|||
* - <b>StillImageHost</b> - Still Image Camera host demo, using the library USB Still Image Class driver framework
|
||||
* - <b>VirtualSerialHost</b> - Virtual Serial Port host demo, using the library USB CDC Class driver framework
|
||||
* - <b>LowLevel</b>
|
||||
* - <b>AndroidAccessoryHost</b> - Android Accessory host demo, using the low level LUFA APIs to implement the Android Accessory Host class
|
||||
* - <b>AudioInputHost</b> - Audio Input host demo, using the low level LUFA APIs to implement the USB Audio class
|
||||
* - <b>AudioOutputHost</b> - Audio Output host demo, using the low level LUFA APIs to implement the USB Audio class
|
||||
* - <b>GenericHIDHost</b> - Generic HID host demo, using the low level LUFA APIs to implement the USB HID class
|
||||
|
|
Loading…
Reference in New Issue