diff options
Diffstat (limited to 'firmware')
-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 @@ | |||
18 | /* define this if you have recording possibility */ | 18 | /* define this if you have recording possibility */ |
19 | /*#define HAVE_RECORDING*/ | 19 | /*#define HAVE_RECORDING*/ |
20 | 20 | ||
21 | #define INPUT_SRC_CAPS (SRC_CAP_FMRADIO) | ||
22 | |||
21 | /* define the bitmask of hardware sample rates */ | 23 | /* define the bitmask of hardware sample rates */ |
22 | #define HW_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \ | 24 | #define HW_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \ |
23 | SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8) | 25 | SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8) |
@@ -156,6 +158,10 @@ | |||
156 | * if USB/MAIN power is discernable and hardware doesn't compel charging */ | 158 | * if USB/MAIN power is discernable and hardware doesn't compel charging */ |
157 | #define HAVE_USB_CHARGING_ENABLE | 159 | #define HAVE_USB_CHARGING_ENABLE |
158 | 160 | ||
161 | /* Define Apple remote tuner */ | ||
162 | #define CONFIG_TUNER IPOD_REMOTE_TUNER | ||
163 | #define HAVE_RDS_CAP | ||
164 | |||
159 | /* Define this if you have a PortalPlayer PP5020 */ | 165 | /* Define this if you have a PortalPlayer PP5020 */ |
160 | #define CONFIG_CPU PP5020 | 166 | #define CONFIG_CPU PP5020 |
161 | 167 | ||
@@ -209,6 +215,9 @@ | |||
209 | 215 | ||
210 | #define ICODE_ATTR_TREMOR_NOT_MDCT | 216 | #define ICODE_ATTR_TREMOR_NOT_MDCT |
211 | 217 | ||
218 | #define IPOD_ACCESSORY_PROTOCOL | ||
219 | #define HAVE_SERIAL | ||
220 | |||
212 | #define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */ | 221 | #define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */ |
213 | 222 | ||
214 | 223 | ||
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) | |||
48 | { | 48 | { |
49 | int tmp; | 49 | int tmp; |
50 | 50 | ||
51 | #if defined(IPOD_COLOR) || defined(IPOD_4G) || defined(IPOD_MINI2G) | 51 | #if defined(IPOD_COLOR) || defined(IPOD_4G) || defined(IPOD_MINI) || defined(IPOD_MINI2G) |
52 | 52 | ||
53 | /* Route the Tx/Rx pins. 4G Ipod, ser1, dock connector */ | 53 | /* Route the Tx/Rx pins. 4G Ipod, MINI & MINI2G ser1, dock connector */ |
54 | GPIO_CLEAR_BITWISE(GPIOD_ENABLE, 0x6); | 54 | GPIO_CLEAR_BITWISE(GPIOD_ENABLE, 0x6); |
55 | GPIO_CLEAR_BITWISE(GPIOD_OUTPUT_EN, 0x6); | 55 | GPIO_CLEAR_BITWISE(GPIOD_OUTPUT_EN, 0x6); |
56 | 56 | ||