Auto-detect binary in TTS / encoder setting dialog by searching $PATH. Only linux...
[Rockbox.git] / firmware / export / config-ipodcolor.h
blob728ff46413cf0dddfc3b0a205f7e94279eb4cc33
1 /*
2 * This config file is for the Apple iPod Color/Photo
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 3
11 /* define this if you have recording possibility */
12 #define HAVE_RECORDING
14 /* Define bitmask of input sources - recordable bitmask can be defined
15 explicitly if different */
16 #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN)
18 /* define the bitmask of hardware sample rates */
19 #define HW_SAMPR_CAPS (SAMPR_CAP_44)
21 /* define the bitmask of recording sample rates */
22 #define REC_SAMPR_CAPS (SAMPR_CAP_44)
24 /* define this if you have a bitmap LCD display */
25 #define HAVE_LCD_BITMAP
27 /* define this if you have a colour LCD */
28 #define HAVE_LCD_COLOR
30 /* define this if you have access to the quickscreen */
31 #define HAVE_QUICKSCREEN
32 /* define this if you have access to the pitchscreen */
33 #define HAVE_PITCHSCREEN
35 /* define this if you would like tagcache to build on this target */
36 #define HAVE_TAGCACHE
38 /* LCD dimensions */
39 #define LCD_WIDTH 220
40 #define LCD_HEIGHT 176
41 #define LCD_DEPTH 16 /* 65536 colours */
42 #define LCD_PIXELFORMAT RGB565SWAPPED /* rgb565 byte-swapped */
44 #define CONFIG_KEYPAD IPOD_4G_PAD
46 /* Define this if you do software codec */
47 #define CONFIG_CODEC SWCODEC
49 /* define this if you have a real-time clock */
50 #define CONFIG_RTC RTC_PCF50605
52 /* Define if the device can wake from an RTC alarm */
53 #define HAVE_RTC_ALARM
55 /* Define this if you have a software controlled poweroff */
56 #define HAVE_SW_POWEROFF
58 /* The number of bytes reserved for loadable codecs */
59 #define CODEC_SIZE 0x80000
61 /* The number of bytes reserved for loadable plugins */
62 #define PLUGIN_BUFFER_SIZE 0x80000
64 /* Define this if you have the WM8975 audio codec */
65 #define HAVE_WM8975
67 #define AB_REPEAT_ENABLE 1
68 #define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
70 /* Define this for LCD backlight available */
71 #define HAVE_BACKLIGHT
73 /* Define this if you can detect headphones */
74 #define HAVE_HEADPHONE_DETECTION
76 #define BATTERY_CAPACITY_DEFAULT 700 /* default battery capacity */
77 #define BATTERY_CAPACITY_MIN 700 /* min. capacity selectable */
78 #define BATTERY_CAPACITY_MAX 1000 /* max. capacity selectable */
79 #define BATTERY_CAPACITY_INC 10 /* capacity increment */
80 #define BATTERY_TYPES_COUNT 1 /* only one type */
82 /* Hardware controlled charging? FIXME */
83 //#define CONFIG_CHARGING CHARGING_SIMPLE
85 /* define this if the unit can be powered or charged via USB */
86 #define HAVE_USB_POWER
88 #ifndef SIMULATOR
90 /* Define this if you have a PortalPlayer PP5020 */
91 #define CONFIG_CPU PP5020
93 /* Define this if you want to use the PP5020 i2c interface */
94 #define CONFIG_I2C I2C_PP5020
96 /* define this if the hardware can be powered off while charging */
97 //#define HAVE_POWEROFF_WHILE_CHARGING
99 /* The start address index for ROM builds */
100 #define ROM_START 0x00000000
102 /* The size of the flash ROM */
103 #define FLASH_SIZE 0x100000
105 /* Define this to the CPU frequency */
106 #define CPU_FREQ 11289600
108 #define CONFIG_LCD LCD_IPODCOLOR
110 /* Offset ( in the firmware file's header ) to the file length */
111 #define FIRMWARE_OFFSET_FILE_LENGTH 0
113 /* Offset ( in the firmware file's header ) to the file CRC */
114 #define FIRMWARE_OFFSET_FILE_CRC 0
116 /* Offset ( in the firmware file's header ) to the real data */
117 #define FIRMWARE_OFFSET_FILE_DATA 8
119 #define USB_IPODSTYLE
121 /* USB On-the-go */
122 #define CONFIG_USBOTG USBOTG_ARC
124 /* enable these for the experimental usb stack
125 #define HAVE_USBSTACK
126 #define USBSTACK_CAPS CONTROLLER_DEVICE
129 /* Virtual LED (icon) */
130 #define CONFIG_LED LED_VIRTUAL
132 /* Define this if you have adjustable CPU frequency */
133 #define HAVE_ADJUSTABLE_CPU_FREQ
135 /* Define this if you can read an absolute wheel position */
136 #define HAVE_WHEEL_POSITION
138 #define BOOTFILE_EXT "ipod"
139 #define BOOTFILE "rockbox." BOOTFILE_EXT
140 #define BOOTDIR "/.rockbox"
142 #define ICODE_ATTR_TREMOR_NOT_MDCT
144 #endif