M:Robe - Fix compilation and remove some warnings
[kugel-rb.git] / firmware / export / config-mrobe500.h
blobcd83c5aa4d535922a4c1edc1299975a7792f57ac
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 toshiba Gigabeat F
23 #define TARGET_TREE /* this target is using the target tree system */
25 #define CPU_ARM
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 have a bitmap LCD display */
35 #define HAVE_LCD_BITMAP
37 /* define this if you have a colour LCD */
38 #define HAVE_LCD_COLOR
40 /* define this if you have access to the quickscreen */
41 #define HAVE_QUICKSCREEN
43 /* define this if you have access to the pitchscreen */
44 #define HAVE_PITCHSCREEN
46 /* define this if you would like tagcache to build on this target */
47 #define HAVE_TAGCACHE
49 /* define this if the target has volume keys which can be used in the lists */
50 #define HAVE_VOLUME_IN_LIST
52 /* LCD dimensions */
53 #define LCD_WIDTH 480
54 #define LCD_HEIGHT 640
55 #define LCD_DEPTH 16 /* 65k colours */
56 #define LCD_PIXELFORMAT RGB565 /* rgb565 */
58 /* Define this if your LCD can be enabled/disabled */
59 //#define HAVE_LCD_ENABLE
61 #define CONFIG_KEYPAD MROBE500_PAD
63 /* Define this if you do software codec */
64 #define CONFIG_CODEC SWCODEC
66 /* define this if you have a real-time clock */
67 //#define CONFIG_RTC RTC_RX5X348AB
69 /* Define this for LCD backlight available */
70 #define HAVE_BACKLIGHT
72 #define HAVE_BACKLIGHT_BRIGHTNESS
74 /* Main LCD backlight brightness range and defaults */
75 #define MIN_BRIGHTNESS_SETTING 0 /* 0.5 mA */
76 #define MAX_DIM_BRIGHTNESS_SETTING 15 /* highest 'dimness' */
77 #define MAX_BRIGHTNESS_SETTING 63 /* 32 mA */
78 #define DEFAULT_BRIGHTNESS_SETTING 39 /* 20 mA */
79 #define DEFAULT_DIMNESS_SETTING 9 /* 5 mA */
81 /* Define this if you have a software controlled poweroff */
82 #define HAVE_SW_POWEROFF
84 /* The number of bytes reserved for loadable codecs */
85 #define CODEC_SIZE 0x80000
87 /* The number of bytes reserved for loadable plugins */
88 #define PLUGIN_BUFFER_SIZE 0x80000
90 /* Define this if you have the WM8975 audio codec */
91 //#define HAVE_WM8751
93 /* Define this if you want to use the adaptive bass capibility of the 8751 */
94 /* #define USE_ADAPTIVE_BASS */
96 #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \
97 SAMPR_CAP_11)
99 #define BATTERY_CAPACITY_DEFAULT 1100 /* default battery capacity */
100 #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
101 #define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
102 #define BATTERY_CAPACITY_INC 100 /* capacity increment */
103 #define BATTERY_TYPES_COUNT 1 /* only one type */
105 /* Hardware controlled charging with monitoring */
106 #define CONFIG_CHARGING CHARGING_MONITOR
108 #ifndef SIMULATOR
110 /* Define this if you have a Motorola SCF5249 */
111 #define CONFIG_CPU DM320
113 /* Define this if you have a Texas Instruments TSC2100 touch screen */
114 #define HAVE_TSC2100
116 /* Define this if you want to use coldfire's i2c interface */
117 //#define CONFIG_I2C I2C_S3C2440
119 /* define this if the hardware can be powered off while charging */
120 #define HAVE_POWEROFF_WHILE_CHARGING
122 /* The size of the flash ROM */
123 #define FLASH_SIZE 0x400000
125 /* Define this to the CPU frequency */
126 #define CPU_FREQ 16934400
128 /* Define this if you have ATA power-off control */
129 #define HAVE_ATA_POWER_OFF
131 /* Virtual LED (icon) */
132 #define CONFIG_LED LED_VIRTUAL
134 #define CONFIG_LCD LCD_MROBE500
136 /* define this if the backlight can be set to a brightness */
137 #define __BACKLIGHT_INIT
139 /* Offset ( in the firmware file's header ) to the file CRC */
140 #define FIRMWARE_OFFSET_FILE_CRC 0
142 /* Offset ( in the firmware file's header ) to the real data */
143 #define FIRMWARE_OFFSET_FILE_DATA 8
145 /* Define this if you have adjustable CPU frequency */
146 /* #define HAVE_ADJUSTABLE_CPU_FREQ */
148 #define BOOTFILE_EXT "mrobe500"
149 #define BOOTFILE "rockbox." BOOTFILE_EXT
150 #define BOOTDIR "/.rockbox"
152 #endif