summaryrefslogtreecommitdiff
path: root/firmware/export/config-ipod3g.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config-ipod3g.h')
-rw-r--r--firmware/export/config-ipod3g.h95
1 files changed, 95 insertions, 0 deletions
diff --git a/firmware/export/config-ipod3g.h b/firmware/export/config-ipod3g.h
new file mode 100644
index 0000000000..0da104d38b
--- /dev/null
+++ b/firmware/export/config-ipod3g.h
@@ -0,0 +1,95 @@
1/*
2 * This config file is for the Apple iPod 3g
3 */
4#define APPLE_IPOD3G 1
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 7
8
9/* define this if you have recording possibility */
10/*#define HAVE_RECORDING 1*/
11
12/* define this if you have a bitmap LCD display */
13#define HAVE_LCD_BITMAP 1
14
15/* LCD dimensions */
16#define LCD_WIDTH 160
17#define LCD_HEIGHT 128
18#define LCD_DEPTH 2 /* 4 colours - 2bpp */
19
20#define CONFIG_KEYPAD IPOD_3G_PAD
21
22/* Define this if you do software codec */
23#define CONFIG_CODEC SWCODEC
24
25/* define this if you have a real-time clock */
26#ifndef BOOTLOADER
27#define CONFIG_RTC RTC_PCF50605
28#endif
29
30/* Define this if you have a software controlled poweroff */
31#define HAVE_SW_POWEROFF
32
33/* The number of bytes reserved for loadable codecs */
34#define CODEC_SIZE 0x80000
35
36/* The number of bytes reserved for loadable plugins */
37#define PLUGIN_BUFFER_SIZE 0x80000
38
39/* Define this if you have the WM8731L audio codec */
40#define HAVE_WM8731L
41
42/* Define this for LCD backlight available */
43#define CONFIG_BACKLIGHT BL_IPOD3G /* port controlled */
44
45#ifndef SIMULATOR
46
47/* Define this if you have a PortalPlayer PP5002 */
48#define CONFIG_CPU PP5002
49
50/* Define this if you want to use the PP5002 i2c interface */
51#define CONFIG_I2C I2C_PP5002
52
53/* Type of mobile power */
54//#define CONFIG_BATTERY BATT_LIPOL1300
55
56#define BATTERY_SCALE_FACTOR 16665 /* FIX: this value is picked at random */
57
58/* Define this if the platform can charge batteries */
59//#define HAVE_CHARGING 1
60
61/* define this if the hardware can be powered off while charging */
62//#define HAVE_POWEROFF_WHILE_CHARGING
63
64/* The start address index for ROM builds */
65#define ROM_START 0x00000000
66
67/* Define this to the CPU frequency */
68#define CPU_FREQ 11289600
69
70#define CONFIG_LCD LCD_IPOD2BPP
71
72/* Offset ( in the firmware file's header ) to the file length */
73#define FIRMWARE_OFFSET_FILE_LENGTH 0
74
75/* Offset ( in the firmware file's header ) to the file CRC */
76#define FIRMWARE_OFFSET_FILE_CRC 0
77
78/* Offset ( in the firmware file's header ) to the real data */
79#define FIRMWARE_OFFSET_FILE_DATA 8
80
81#define USB_IPODSTYLE
82
83/* define this if the unit can be powered or charged via USB */
84#define HAVE_USB_POWER
85
86/* Virtual LED (icon) */
87#define CONFIG_LED LED_VIRTUAL
88
89/* Define this if you have adjustable CPU frequency */
90//#define HAVE_ADJUSTABLE_CPU_FREQ
91
92#define BOOTFILE_EXT "ipod"
93#define BOOTFILE "rockbox." BOOTFILE_EXT
94
95#endif