Enable recording on clipv1/m200v4/c200v2
[kugel-rb.git] / firmware / export / config / mpiohd200.h
blob369f443cb223a6327be9142e85f24d1bb2d9ff44
1 /*
2 * This config file is for MPIO HD200
3 */
4 #define TARGET_TREE /* this target is using the target tree system */
6 /* For Rolo and boot loader */
7 #define MODEL_NUMBER 69
9 #define MODEL_NAME "MPIO HD200"
11 /* define this if you use an ATA controller */
12 #define CONFIG_STORAGE STORAGE_ATA
13 #define HAVE_LBA48
15 /* define this if you have recording possibility */
16 /* not implemented yet
17 * #define HAVE_RECORDING
21 /* Define bitmask of input sources - recordable bitmask can be defined
22 * explicitly if different
23 * not implemented yet
26 #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO)
29 /* define the bitmask of hardware sample rates */
30 #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
32 /* define the bitmask of recording sample rates
33 * not implemented yet
34 *#define REC_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
37 /* define this if you have a bitmap LCD display */
38 #define HAVE_LCD_BITMAP
40 /* define this if you want album art for this target */
41 #define HAVE_ALBUMART
43 /* define this to enable bitmap scaling */
44 #define HAVE_BMP_SCALING
46 /* define this to enable JPEG decoding */
47 #define HAVE_JPEG
49 /* define this if you can flip your LCD */
50 #define HAVE_LCD_FLIP
52 /* define this if you can invert the colours on your LCD */
53 #define HAVE_LCD_INVERT
55 /* define this if you have access to the quickscreen */
56 #define HAVE_QUICKSCREEN
58 /* define this if you have access to the pitchscreen */
59 #define HAVE_PITCHSCREEN
61 /* define this if you would like tagcache to build on this target */
62 #define HAVE_TAGCACHE
64 /* LCD dimensions */
65 #define LCD_WIDTH 128
66 #define LCD_HEIGHT 128
67 #define LCD_DEPTH 2
69 #define LCD_PIXELFORMAT VERTICAL_INTERLEAVED
71 /* Display colours, for screenshots and sim (0xRRGGBB) */
72 #define LCD_DARKCOLOR 0x000000
73 #define LCD_BRIGHTCOLOR 0x5a915a
74 #define LCD_BL_DARKCOLOR 0x000000
75 #define LCD_BL_BRIGHTCOLOR 0x82b4fa
77 #define CONFIG_KEYPAD MPIO_HD200_PAD
79 #define AB_REPEAT_ENABLE 1
80 #define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
82 /* Define this if you do software codec */
83 #define CONFIG_CODEC SWCODEC
85 #define CONFIG_LCD LCD_TL0350A
86 #define HAVE_LCD_SHUTDOWN
88 /* Define this for LCD backlight available */
89 #define HAVE_BACKLIGHT
90 #define HAVE_BACKLIGHT_BRIGHTNESS
91 #define MIN_BRIGHTNESS_SETTING 0
92 #define MAX_BRIGHTNESS_SETTING 31
93 #define DEFAULT_BRIGHTNESS_SETTING 20
96 /* define this if you have a disk storage, i.e. something
97 that needs spinups and can cause skips when shaked */
98 #define HAVE_DISK_STORAGE
100 /* Define this if you have a software controlled poweroff */
101 #define HAVE_SW_POWEROFF
103 /* The number of bytes reserved for loadable codecs */
104 #define CODEC_SIZE 0x100000
106 /* The number of bytes reserved for loadable plugins */
107 #define PLUGIN_BUFFER_SIZE 0x80000
109 /* FM Tuner
110 * turn off for now
112 #define CONFIG_TUNER TEA5767
113 #define CONFIG_TUNER_XTAL 32768
116 /* we have WM8750 codec in I2S slave mode */
117 #define HAVE_WM8750
118 #define CODEC_SLAVE
120 #define BATTERY_CAPACITY_DEFAULT 950 /* default battery capacity */
121 #define BATTERY_CAPACITY_MIN 950 /* min. capacity selectable */
122 #define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */
123 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
124 #define BATTERY_TYPES_COUNT 1 /* only one type */
126 #define CONFIG_CHARGING CHARGING_MONITOR
128 /* define current usage levels */
129 /* additional current when remote connected */
131 #define CURRENT_REMOTE 8
133 #ifndef SIMULATOR
135 /* Define this if your LCD can set contrast */
136 #define HAVE_LCD_CONTRAST
138 /* Define this if you have a Motorola SCF5249 */
139 #define CONFIG_CPU MCF5249
141 /* Define this if you want to use coldfire's i2c interface */
142 #define CONFIG_I2C I2C_COLDFIRE
144 /* OF resets device instead of poweroff while charging
145 * this triggers bootloader code which takes care of charging.
146 * I have feeling that powering off while charging may cause
147 * partition table corruption I am experiencing from time to time
150 /* define this if the hardware can be powered off while charging */
151 /* #define HAVE_POWEROFF_WHILE_CHARGING */
153 /* The size of the flash ROM */
154 #define FLASH_SIZE 0x200000
156 /* Define this to the CPU frequency */
157 #define CPU_FREQ 11289600
159 /* Define this if you have ATA power-off control */
160 #define HAVE_ATA_POWER_OFF
162 /* Offset ( in the firmware file's header ) to the file length */
163 #define FIRMWARE_OFFSET_FILE_LENGTH 0
165 /* Offset ( in the firmware file's header ) to the file CRC */
166 #define FIRMWARE_OFFSET_FILE_CRC 0
168 /* Offset ( in the firmware file's header ) to the real data */
169 #define FIRMWARE_OFFSET_FILE_DATA 8
171 /* Define this if you have adjustable CPU frequency */
172 #define HAVE_ADJUSTABLE_CPU_FREQ
174 #define BOOTFILE_EXT "mpio"
175 #define BOOTFILE "rockbox." BOOTFILE_EXT
176 #define BOOTDIR "/.rockbox"
178 #define BOOTLOADER_ENTRYPOINT 0x001F0000
179 #define FLASH_ENTRYPOINT 0x00001000
180 #define FLASH_MAGIC 0xfbfbfbf1
182 #endif /* SIMULATOR */
184 /** Port-specific settings **/
186 /* Main LCD contrast range and defaults taken from OF*/
187 #define MIN_CONTRAST_SETTING 24
188 #define MAX_CONTRAST_SETTING 63
189 #define DEFAULT_CONTRAST_SETTING 27 /* 0x1B */
191 #define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */