The install window doesn't need to be wider than the other ones.
[Rockbox.git] / firmware / export / config-ipod1g2g.h
blobd51a7437ec967a830ee1e55619e0d0d9f8af78df
1 /*
2 * This config file is for the Apple iPod 1g and 2g
3 */
4 #define TARGET_TREE /* this target is using the target tree system */
6 #define IPOD_ARCH 1
8 /* For Rolo and boot loader */
9 #define MODEL_NUMBER 19
11 /* define this if you have recording possibility */
12 /*#define HAVE_RECORDING*/
14 /* define this if you have a bitmap LCD display */
15 #define HAVE_LCD_BITMAP
17 /* define this if you can invert the colours on your LCD */
18 #define HAVE_LCD_INVERT
20 /* define this if you have access to the quickscreen */
21 #define HAVE_QUICKSCREEN
22 /* define this if you have access to the pitchscreen */
23 #define HAVE_PITCHSCREEN
25 /* define this if you would like tagcache to build on this target */
26 #define HAVE_TAGCACHE
28 /* LCD dimensions */
29 #define LCD_WIDTH 160
30 #define LCD_HEIGHT 128
31 #define LCD_DEPTH 2 /* 4 colours - 2bpp */
33 #define LCD_PIXELFORMAT HORIZONTAL_PACKING
35 /* define this if you can flip your LCD */
36 #define HAVE_LCD_FLIP
38 /* LCD contrast */
39 #define MIN_CONTRAST_SETTING 5
40 #define MAX_CONTRAST_SETTING 63
41 #define DEFAULT_CONTRAST_SETTING 30 /* Match boot contrast */
43 #define CONFIG_KEYPAD IPOD_1G2G_PAD
45 /* Define this if you do software codec */
46 #define CONFIG_CODEC SWCODEC
48 /* Define this if you have a software controlled poweroff */
49 #define HAVE_SW_POWEROFF
51 /* The number of bytes reserved for loadable codecs */
52 #define CODEC_SIZE 0x80000
54 /* The number of bytes reserved for loadable plugins */
55 #define PLUGIN_BUFFER_SIZE 0x80000
57 /* Define this if you have the WM8731L audio codec */
58 #define HAVE_WM8721
60 /* WM8721 has no tone controls, so we use the software ones */
61 #define HAVE_SW_TONE_CONTROLS
63 /* Define this for LCD backlight available */
64 #define HAVE_BACKLIGHT
66 /* Define this if the backlight unverts LCD appearance */
67 #define HAVE_BACKLIGHT_INVERSION
69 /* Define this if you can detect headphones */
70 #define HAVE_HEADPHONE_DETECTION
72 #define BATTERY_CAPACITY_DEFAULT 630 /* default battery capacity */
73 #define BATTERY_CAPACITY_MIN 1200 /* min. capacity selectable */
74 #define BATTERY_CAPACITY_MAX 1900 /* max. capacity selectable */
75 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
76 #define BATTERY_TYPES_COUNT 1 /* only one type */
78 /* Hardware controlled charging? FIXME */
79 //#define CONFIG_CHARGING CHARGING_SIMPLE
81 #ifndef SIMULATOR
83 /* Define this if you have a PortalPlayer PP5002 */
84 #define CONFIG_CPU PP5002
86 /* We're able to shut off power to the HDD */
87 #define HAVE_ATA_POWER_OFF
89 /* Define this if you want to use the PP5002 i2c interface */
90 #define CONFIG_I2C I2C_PP5002
92 /* define this if the hardware can be powered off while charging */
93 //#define HAVE_POWEROFF_WHILE_CHARGING
95 /* The start address index for ROM builds */
96 #define ROM_START 0x00000000
98 /* The size of the flash ROM */
99 #define FLASH_SIZE 0x100000
101 /* Define this to the CPU frequency */
102 #define CPU_FREQ 11289600
104 #define CONFIG_LCD LCD_IPOD2BPP
106 /* Offset ( in the firmware file's header ) to the file length */
107 #define FIRMWARE_OFFSET_FILE_LENGTH 0
109 /* Offset ( in the firmware file's header ) to the file CRC */
110 #define FIRMWARE_OFFSET_FILE_CRC 0
112 /* Offset ( in the firmware file's header ) to the real data */
113 #define FIRMWARE_OFFSET_FILE_DATA 8
115 #define USB_IPODSTYLE
116 /* actually firewire only, but handled like USB */
118 /* Virtual LED (icon) */
119 #define CONFIG_LED LED_VIRTUAL
121 /* Define this if you have adjustable CPU frequency */
122 #define HAVE_ADJUSTABLE_CPU_FREQ
124 #define BOOTFILE_EXT "ipod"
125 #define BOOTFILE "rockbox." BOOTFILE_EXT
126 #define BOOTDIR "/.rockbox"
128 #define ICODE_ATTR_TREMOR_NOT_MDCT
130 #endif /* SIMULATOR */