Use different read and write buffer sizes. Due to interaction between common transfer...
[kugel-rb.git] / firmware / export / config-mrobe500.h
blobf9e8d9ebf682720b3bd01b2d70d6aad95002d35a
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2007 by Karl Kurbjun
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
23 * This config file is for the M:Robe 500i
25 #define TARGET_TREE /* this target is using the target tree system */
27 #define CONFIG_SDRAM_START 0x00900000
29 #define OLYMPUS_MROBE_500 1
30 #define MODEL_NAME "Olympus M:Robe 500i"
32 /* For Rolo and boot loader */
33 #define MODEL_NUMBER 22
35 /* define this if you use an ATA controller */
36 #define CONFIG_STORAGE STORAGE_ATA
38 /* define this if you have a bitmap LCD display */
39 #define HAVE_LCD_BITMAP
41 /* define this if you have a colour LCD */
42 #define HAVE_LCD_COLOR
44 /* define this if you want album art for this target */
45 #define HAVE_ALBUMART
47 /* define this to enable bitmap scaling */
48 #define HAVE_BMP_SCALING
50 /* define this to enable JPEG decoding */
51 #define HAVE_JPEG
53 /* define this if you have access to the quickscreen */
54 #define HAVE_QUICKSCREEN
56 /* define this if you have access to the pitchscreen */
57 #define HAVE_PITCHSCREEN
59 /* define this if you would like tagcache to build on this target */
60 #define HAVE_TAGCACHE
62 /* define this if the target has volume keys which can be used in the lists */
63 #define HAVE_VOLUME_IN_LIST
65 /* LCD dimensions */
66 #define CONFIG_LCD LCD_MROBE500
68 #if 0
69 #define LCD_NATIVE_WIDTH 480
70 #define LCD_NATIVE_HEIGHT 640
71 #else
72 #define LCD_NATIVE_WIDTH 240
73 #define LCD_NATIVE_HEIGHT 320
74 #endif
76 /* choose the lcd orientation. CONFIG_ORIENTATION defined in config.h */
77 #if 0
78 #define LCD_WIDTH LCD_NATIVE_WIDTH
79 #define LCD_HEIGHT LCD_NATIVE_HEIGHT
80 #else
81 #define LCD_WIDTH LCD_NATIVE_HEIGHT
82 #define LCD_HEIGHT LCD_NATIVE_WIDTH
83 #endif
85 #define LCD_DEPTH 16 /* 65k colours */
86 #define LCD_PIXELFORMAT RGB565 /* rgb565 */
88 /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
89 should be defined as well. */
90 #define HAVE_LCD_SLEEP
91 #define HAVE_LCD_SLEEP_SETTING
93 /* remote LCD */
94 #define HAVE_REMOTE_LCD
95 #define LCD_REMOTE_WIDTH 79
96 #define LCD_REMOTE_HEIGHT 16
97 #define LCD_REMOTE_DEPTH 1
99 /* Remote display colours, for screenshots and sim (0xRRGGBB) */
100 #define LCD_REMOTE_DARKCOLOR 0x000000
101 #define LCD_REMOTE_BRIGHTCOLOR 0x5a915a
102 #define LCD_REMOTE_BL_DARKCOLOR 0x000000
103 #define LCD_REMOTE_BL_BRIGHTCOLOR 0x82b4fa
105 #define LCD_REMOTE_PIXELFORMAT VERTICAL_PACKING
107 #define CONFIG_REMOTE_KEYPAD MROBE_REMOTE
109 #define MIN_REMOTE_CONTRAST_SETTING 0
110 #define MAX_REMOTE_CONTRAST_SETTING 15
111 #define DEFAULT_REMOTE_CONTRAST_SETTING 7
113 #define CONFIG_KEYPAD MROBE500_PAD
114 #define HAVE_TOUCHSCREEN
115 #define HAVE_BUTTON_DATA
117 /* define this if the target has volume keys which can be used in the lists */
118 #define HAVE_VOLUME_IN_LIST
120 /* Define this if you do software codec */
121 #define CONFIG_CODEC SWCODEC
123 //#define HAVE_HARDWARE_BEEP
125 /* There is no hardware tone control */
126 #define HAVE_SW_TONE_CONTROLS
128 /* define this if you have a real-time clock */
129 #define CONFIG_RTC RTC_RX5X348AB
131 /* define this if you have a disk storage, i.e. something
132 that needs spinups and can cause skips when shaked */
133 #define HAVE_DISK_STORAGE
135 /* Define this for LCD backlight available */
136 #define HAVE_BACKLIGHT
138 #define HAVE_BACKLIGHT_BRIGHTNESS
140 #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING
142 /* Main LCD backlight brightness range and defaults */
143 #define MIN_BRIGHTNESS_SETTING 0
144 #define MAX_BRIGHTNESS_SETTING 127
145 #define DEFAULT_BRIGHTNESS_SETTING 85 /* OF "full brightness" */
146 #define DEFAULT_DIMNESS_SETTING 22 /* OF "most dim" */
148 /* Define this if you have a software controlled poweroff */
149 #define HAVE_SW_POWEROFF
151 /* The number of bytes reserved for loadable codecs */
152 #define CODEC_SIZE 0x100000
154 /* The number of bytes reserved for loadable plugins */
155 #define PLUGIN_BUFFER_SIZE 0x100000
157 #define HW_SAMPR_CAPS SAMPR_CAP_44
159 #define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */
160 #define BATTERY_CAPACITY_MIN 1000 /* min. capacity selectable */
161 #define BATTERY_CAPACITY_MAX 2000 /* max. capacity selectable */
162 #define BATTERY_CAPACITY_INC 100 /* capacity increment */
163 #define BATTERY_TYPES_COUNT 1 /* only one type */
165 /* define current usage levels */
166 #define CURRENT_NORMAL 100 /* Measured */
167 #define CURRENT_BACKLIGHT 100 /* Over 200 mA total measured when on */
168 #define CURRENT_RECORD 0 /* no recording */
170 /* Hardware controlled charging with monitoring */
171 #define CONFIG_CHARGING CHARGING_MONITOR
173 /* Define this if you have a Texas Instruments TSC2100 touch screen */
174 #define HAVE_TSC2100
176 #ifndef SIMULATOR
178 /* Define this if hardware supports alternate blitting */
179 #define HAVE_LCD_MODES LCD_MODE_RGB565 | LCD_MODE_YUV | LCD_MODE_PAL256
181 #define CONFIG_CPU DM320
183 #define CONFIG_I2C I2C_DM320
185 /* define this if the hardware can be powered off while charging */
186 #define HAVE_POWEROFF_WHILE_CHARGING
188 /* The size of the flash ROM */
189 #define FLASH_SIZE 0x400000
191 /* Define this to the CPU frequency */
192 #define CPU_FREQ 87500000
194 /* Define this if you have ATA power-off control */
195 #define HAVE_ATA_POWER_OFF
197 /* Virtual LED (icon) */
198 #define CONFIG_LED LED_VIRTUAL
200 /* define this if the backlight can be set to a brightness */
201 #define __BACKLIGHT_INIT
203 /* Offset ( in the firmware file's header ) to the file CRC */
204 #define FIRMWARE_OFFSET_FILE_CRC 0
206 /* Offset ( in the firmware file's header ) to the real data */
207 #define FIRMWARE_OFFSET_FILE_DATA 8
209 /* Define this if you have adjustable CPU frequency */
210 #define HAVE_ADJUSTABLE_CPU_FREQ
212 #define BOOTFILE_EXT "mrobe500"
213 #define BOOTFILE "rockbox." BOOTFILE_EXT
214 #define BOOTDIR "/.rockbox"
216 #endif