diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-03-30 17:29:21 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-03-30 17:29:21 +0000 |
commit | d3feb78e4053d287755a4f8404c3a9ce1a491e93 (patch) | |
tree | b68592c039f004e2eabf41e89efece89030cc58b /firmware/export/config-ipodmini2g.h | |
parent | 1ccc81bf8f4382e56f0f0ae0779381fb5d4a88c4 (diff) | |
download | rockbox-d3feb78e4053d287755a4f8404c3a9ce1a491e93.tar.gz rockbox-d3feb78e4053d287755a4f8404c3a9ce1a491e93.zip |
Initial support for iPod mini 2G: Rockbox boots, LCD driver is working. No sound, no buttons, and hangs at the boot screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9363 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-ipodmini2g.h')
-rwxr-xr-x | firmware/export/config-ipodmini2g.h | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/firmware/export/config-ipodmini2g.h b/firmware/export/config-ipodmini2g.h new file mode 100755 index 0000000000..60d812f8d7 --- /dev/null +++ b/firmware/export/config-ipodmini2g.h | |||
@@ -0,0 +1,99 @@ | |||
1 | /* | ||
2 | * This config file is for the Apple iPod Mini 2nd Gen | ||
3 | */ | ||
4 | #define APPLE_IPODMINI 1 | ||
5 | |||
6 | #define IPOD_ARCH 1 | ||
7 | |||
8 | /* For Rolo and boot loader */ | ||
9 | #define MODEL_NUMBER 11 | ||
10 | |||
11 | /* define this if you have recording possibility */ | ||
12 | /*#define HAVE_RECORDING 1*/ | ||
13 | |||
14 | /* define this if you have a bitmap LCD display */ | ||
15 | #define HAVE_LCD_BITMAP 1 | ||
16 | |||
17 | /* LCD dimensions */ | ||
18 | #define LCD_WIDTH 138 | ||
19 | #define LCD_HEIGHT 110 | ||
20 | #define LCD_DEPTH 2 /* 4 colours - 2bpp */ | ||
21 | |||
22 | #define LCD_PIXELFORMAT HORIZONTAL_PACKING | ||
23 | |||
24 | #define CONFIG_KEYPAD IPOD_4G_PAD | ||
25 | |||
26 | /* Define this if you do software codec */ | ||
27 | #define CONFIG_CODEC SWCODEC | ||
28 | |||
29 | /* define this if you have a real-time clock */ | ||
30 | #ifndef BOOTLOADER | ||
31 | #define CONFIG_RTC RTC_PCF50605 | ||
32 | #endif | ||
33 | |||
34 | /* Define this if you have a software controlled poweroff */ | ||
35 | #define HAVE_SW_POWEROFF | ||
36 | |||
37 | /* The number of bytes reserved for loadable codecs */ | ||
38 | #define CODEC_SIZE 0x80000 | ||
39 | |||
40 | /* The number of bytes reserved for loadable plugins */ | ||
41 | #define PLUGIN_BUFFER_SIZE 0x80000 | ||
42 | |||
43 | /* Define this if you have the WM8975 audio codec */ | ||
44 | #define HAVE_WM8975 | ||
45 | |||
46 | /* Define this for LCD backlight available */ | ||
47 | #define CONFIG_BACKLIGHT BL_IPODMINI /* port controlled */ | ||
48 | |||
49 | #ifndef SIMULATOR | ||
50 | |||
51 | /* Define this if you have a PortalPlayer PP5020 */ | ||
52 | #define CONFIG_CPU PP5020 | ||
53 | |||
54 | /* Define this if you want to use the PP5020 i2c interface */ | ||
55 | #define CONFIG_I2C I2C_PP5020 | ||
56 | |||
57 | /* Type of mobile power */ | ||
58 | //#define CONFIG_BATTERY BATT_LIPOL1300 | ||
59 | |||
60 | #define BATTERY_SCALE_FACTOR 16665 /* FIX: this value is picked at random */ | ||
61 | |||
62 | /* Define this if the platform can charge batteries */ | ||
63 | //#define HAVE_CHARGING 1 | ||
64 | |||
65 | /* define this if the hardware can be powered off while charging */ | ||
66 | //#define HAVE_POWEROFF_WHILE_CHARGING | ||
67 | |||
68 | /* The start address index for ROM builds */ | ||
69 | #define ROM_START 0x00000000 | ||
70 | |||
71 | /* Define this to the CPU frequency */ | ||
72 | #define CPU_FREQ 11289600 | ||
73 | |||
74 | #define CONFIG_LCD LCD_IPOD2BPP | ||
75 | |||
76 | /* Offset ( in the firmware file's header ) to the file length */ | ||
77 | #define FIRMWARE_OFFSET_FILE_LENGTH 0 | ||
78 | |||
79 | /* Offset ( in the firmware file's header ) to the file CRC */ | ||
80 | #define FIRMWARE_OFFSET_FILE_CRC 0 | ||
81 | |||
82 | /* Offset ( in the firmware file's header ) to the real data */ | ||
83 | #define FIRMWARE_OFFSET_FILE_DATA 8 | ||
84 | |||
85 | #define USB_IPODSTYLE | ||
86 | |||
87 | /* define this if the unit can be powered or charged via USB */ | ||
88 | #define HAVE_USB_POWER | ||
89 | |||
90 | /* Virtual LED (icon) */ | ||
91 | #define CONFIG_LED LED_VIRTUAL | ||
92 | |||
93 | /* Define this if you have adjustable CPU frequency */ | ||
94 | //#define HAVE_ADJUSTABLE_CPU_FREQ | ||
95 | |||
96 | #define BOOTFILE_EXT "ipod" | ||
97 | #define BOOTFILE "rockbox." BOOTFILE_EXT | ||
98 | |||
99 | #endif | ||