D2: Fix IRAM usage, but disable it for now as Tremor does not fit ('make zip' works...
[Rockbox.git] / firmware / export / config-creativezvm.h
blobbe393f62b7ac59f80662ee33e1be7fff4ee21b0d
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2008 by Maurus Cuelenaere
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 Creative Zen Vision:M
23 #define TARGET_TREE /* this target is using the target tree system */
25 #define CONFIG_SDRAM_START 0x00900000
27 #define CREATIVE_ZVM 1
29 /* For Rolo and boot loader */
30 #define MODEL_NUMBER 35
32 /* define this if you have a bitmap LCD display */
33 #define HAVE_LCD_BITMAP
35 /* define this if you have a colour LCD */
36 #define HAVE_LCD_COLOR
38 /* define this if you have access to the quickscreen */
39 #define HAVE_QUICKSCREEN
41 /* define this if you have access to the pitchscreen */
42 #define HAVE_PITCHSCREEN
44 /* define this if you would like tagcache to build on this target */
45 #define HAVE_TAGCACHE
47 /* define this if the target has volume keys which can be used in the lists */
48 #define HAVE_VOLUME_IN_LIST
50 /* LCD dimensions */
51 #define CONFIG_LCD LCD_CREATIVEZVM
53 /* choose the lcd orientation. both work */
54 #define CONFIG_ORIENTATION SCREEN_PORTAIT
56 #define LCD_WIDTH 320
57 #define LCD_HEIGHT 240
59 #define LCD_DEPTH 16 /* 65k colours */
60 #define LCD_PIXELFORMAT RGB565 /* rgb565 */
62 /* Define this if your LCD can be enabled/disabled */
63 #define HAVE_LCD_ENABLE
65 #define LCD_REMOTE_PIXELFORMAT VERTICAL_PACKING
67 #define MIN_REMOTE_CONTRAST_SETTING 0
68 #define MAX_REMOTE_CONTRAST_SETTING 15
69 #define DEFAULT_REMOTE_CONTRAST_SETTING 7
71 #define CONFIG_KEYPAD MROBE500_PAD
72 //#define HAVE_TOUCHPAD
73 #define HAVE_BUTTON_DATA
75 /* Define this if you do software codec */
76 #define CONFIG_CODEC SWCODEC
78 /* define this if you have a real-time clock */
79 //#define CONFIG_RTC RTC_RX5X348AB
81 /* Define this for LCD backlight available */
82 //#define HAVE_BACKLIGHT
84 #define HAVE_BACKLIGHT_BRIGHTNESS
86 /* Main LCD backlight brightness range and defaults */
87 #define MIN_BRIGHTNESS_SETTING 0
88 #define MAX_BRIGHTNESS_SETTING 127
89 #define DEFAULT_BRIGHTNESS_SETTING 85 /* OF "full brightness" */
90 #define DEFAULT_DIMNESS_SETTING 22 /* OF "most dim" */
92 /* Define this if you have a software controlled poweroff */
93 #define HAVE_SW_POWEROFF
95 /* The number of bytes reserved for loadable codecs */
96 #define CODEC_SIZE 0x80000
98 /* The number of bytes reserved for loadable plugins */
99 #define PLUGIN_BUFFER_SIZE 0x100000
101 /* Define this if you have the TLV320 audio codec */
102 //#define HAVE_TLV320
104 /* Define this if you want to use the adaptive bass capibility of the 8751 */
105 /* #define USE_ADAPTIVE_BASS */
107 #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \
108 SAMPR_CAP_11)
110 #define BATTERY_CAPACITY_DEFAULT 1100 /* default battery capacity */
111 #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
112 #define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
113 #define BATTERY_CAPACITY_INC 100 /* capacity increment */
114 #define BATTERY_TYPES_COUNT 1 /* only one type */
116 /* Hardware controlled charging with monitoring */
117 #define CONFIG_CHARGING CHARGING_MONITOR
119 #ifndef SIMULATOR
121 /* Define this if you have a TI TMS320DM320 */
122 #define CONFIG_CPU DM320
124 /* Define this if you have a Texas Instruments TSC2100 touch screen */
125 //#define HAVE_TSC2100
127 /* Define this if you want to use coldfire's i2c interface */
128 //#define CONFIG_I2C I2C_S3C2440
130 /* define this if the hardware can be powered off while charging */
131 #define HAVE_POWEROFF_WHILE_CHARGING
133 /* The size of the flash ROM */
134 #define FLASH_SIZE 0x400000
136 /* Define this to the CPU frequency */
137 #define CPU_FREQ 16934400
139 /* Define this if you have ATA power-off control */
140 //#define HAVE_ATA_POWER_OFF
142 /* Virtual LED (icon) */
143 #define CONFIG_LED LED_VIRTUAL
145 /* define this if the backlight can be set to a brightness */
146 //#define __BACKLIGHT_INIT
148 /* Offset ( in the firmware file's header ) to the file CRC */
149 #define FIRMWARE_OFFSET_FILE_CRC 0
151 /* Offset ( in the firmware file's header ) to the real data */
152 #define FIRMWARE_OFFSET_FILE_DATA 8
154 /* Define this if you have adjustable CPU frequency */
155 /* #define HAVE_ADJUSTABLE_CPU_FREQ */
157 #define BOOTFILE_EXT "zvm"
158 #define BOOTFILE "rockbox." BOOTFILE_EXT
159 #define BOOTDIR "/.rockbox"
161 #endif