mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-10 05:32:40 -05:00
Add IAP support to iPod Mini 1G.
Tested on iPod Mini 1G. Change-Id: I67ac9b7ed84c34533107136d0aa72e5ce3bcc5bc Reviewed-on: http://gerrit.rockbox.org/668 Reviewed-by: Frank Gevaerts <frank@gevaerts.be>
This commit is contained in:
parent
fb8faa16ea
commit
c71e0567d6
2 changed files with 11 additions and 2 deletions
|
|
@ -18,6 +18,8 @@
|
|||
/* define this if you have recording possibility */
|
||||
/*#define HAVE_RECORDING*/
|
||||
|
||||
#define INPUT_SRC_CAPS (SRC_CAP_FMRADIO)
|
||||
|
||||
/* define the bitmask of hardware sample rates */
|
||||
#define HW_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
|
||||
SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8)
|
||||
|
|
@ -156,6 +158,10 @@
|
|||
* if USB/MAIN power is discernable and hardware doesn't compel charging */
|
||||
#define HAVE_USB_CHARGING_ENABLE
|
||||
|
||||
/* Define Apple remote tuner */
|
||||
#define CONFIG_TUNER IPOD_REMOTE_TUNER
|
||||
#define HAVE_RDS_CAP
|
||||
|
||||
/* Define this if you have a PortalPlayer PP5020 */
|
||||
#define CONFIG_CPU PP5020
|
||||
|
||||
|
|
@ -209,6 +215,9 @@
|
|||
|
||||
#define ICODE_ATTR_TREMOR_NOT_MDCT
|
||||
|
||||
#define IPOD_ACCESSORY_PROTOCOL
|
||||
#define HAVE_SERIAL
|
||||
|
||||
#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -48,9 +48,9 @@ void serial_setup (void)
|
|||
{
|
||||
int tmp;
|
||||
|
||||
#if defined(IPOD_COLOR) || defined(IPOD_4G) || defined(IPOD_MINI2G)
|
||||
#if defined(IPOD_COLOR) || defined(IPOD_4G) || defined(IPOD_MINI) || defined(IPOD_MINI2G)
|
||||
|
||||
/* Route the Tx/Rx pins. 4G Ipod, ser1, dock connector */
|
||||
/* Route the Tx/Rx pins. 4G Ipod, MINI & MINI2G ser1, dock connector */
|
||||
GPIO_CLEAR_BITWISE(GPIOD_ENABLE, 0x6);
|
||||
GPIO_CLEAR_BITWISE(GPIOD_OUTPUT_EN, 0x6);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue