add global proxy / cache settings to httpget class. This removes the need of passing...
[Rockbox.git] / firmware / export / config-ipod3g.h
blobed0a55729912e1ab10aa0c45e469d53cac40ab7a
1 /*
2 * This config file is for the Apple iPod 3g
3 */
5 #define TARGET_TREE /* this target is using the target tree system */
7 #define IPOD_ARCH 1
9 /* For Rolo and boot loader */
10 #define MODEL_NUMBER 7
12 /* define this if you have recording possibility */
13 /*#define HAVE_RECORDING*/
15 /* define this if you have a bitmap LCD display */
16 #define HAVE_LCD_BITMAP
18 /* define this if you want album art for this target */
19 #define HAVE_ALBUMART
21 /* define this if you can invert the colours on your LCD */
22 #define HAVE_LCD_INVERT
24 /* define this if the LCD needs to be shutdown */
25 #define HAVE_LCD_SHUTDOWN
27 /* define this if you have access to the quickscreen */
28 #define HAVE_QUICKSCREEN
29 /* define this if you have access to the pitchscreen */
30 #define HAVE_PITCHSCREEN
32 /* define this if you would like tagcache to build on this target */
33 #define HAVE_TAGCACHE
35 /* LCD dimensions */
36 #define LCD_WIDTH 160
37 #define LCD_HEIGHT 128
38 #define LCD_DEPTH 2 /* 4 colours - 2bpp */
40 #define LCD_PIXELFORMAT HORIZONTAL_PACKING
42 /* define this if you can flip your LCD */
43 #define HAVE_LCD_FLIP
45 #define HAVE_LCD_CONTRAST
47 /* LCD contrast */
48 #define MIN_CONTRAST_SETTING 5
49 #define MAX_CONTRAST_SETTING 63
50 #define DEFAULT_CONTRAST_SETTING 40 /* Match boot contrast */
52 #define CONFIG_KEYPAD IPOD_3G_PAD
54 /* Define this if you do software codec */
55 #define CONFIG_CODEC SWCODEC
57 /* define this if you have a real-time clock */
58 #define CONFIG_RTC RTC_PCF50605
60 /* Define if the device can wake from an RTC alarm */
61 #define HAVE_RTC_ALARM
63 /* Define this if you have a software controlled poweroff */
64 #define HAVE_SW_POWEROFF
66 /* The number of bytes reserved for loadable codecs */
67 #define CODEC_SIZE 0x80000
69 /* The number of bytes reserved for loadable plugins */
70 #define PLUGIN_BUFFER_SIZE 0x80000
72 /* Define this if you have the WM8731L audio codec */
73 #define HAVE_WM8731
75 /* WM8731 has no tone controls, so we use the software ones */
76 #define HAVE_SW_TONE_CONTROLS
78 /* Define this for LCD backlight available */
79 #define HAVE_BACKLIGHT
81 /* Define this if you can detect headphones */
82 #define HAVE_HEADPHONE_DETECTION
84 #define BATTERY_CAPACITY_DEFAULT 630 /* default battery capacity */
85 #define BATTERY_CAPACITY_MIN 630 /* min. capacity selectable */
86 #define BATTERY_CAPACITY_MAX 1200 /* max. capacity selectable */
87 #define BATTERY_CAPACITY_INC 10 /* capacity increment */
88 #define BATTERY_TYPES_COUNT 1 /* only one type */
90 /* Hardware controlled charging? FIXME */
91 //#define CONFIG_CHARGING CHARGING_SIMPLE
93 #ifndef SIMULATOR
95 /* Define this if you have a PortalPlayer PP5002 */
96 #define CONFIG_CPU PP5002
98 /* We're able to shut off power to the HDD */
99 #define HAVE_ATA_POWER_OFF
101 /* Define this if you want to use the PP5002 i2c interface */
102 #define CONFIG_I2C I2C_PP5002
104 /* define this if the hardware can be powered off while charging */
105 //#define HAVE_POWEROFF_WHILE_CHARGING
107 /* The start address index for ROM builds */
108 #define ROM_START 0x00000000
110 /* The size of the flash ROM */
111 #define FLASH_SIZE 0x100000
113 /* Define this to the CPU frequency */
114 #define CPU_FREQ 11289600
116 #define CONFIG_LCD LCD_IPOD2BPP
118 /* Offset ( in the firmware file's header ) to the file length */
119 #define FIRMWARE_OFFSET_FILE_LENGTH 0
121 /* Offset ( in the firmware file's header ) to the file CRC */
122 #define FIRMWARE_OFFSET_FILE_CRC 0
124 /* Offset ( in the firmware file's header ) to the real data */
125 #define FIRMWARE_OFFSET_FILE_DATA 8
127 #define USB_IPODSTYLE
128 /* actually both firewire and USB, USB isn't handled yet */
130 /* Virtual LED (icon) */
131 #define CONFIG_LED LED_VIRTUAL
133 /* Define this if you have adjustable CPU frequency */
134 #define HAVE_ADJUSTABLE_CPU_FREQ
136 #define BOOTFILE_EXT "ipod"
137 #define BOOTFILE "rockbox." BOOTFILE_EXT
138 #define BOOTDIR "/.rockbox"
140 #define ICODE_ATTR_TREMOR_NOT_MDCT
142 #endif /* SIMULATOR */