summaryrefslogtreecommitdiff
path: root/firmware/export/config-ipodmini.h
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-02-21 16:17:15 +0000
committerDave Chapman <dave@dchapman.com>2006-02-21 16:17:15 +0000
commit8b51070f0f30542a13a7787a16fd98f4b28a2b65 (patch)
tree4a364fe8af6319a6109c53b28dad7b1177a46de1 /firmware/export/config-ipodmini.h
parent8b1297a0b683c03f320b502652113633032411a7 (diff)
downloadrockbox-8b51070f0f30542a13a7787a16fd98f4b28a2b65.tar.gz
rockbox-8b51070f0f30542a13a7787a16fd98f4b28a2b65.zip
Forgot to add config file for iPod Mini.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8765 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-ipodmini.h')
-rw-r--r--firmware/export/config-ipodmini.h99
1 files changed, 99 insertions, 0 deletions
diff --git a/firmware/export/config-ipodmini.h b/firmware/export/config-ipodmini.h
new file mode 100644
index 0000000000..1b6ca9088e
--- /dev/null
+++ b/firmware/export/config-ipodmini.h
@@ -0,0 +1,99 @@
1/*
2 * This config file is for the Apple iPod Color/Photo
3 */
4#define APPLE_IPODMINI 1
5
6#define IPOD_ARCH 1
7
8/* For Rolo and boot loader */
9#define MODEL_NUMBER 9 /* TODO: change to 9 */
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