connect progress signal directly to the logger.
[Rockbox.git] / firmware / export / config-mrobe500.h
blob3b1f7896f55c91167546d081e3161286128adf22
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2007 by Karl Kurbjun
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
21 * This config file is for the M:Robe 500i
23 #define TARGET_TREE /* this target is using the target tree system */
25 #define CONFIG_SDRAM_START 0x00900000
27 #define OLYMPUS_MROBE_500 1
29 /* For Rolo and boot loader */
30 #define MODEL_NUMBER 22
32 /* define this if you use an ATA controller */
33 #define HAVE_ATA
35 /* define this if you have a bitmap LCD display */
36 #define HAVE_LCD_BITMAP
38 /* define this if you have a colour LCD */
39 #define HAVE_LCD_COLOR
41 /* define this if you have access to the quickscreen */
42 #define HAVE_QUICKSCREEN
44 /* define this if you have access to the pitchscreen */
45 #define HAVE_PITCHSCREEN
47 /* define this if you would like tagcache to build on this target */
48 #define HAVE_TAGCACHE
50 /* define this if the target has volume keys which can be used in the lists */
51 #define HAVE_VOLUME_IN_LIST
53 /* LCD dimensions */
54 #define CONFIG_LCD LCD_MROBE500
56 /* choose the lcd orientation. both work */
57 /* #define CONFIG_ORIENTATION SCREEN_PORTRAIT */
58 #define CONFIG_ORIENTATION SCREEN_LANDSCAPE
60 #if CONFIG_ORIENTATION == SCREEN_PORTRAIT
61 #define LCD_WIDTH 480
62 #define LCD_HEIGHT 640
63 #else
64 #define LCD_WIDTH 640
65 #define LCD_HEIGHT 480
66 #endif
68 #define LCD_DEPTH 16 /* 65k colours */
69 #define LCD_PIXELFORMAT RGB565 /* rgb565 */
71 /* Define this if your LCD can be enabled/disabled */
72 //#define HAVE_LCD_ENABLE
74 /* remote LCD */
75 //#define HAVE_REMOTE_LCD
76 #define LCD_REMOTE_WIDTH 79
77 #define LCD_REMOTE_HEIGHT 16
78 #define LCD_REMOTE_DEPTH 1
80 #define LCD_REMOTE_PIXELFORMAT VERTICAL_PACKING
82 #define MIN_REMOTE_CONTRAST_SETTING 0
83 #define MAX_REMOTE_CONTRAST_SETTING 15
84 #define DEFAULT_REMOTE_CONTRAST_SETTING 7
86 #define CONFIG_KEYPAD MROBE500_PAD
87 #define HAVE_TOUCHPAD
88 #define HAVE_BUTTON_DATA
90 /* Define this if you do software codec */
91 #define CONFIG_CODEC SWCODEC
93 /* define this if you have a real-time clock */
94 #define CONFIG_RTC RTC_RX5X348AB
96 /* Define this for LCD backlight available */
97 #define HAVE_BACKLIGHT
99 #define HAVE_BACKLIGHT_BRIGHTNESS
101 /* Main LCD backlight brightness range and defaults */
102 #define MIN_BRIGHTNESS_SETTING 0
103 #define MAX_BRIGHTNESS_SETTING 127
104 #define DEFAULT_BRIGHTNESS_SETTING 85 /* OF "full brightness" */
105 #define DEFAULT_DIMNESS_SETTING 22 /* OF "most dim" */
107 /* Define this if you have a software controlled poweroff */
108 #define HAVE_SW_POWEROFF
110 /* The number of bytes reserved for loadable codecs */
111 #define CODEC_SIZE 0x80000
113 /* The number of bytes reserved for loadable plugins */
114 #define PLUGIN_BUFFER_SIZE 0x100000
116 /* Define this if you have the WM8975 audio codec */
117 //#define HAVE_WM8751
119 /* Define this if you want to use the adaptive bass capibility of the 8751 */
120 /* #define USE_ADAPTIVE_BASS */
122 #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \
123 SAMPR_CAP_11)
125 #define BATTERY_CAPACITY_DEFAULT 1100 /* default battery capacity */
126 #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
127 #define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
128 #define BATTERY_CAPACITY_INC 100 /* capacity increment */
129 #define BATTERY_TYPES_COUNT 1 /* only one type */
131 /* Hardware controlled charging with monitoring */
132 #define CONFIG_CHARGING CHARGING_MONITOR
135 /* Define this if you have a Texas Instruments TSC2100 touch screen */
136 #define HAVE_TSC2100
138 #ifndef SIMULATOR
140 /* Define this if you have a Motorola SCF5249 */
141 #define CONFIG_CPU DM320
143 /* Define this if you want to use coldfire's i2c interface */
144 //#define CONFIG_I2C I2C_S3C2440
146 /* define this if the hardware can be powered off while charging */
147 #define HAVE_POWEROFF_WHILE_CHARGING
149 /* The size of the flash ROM */
150 #define FLASH_SIZE 0x400000
152 /* Define this to the CPU frequency */
153 #define CPU_FREQ 16934400
155 /* Define this if you have ATA power-off control */
156 #define HAVE_ATA_POWER_OFF
158 /* Virtual LED (icon) */
159 #define CONFIG_LED LED_VIRTUAL
161 /* define this if the backlight can be set to a brightness */
162 #define __BACKLIGHT_INIT
164 /* Offset ( in the firmware file's header ) to the file CRC */
165 #define FIRMWARE_OFFSET_FILE_CRC 0
167 /* Offset ( in the firmware file's header ) to the real data */
168 #define FIRMWARE_OFFSET_FILE_DATA 8
170 /* Define this if you have adjustable CPU frequency */
171 /* #define HAVE_ADJUSTABLE_CPU_FREQ */
173 #define BOOTFILE_EXT "mrobe500"
174 #define BOOTFILE "rockbox." BOOTFILE_EXT
175 #define BOOTDIR "/.rockbox"
177 #endif