FS#8961 - Anti-Aliased Fonts.
[kugel-rb.git] / firmware / export / config-creativezvm.h
blob7374e7d430c090970ab0d4fc2ee50afd64bea278
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2008 by Maurus Cuelenaere
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 Creative Zen Vision:M
25 #define TARGET_TREE /* this target is using the target tree system */
27 #define CONFIG_SDRAM_START 0x00900000
29 #define CREATIVE_ZVM 1
31 #define MODEL_NAME "Creative Zen Vision:M"
33 /* This makes it part of the Creative Zen Vision family :) */
34 #define CREATIVE_ZVx 1
36 /* For Rolo and boot loader */
37 #define MODEL_NUMBER 26
39 /* define this if you use an ATA controller */
40 #define CONFIG_STORAGE STORAGE_ATA
42 /* define this if you have a bitmap LCD display */
43 #define HAVE_LCD_BITMAP
45 /* define this if you have a colour LCD */
46 #define HAVE_LCD_COLOR
48 /* define this if you have access to the quickscreen */
49 #define HAVE_QUICKSCREEN
51 /* define this if you have access to the pitchscreen */
52 #define HAVE_PITCHSCREEN
54 /* define this if you would like tagcache to build on this target */
55 #define HAVE_TAGCACHE
57 /* define this if the target has volume keys which can be used in the lists */
58 //#define HAVE_VOLUME_IN_LIST
60 /* LCD dimensions */
61 #define CONFIG_LCD LCD_CREATIVEZVM
63 /* choose the lcd orientation. both work */
64 #define CONFIG_ORIENTATION SCREEN_PORTRAIT
66 #define LCD_WIDTH 320
67 #define LCD_HEIGHT 240
69 #define LCD_DEPTH 16 /* 65k colours */
70 #define LCD_PIXELFORMAT RGB565 /* rgb565 */
72 /* Define this if your LCD can be enabled/disabled */
73 /* Disabled until properly working
74 #define HAVE_LCD_ENABLE */
76 #define CONFIG_KEYPAD CREATIVEZVM_PAD
77 #define HAVE_HEADPHONE_DETECTION
78 //#define HAVE_TOUCHPAD
80 #define CONFIG_I2C I2C_DM320
82 /* Define this if you do software codec */
83 #define CONFIG_CODEC SWCODEC
85 /* define this if you have a real-time clock */
86 //#define CONFIG_RTC RTC_RX5X348AB
88 /* define this if you have a disk storage, i.e. something
89 that needs spinups and can cause skips when shaked */
90 #define HAVE_DISK_STORAGE
92 /* Define this for LCD backlight available */
93 //#define HAVE_BACKLIGHT
95 //#define HAVE_BACKLIGHT_BRIGHTNESS
97 /* Main LCD backlight brightness range and defaults */
98 //#define MIN_BRIGHTNESS_SETTING 0
99 //#define MAX_BRIGHTNESS_SETTING 127
100 //#define DEFAULT_BRIGHTNESS_SETTING 85 /* OF "full brightness" */
101 //#define DEFAULT_DIMNESS_SETTING 22 /* OF "most dim" */
103 /* Define this if you have a software controlled poweroff */
104 //#define HAVE_SW_POWEROFF
105 //TODO: enable this back
107 /* The number of bytes reserved for loadable codecs */
108 #define CODEC_SIZE 0x100000
110 /* The number of bytes reserved for loadable plugins */
111 #define PLUGIN_BUFFER_SIZE 0x100000
113 /* Define this if you have the TLV320 audio codec -> controlled by the DSP */
114 #define HAVE_TLV320
116 #define CONFIG_I2C I2C_DM320
118 /* TLV320 has no tone controls, so we use the software ones */
119 #define HAVE_SW_TONE_CONTROLS
121 /*#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \
122 SAMPR_CAP_11)*/
124 #define BATTERY_CAPACITY_DEFAULT 1250 /* default battery capacity */
125 #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
126 #define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
127 #define BATTERY_CAPACITY_INC 100 /* capacity increment */
128 #define BATTERY_TYPES_COUNT 1 /* only one type */
130 /* Hardware controlled charging with monitoring */
131 //#define CONFIG_CHARGING CHARGING_MONITOR
133 #ifndef SIMULATOR
135 /* Define this if you have a TI TMS320DM320 */
136 #define CONFIG_CPU DM320
138 /* define this if the hardware can be powered off while charging */
139 #define HAVE_POWEROFF_WHILE_CHARGING
141 /* The size of the flash ROM */
142 #define FLASH_SIZE 0x400000
144 /* Define this to the CPU frequency */
145 #define CPU_FREQ 16934400
147 /* Define this if you have ATA power-off control */
148 #define HAVE_ATA_POWER_OFF
150 /* Virtual LED (icon) */
151 #define CONFIG_LED LED_VIRTUAL
153 /* define this if the backlight can be set to a brightness */
154 //#define __BACKLIGHT_INIT
156 /* Offset ( in the firmware file's header ) to the file CRC */
157 #define FIRMWARE_OFFSET_FILE_CRC 0
159 /* Offset ( in the firmware file's header ) to the real data */
160 #define FIRMWARE_OFFSET_FILE_DATA 8
162 /* Define this if you have adjustable CPU frequency */
163 /* #define HAVE_ADJUSTABLE_CPU_FREQ */
165 #define BOOTFILE_EXT "zvm"
166 #define BOOTFILE "rockbox." BOOTFILE_EXT
167 #define BOOTDIR "/.rockbox"
169 #define CONFIG_USBOTG USBOTG_ISP1583
170 #define HAVE_USBSTACK
171 #define USE_ROCKBOX_USB
172 #define USB_VENDOR_ID 0x041e
173 #define USB_PRODUCT_ID 0x4133
174 #define USB_NUM_ENDPOINTS 7
176 /*DEBUGGING!*/
178 #define THREAD_EXTRA_CHECKS 1
179 #define DEBUG 1
180 #define debug(msg) printf(msg)
181 #define BUTTON_DEBUG
184 #endif