iPod Classic: implement IPOD_ACCESSORY_PROTOCOL

Change-Id: I0f0950c42ae5bf5c5b4c2c2f097f8c68a92ba4dd
This commit is contained in:
Cástor Muñoz 2014-12-06 23:13:44 +01:00
parent 38ae0d53e8
commit efd047a08b
3 changed files with 116 additions and 4 deletions

View file

@ -247,10 +247,14 @@
#define USB_NUM_ENDPOINTS 6
#define USB_DEVBSS_ATTR __attribute__((aligned(16)))
#define HAVE_SERIAL
/* Disable iAP when LOGF_SERIAL is enabled to avoid conflicts */
#ifndef LOGF_SERIAL
#define IPOD_ACCESSORY_PROTOCOL
#endif
/* Define this if you can switch on/off the accessory power supply */
#define HAVE_ACCESSORY_SUPPLY
//#define IPOD_ACCESSORY_PROTOCOL
#define HAVE_SERIAL
/* Define this, if you can switch on/off the lineout */
#define HAVE_LINEOUT_POWEROFF