summaryrefslogtreecommitdiff
path: root/firmware/export/config/zenvision.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config/zenvision.h')
-rw-r--r--firmware/export/config/zenvision.h173
1 files changed, 173 insertions, 0 deletions
diff --git a/firmware/export/config/zenvision.h b/firmware/export/config/zenvision.h
new file mode 100644
index 0000000000..48a9653ee9
--- /dev/null
+++ b/firmware/export/config/zenvision.h
@@ -0,0 +1,173 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2008 by Maurus Cuelenaere
11 *
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.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22/*
23 * This config file is for the Creative Zen Vision
24 */
25#define TARGET_TREE /* this target is using the target tree system */
26
27#define CONFIG_SDRAM_START 0x00900000
28
29#define CREATIVE_ZV 1
30
31#define MODEL_NAME "Creative Zen Vision"
32
33/* This makes it part of the Creative Zen Vision family :) */
34#define CREATIVE_ZVx 1
35
36/* For Rolo and boot loader */
37#define MODEL_NUMBER 28
38
39/* define this if you use an ATA controller */
40#define CONFIG_STORAGE STORAGE_ATA
41
42/* define this if you have a bitmap LCD display */
43#define HAVE_LCD_BITMAP
44
45/* define this if you have a colour LCD */
46#define HAVE_LCD_COLOR
47
48/* define this if you have access to the quickscreen */
49#define HAVE_QUICKSCREEN
50
51/* define this if you have access to the pitchscreen */
52#define HAVE_PITCHSCREEN
53
54/* define this if you would like tagcache to build on this target */
55#define HAVE_TAGCACHE
56
57/* define this if the target has volume keys which can be used in the lists */
58//#define HAVE_VOLUME_IN_LIST
59
60/* LCD dimensions */
61#define CONFIG_LCD LCD_CREATIVEZVM
62
63/* choose the lcd orientation. both work */
64#define CONFIG_ORIENTATION SCREEN_PORTRAIT
65
66#define LCD_WIDTH 640
67#define LCD_HEIGHT 480
68
69#define LCD_DEPTH 16 /* 65k colours */
70#define LCD_PIXELFORMAT RGB565 /* rgb565 */
71
72/* Define this if your LCD can be enabled/disabled */
73#define HAVE_LCD_ENABLE
74
75#define CONFIG_KEYPAD CREATIVEZV_PAD
76#define HAVE_HEADPHONE_DETECTION
77//#define HAVE_TOUCHPAD
78
79/* Define this if you do software codec */
80#define CONFIG_CODEC SWCODEC
81
82/* define this if you have a real-time clock */
83//#define CONFIG_RTC RTC_RX5X348AB
84
85/* define this if you have a disk storage, i.e. something
86 that needs spinups and can cause skips when shaked */
87#define HAVE_DISK_STORAGE
88
89/* Define this for LCD backlight available */
90//#define HAVE_BACKLIGHT
91
92//#define HAVE_BACKLIGHT_BRIGHTNESS
93
94/* Main LCD backlight brightness range and defaults */
95//#define MIN_BRIGHTNESS_SETTING 0
96//#define MAX_BRIGHTNESS_SETTING 127
97//#define DEFAULT_BRIGHTNESS_SETTING 85 /* OF "full brightness" */
98//#define DEFAULT_DIMNESS_SETTING 22 /* OF "most dim" */
99
100/* Define this if you have a software controlled poweroff */
101//#define HAVE_SW_POWEROFF
102//TODO: enable this back
103
104/* The number of bytes reserved for loadable codecs */
105#define CODEC_SIZE 0x100000
106
107/* The number of bytes reserved for loadable plugins */
108#define PLUGIN_BUFFER_SIZE 0x100000
109
110/* Define this if you have the TLV320 audio codec -> controlled by the DSP */
111#define HAVE_TLV320
112
113#define CONFIG_I2C I2C_DM320
114
115/* TLV320 has no tone controls, so we use the software ones */
116#define HAVE_SW_TONE_CONTROLS
117
118/*#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \
119 SAMPR_CAP_11)*/
120
121#define BATTERY_CAPACITY_DEFAULT 1250 /* default battery capacity */
122#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
123#define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
124#define BATTERY_CAPACITY_INC 100 /* capacity increment */
125#define BATTERY_TYPES_COUNT 1 /* only one type */
126
127/* Hardware controlled charging with monitoring */
128//#define CONFIG_CHARGING CHARGING_MONITOR
129
130#ifndef SIMULATOR
131
132/* Define this if you have a TI TMS320DM320 */
133#define CONFIG_CPU DM320
134
135/* define this if the hardware can be powered off while charging */
136#define HAVE_POWEROFF_WHILE_CHARGING
137
138/* The size of the flash ROM */
139#define FLASH_SIZE 0x400000
140
141/* Define this to the CPU frequency */
142#define CPU_FREQ 16934400
143
144/* Define this if you have ATA power-off control */
145#define HAVE_ATA_POWER_OFF
146
147/* Virtual LED (icon) */
148#define CONFIG_LED LED_VIRTUAL
149
150/* define this if the backlight can be set to a brightness */
151//#define __BACKLIGHT_INIT
152
153/* Offset ( in the firmware file's header ) to the file CRC */
154#define FIRMWARE_OFFSET_FILE_CRC 0
155
156/* Offset ( in the firmware file's header ) to the real data */
157#define FIRMWARE_OFFSET_FILE_DATA 8
158
159/* Define this if you have adjustable CPU frequency */
160/* #define HAVE_ADJUSTABLE_CPU_FREQ */
161
162#define BOOTFILE_EXT "zv"
163#define BOOTFILE "rockbox." BOOTFILE_EXT
164#define BOOTDIR "/.rockbox"
165
166#define CONFIG_USBOTG USBOTG_ISP1583
167#define HAVE_USBSTACK
168#define USE_ROCKBOX_USB
169#define USB_VENDOR_ID 0x041e
170#define USB_PRODUCT_ID 0x4133
171#define USB_NUM_ENDPOINTS 7
172
173#endif /* SIMULATOR */