Updated our source code header to explicitly mention that we are GPL v2 or
[Rockbox.git] / firmware / export / config-mrobe500.h
blobd7e172b50f3e967b3a5555b6da6093f850cd40a6
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
31 /* For Rolo and boot loader */
32 #define MODEL_NUMBER 22
34 /* define this if you use an ATA controller */
35 #define HAVE_ATA
37 /* define this if you have a bitmap LCD display */
38 #define HAVE_LCD_BITMAP
40 /* define this if you have a colour LCD */
41 #define HAVE_LCD_COLOR
43 /* define this if you have access to the quickscreen */
44 #define HAVE_QUICKSCREEN
46 /* define this if you have access to the pitchscreen */
47 #define HAVE_PITCHSCREEN
49 /* define this if you would like tagcache to build on this target */
50 #define HAVE_TAGCACHE
52 /* define this if the target has volume keys which can be used in the lists */
53 #define HAVE_VOLUME_IN_LIST
55 /* LCD dimensions */
56 #define CONFIG_LCD LCD_MROBE500
58 /* choose the lcd orientation. both work */
59 /* #define CONFIG_ORIENTATION SCREEN_PORTRAIT */
60 #define CONFIG_ORIENTATION SCREEN_LANDSCAPE
62 #if CONFIG_ORIENTATION == SCREEN_PORTRAIT
63 #define LCD_WIDTH 480
64 #define LCD_HEIGHT 640
65 #else
66 #define LCD_WIDTH 640
67 #define LCD_HEIGHT 480
68 #endif
70 #define LCD_DEPTH 16 /* 65k colours */
71 #define LCD_PIXELFORMAT RGB565 /* rgb565 */
73 /* Define this if your LCD can be enabled/disabled */
74 //#define HAVE_LCD_ENABLE
76 /* remote LCD */
77 //#define HAVE_REMOTE_LCD
78 #define LCD_REMOTE_WIDTH 79
79 #define LCD_REMOTE_HEIGHT 16
80 #define LCD_REMOTE_DEPTH 1
82 #define LCD_REMOTE_PIXELFORMAT VERTICAL_PACKING
84 #define MIN_REMOTE_CONTRAST_SETTING 0
85 #define MAX_REMOTE_CONTRAST_SETTING 15
86 #define DEFAULT_REMOTE_CONTRAST_SETTING 7
88 #define CONFIG_KEYPAD MROBE500_PAD
89 #define HAVE_TOUCHPAD
90 #define HAVE_BUTTON_DATA
92 /* Define this if you do software codec */
93 #define CONFIG_CODEC SWCODEC
95 /* define this if you have a real-time clock */
96 #define CONFIG_RTC RTC_RX5X348AB
98 /* Define this for LCD backlight available */
99 #define HAVE_BACKLIGHT
101 #define HAVE_BACKLIGHT_BRIGHTNESS
103 /* Main LCD backlight brightness range and defaults */
104 #define MIN_BRIGHTNESS_SETTING 0
105 #define MAX_BRIGHTNESS_SETTING 127
106 #define DEFAULT_BRIGHTNESS_SETTING 85 /* OF "full brightness" */
107 #define DEFAULT_DIMNESS_SETTING 22 /* OF "most dim" */
109 /* Define this if you have a software controlled poweroff */
110 #define HAVE_SW_POWEROFF
112 /* The number of bytes reserved for loadable codecs */
113 #define CODEC_SIZE 0x80000
115 /* The number of bytes reserved for loadable plugins */
116 #define PLUGIN_BUFFER_SIZE 0x100000
118 /* Define this if you have the WM8975 audio codec */
119 //#define HAVE_WM8751
121 /* Define this if you want to use the adaptive bass capibility of the 8751 */
122 /* #define USE_ADAPTIVE_BASS */
124 #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \
125 SAMPR_CAP_11)
127 #define BATTERY_CAPACITY_DEFAULT 1100 /* default battery capacity */
128 #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
129 #define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
130 #define BATTERY_CAPACITY_INC 100 /* capacity increment */
131 #define BATTERY_TYPES_COUNT 1 /* only one type */
133 /* Hardware controlled charging with monitoring */
134 #define CONFIG_CHARGING CHARGING_MONITOR
137 /* Define this if you have a Texas Instruments TSC2100 touch screen */
138 #define HAVE_TSC2100
140 #ifndef SIMULATOR
142 /* Define this if you have a Motorola SCF5249 */
143 #define CONFIG_CPU DM320
145 /* Define this if you want to use coldfire's i2c interface */
146 //#define CONFIG_I2C I2C_S3C2440
148 /* define this if the hardware can be powered off while charging */
149 #define HAVE_POWEROFF_WHILE_CHARGING
151 /* The size of the flash ROM */
152 #define FLASH_SIZE 0x400000
154 /* Define this to the CPU frequency */
155 #define CPU_FREQ 16934400
157 /* Define this if you have ATA power-off control */
158 #define HAVE_ATA_POWER_OFF
160 /* Virtual LED (icon) */
161 #define CONFIG_LED LED_VIRTUAL
163 /* define this if the backlight can be set to a brightness */
164 #define __BACKLIGHT_INIT
166 /* Offset ( in the firmware file's header ) to the file CRC */
167 #define FIRMWARE_OFFSET_FILE_CRC 0
169 /* Offset ( in the firmware file's header ) to the real data */
170 #define FIRMWARE_OFFSET_FILE_DATA 8
172 /* Define this if you have adjustable CPU frequency */
173 /* #define HAVE_ADJUSTABLE_CPU_FREQ */
175 #define BOOTFILE_EXT "mrobe500"
176 #define BOOTFILE "rockbox." BOOTFILE_EXT
177 #define BOOTDIR "/.rockbox"
179 #endif