diff options
author | andypotter <liveboxandy@gmail.com> | 2013-11-19 21:04:43 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2013-11-20 21:20:54 +0100 |
commit | c71e0567d60af8e409ede4034d72e8accf98cb87 (patch) | |
tree | f363f060f4a7c141aecd0c7405d0c8a43bd50173 | |
parent | fb8faa16ea6952889114c10a2631f310777f4135 (diff) | |
download | rockbox-c71e056.tar.gz rockbox-c71e056.zip |
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>
-rw-r--r-- | firmware/export/config/ipodmini1g.h | 9 | ||||
-rw-r--r-- | firmware/target/arm/pp/uart-pp.c | 4 |
2 files changed, 11 insertions, 2 deletions
diff --git a/firmware/export/config/ipodmini1g.h b/firmware/export/config/ipodmini1g.h index 238c3a66d7..3faf6930df 100644 --- a/firmware/export/config/ipodmini1g.h +++ b/firmware/export/config/ipodmini1g.h @@ -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 */ diff --git a/firmware/target/arm/pp/uart-pp.c b/firmware/target/arm/pp/uart-pp.c index 612ffdf77c..069ae596a0 100644 --- a/firmware/target/arm/pp/uart-pp.c +++ b/firmware/target/arm/pp/uart-pp.c @@ -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); |