New makefile solution: A single invocation of 'make' to build the entire tree. Fully...
[kugel-rb.git] / firmware / export / config-mrobe500.h
blob5f89a9667d3a7209e8dc638d0bea16d51a4e0c00
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 have access to the quickscreen */
45 #define HAVE_QUICKSCREEN
47 /* define this if you have access to the pitchscreen */
48 #define HAVE_PITCHSCREEN
50 /* define this if you would like tagcache to build on this target */
51 #define HAVE_TAGCACHE
53 /* define this if the target has volume keys which can be used in the lists */
54 #define HAVE_VOLUME_IN_LIST
56 /* LCD dimensions */
57 #define CONFIG_LCD LCD_MROBE500
59 /* choose the lcd orientation. both work */
60 /* #define CONFIG_ORIENTATION SCREEN_PORTRAIT */
61 #define CONFIG_ORIENTATION SCREEN_LANDSCAPE
63 #if CONFIG_ORIENTATION == SCREEN_PORTRAIT
64 #define LCD_WIDTH 480
65 #define LCD_HEIGHT 640
66 #else
67 #define LCD_WIDTH 640
68 #define LCD_HEIGHT 480
69 #endif
71 #define LCD_DEPTH 16 /* 65k colours */
72 #define LCD_PIXELFORMAT RGB565 /* rgb565 */
74 /* Define this if your LCD can be enabled/disabled */
75 //#define HAVE_LCD_ENABLE
77 /* remote LCD */
78 //#define HAVE_REMOTE_LCD
79 #define LCD_REMOTE_WIDTH 79
80 #define LCD_REMOTE_HEIGHT 16
81 #define LCD_REMOTE_DEPTH 1
83 #define LCD_REMOTE_PIXELFORMAT VERTICAL_PACKING
85 #define MIN_REMOTE_CONTRAST_SETTING 0
86 #define MAX_REMOTE_CONTRAST_SETTING 15
87 #define DEFAULT_REMOTE_CONTRAST_SETTING 7
89 #define CONFIG_KEYPAD MROBE500_PAD
90 #define HAVE_TOUCHSCREEN
91 #define HAVE_BUTTON_DATA
93 /* Define this if you do software codec */
94 #define CONFIG_CODEC SWCODEC
96 /* define this if you have a real-time clock */
97 #define CONFIG_RTC RTC_RX5X348AB
99 /* define this if you have a disk storage, i.e. something
100 that needs spinups and can cause skips when shaked */
101 #define HAVE_DISK_STORAGE
103 /* Define this for LCD backlight available */
104 #define HAVE_BACKLIGHT
106 #define HAVE_BACKLIGHT_BRIGHTNESS
108 /* Main LCD backlight brightness range and defaults */
109 #define MIN_BRIGHTNESS_SETTING 0
110 #define MAX_BRIGHTNESS_SETTING 127
111 #define DEFAULT_BRIGHTNESS_SETTING 85 /* OF "full brightness" */
112 #define DEFAULT_DIMNESS_SETTING 22 /* OF "most dim" */
114 /* Define this if you have a software controlled poweroff */
115 #define HAVE_SW_POWEROFF
117 /* The number of bytes reserved for loadable codecs */
118 #define CODEC_SIZE 0x100000
120 /* The number of bytes reserved for loadable plugins */
121 #define PLUGIN_BUFFER_SIZE 0x100000
123 /* Define this if you have the WM8975 audio codec */
124 //#define HAVE_WM8751
126 /* Define this if you want to use the adaptive bass capibility of the 8751 */
127 /* #define USE_ADAPTIVE_BASS */
129 #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \
130 SAMPR_CAP_11)
132 #define BATTERY_CAPACITY_DEFAULT 1100 /* default battery capacity */
133 #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
134 #define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
135 #define BATTERY_CAPACITY_INC 100 /* capacity increment */
136 #define BATTERY_TYPES_COUNT 1 /* only one type */
138 /* Hardware controlled charging with monitoring */
139 #define CONFIG_CHARGING CHARGING_MONITOR
142 /* Define this if you have a Texas Instruments TSC2100 touch screen */
143 #define HAVE_TSC2100
145 #ifndef SIMULATOR
147 /* Define this if you have a Motorola SCF5249 */
148 #define CONFIG_CPU DM320
150 #define CONFIG_I2C I2C_DM320
152 /* define this if the hardware can be powered off while charging */
153 #define HAVE_POWEROFF_WHILE_CHARGING
155 /* The size of the flash ROM */
156 #define FLASH_SIZE 0x400000
158 /* Define this to the CPU frequency */
159 #define CPU_FREQ 16934400
161 /* Define this if you have ATA power-off control */
162 #define HAVE_ATA_POWER_OFF
164 /* Virtual LED (icon) */
165 #define CONFIG_LED LED_VIRTUAL
167 /* define this if the backlight can be set to a brightness */
168 #define __BACKLIGHT_INIT
170 /* Offset ( in the firmware file's header ) to the file CRC */
171 #define FIRMWARE_OFFSET_FILE_CRC 0
173 /* Offset ( in the firmware file's header ) to the real data */
174 #define FIRMWARE_OFFSET_FILE_DATA 8
176 /* Define this if you have adjustable CPU frequency */
177 /* #define HAVE_ADJUSTABLE_CPU_FREQ */
179 #define BOOTFILE_EXT "mrobe500"
180 #define BOOTFILE "rockbox." BOOTFILE_EXT
181 #define BOOTDIR "/.rockbox"
183 #endif