diff options
-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); |