summaryrefslogtreecommitdiff
path: root/firmware/export/config
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-11-18 20:07:02 +0000
committerAmaury Pouly <amaury.pouly@gmail.com>2013-11-18 21:44:06 +0000
commit977a6c3ce7a2ab960590e9d997388cca2e4c29ee (patch)
tree092ef21d5f2123fee784de7d1ee719270c30c6de /firmware/export/config
parenta8b816ae9cc00fe216e43d9bd9276b5d8cf12b25 (diff)
downloadrockbox-977a6c3ce7a2ab960590e9d997388cca2e4c29ee.tar.gz
rockbox-977a6c3ce7a2ab960590e9d997388cca2e4c29ee.zip
Initial commit for the Creative ZEN V
Change-Id: I3408cfdf742ea5995d5c87bf76653f436e1ec2b0
Diffstat (limited to 'firmware/export/config')
-rw-r--r--firmware/export/config/creativezenv.h196
1 files changed, 196 insertions, 0 deletions
diff --git a/firmware/export/config/creativezenv.h b/firmware/export/config/creativezenv.h
new file mode 100644
index 0000000000..e1758488ec
--- /dev/null
+++ b/firmware/export/config/creativezenv.h
@@ -0,0 +1,196 @@
1/*
2 * This config file is for the Creative ZEN V
3 */
4#define IMX233_SUBTARGET 3600
5#define IMX233_PACKAGE IMX233_BGA169
6#define IMX233_PARTITIONS IMX233_CREATIVE
7
8/* For Rolo and boot loader */
9#define MODEL_NUMBER 85
10#define MODEL_NAME "Creative ZEN V"
11
12#define HW_SAMPR_CAPS SAMPR_CAP_ALL
13
14/* define this if you have recording possibility */
15#define HAVE_RECORDING
16
17#define REC_SAMPR_CAPS SAMPR_CAP_ALL
18
19/* Default recording levels */
20#define DEFAULT_REC_MIC_GAIN 23
21#define DEFAULT_REC_LEFT_GAIN 23
22#define DEFAULT_REC_RIGHT_GAIN 23
23
24/* Define bitmask of input sources - recordable bitmask can be defined
25 explicitly if different */
26#define INPUT_SRC_CAPS SRC_CAP_MIC
27
28/* define this if you have a bitmap LCD display */
29#define HAVE_LCD_BITMAP
30/* define this if you have a colour LCD */
31#define HAVE_LCD_COLOR
32
33#ifndef BOOTLOADER
34#define HAVE_ALBUMART
35
36/* define this to enable bitmap scaling */
37#define HAVE_BMP_SCALING
38
39/* define this to enable JPEG decoding */
40#define HAVE_JPEG
41
42/* Define this if a programmable hotkey is mapped */
43#define HAVE_HOTKEY
44
45/* define this if you have access to the quickscreen */
46#define HAVE_QUICKSCREEN
47
48/* define this if you would like tagcache to build on this target */
49#define HAVE_TAGCACHE
50
51/* define this if the target has volume keys which can be used in the lists */
52#define HAVE_VOLUME_IN_LIST
53
54/* define this if you have LCD enable function */
55//#define HAVE_LCD_ENABLE
56
57/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
58 should be defined as well.
59#define HAVE_LCD_SLEEP
60#define HAVE_LCD_SLEEP_SETTING
61*/
62
63/* define this if you can flip your LCD
64#define HAVE_LCD_FLIP
65*/
66
67/* define this if you can invert the colours on your LCD
68#define HAVE_LCD_INVERT
69*/
70
71/* define this if you have a real-time clock */
72#define CONFIG_RTC RTC_IMX233
73
74/* define this if you have a real-time clock with alarm facilities */
75#define HAVE_RTC_ALARM
76
77#endif /* !BOOTLOADER */
78
79/* define this if you have an i.MX23 codec */
80#define HAVE_IMX233_CODEC
81
82/* There is no hardware tone control */
83#define HAVE_SW_TONE_CONTROLS
84
85#define CONFIG_KEYPAD CREATIVE_ZEN_PAD
86
87/* Define this to enable morse code input */
88#define HAVE_MORSE_INPUT
89
90/* Define this if you do software codec */
91#define CONFIG_CODEC SWCODEC
92
93/* LCD dimensions */
94#define LCD_WIDTH 132
95#define LCD_HEIGHT 132
96#define LCD_DEPTH 16 /* 65536 colours */
97#define LCD_PIXELFORMAT RGB565 /* rgb565 */
98
99/* Define this if you have a software controlled poweroff */
100#define HAVE_SW_POWEROFF
101
102/* Some devices seem to be FAT16 formatted */
103#define HAVE_FAT16SUPPORT
104
105/* The number of bytes reserved for loadable codecs */
106#define CODEC_SIZE 0x100000
107
108/* The number of bytes reserved for loadable plugins */
109#define PLUGIN_BUFFER_SIZE 0x80000
110
111#define AB_REPEAT_ENABLE
112
113/* Define this for LCD backlight available */
114#define HAVE_BACKLIGHT
115#define HAVE_BACKLIGHT_BRIGHTNESS
116
117/* Main LCD backlight brightness range and defaults */
118#define MIN_BRIGHTNESS_SETTING 0
119#define MAX_BRIGHTNESS_SETTING 16
120#define DEFAULT_BRIGHTNESS_SETTING 10
121
122/* Which backlight fading type? */
123#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING
124
125/* define this if you have a flash memory storage */
126#define HAVE_FLASH_STORAGE
127
128/* define this if the flash memory uses the SecureDigital Memory Card protocol */
129#define CONFIG_STORAGE STORAGE_ATA
130
131/* todo */
132#define BATTERY_CAPACITY_DEFAULT 550 /* default battery capacity */
133#define BATTERY_CAPACITY_MIN 550 /* min. capacity selectable */
134#define BATTERY_CAPACITY_MAX 550 /* max. capacity selectable */
135#define BATTERY_CAPACITY_INC 0 /* capacity increment */
136#define BATTERY_TYPES_COUNT 1 /* only one type */
137
138#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
139
140/* Charging implemented in a target-specific algorithm */
141//#warning FIXME change this to CHARGING_TARGET when powermgmt is ready
142#define CONFIG_CHARGING CHARGING_TARGET
143
144/* define this if the unit can be powered or charged via USB */
145#define HAVE_USB_POWER
146
147/* Define this if you have an IMX233*/
148#define CONFIG_CPU IMX233
149
150/* Define this if you want to use the IMX233 i2c interface */
151#define CONFIG_I2C I2C_IMX233
152
153/* define current usage levels (based on battery bench) */
154#define CURRENT_NORMAL 35
155#define CURRENT_BACKLIGHT 30
156#define CURRENT_RECORD CURRENT_NORMAL
157
158/* maximum charging current */
159#define CURRENT_MAX_CHG 200
160
161/* Define this to the CPU frequency */
162#define CPU_FREQ 454000000
163
164/* Type of LCD */
165#define CONFIG_LCD LCD_CREATIVEZENV
166
167/* Offset ( in the firmware file's header ) to the file CRC and data. These are
168 only used when loading the old format rockbox.e200 file */
169#define FIRMWARE_OFFSET_FILE_CRC 0x0
170#define FIRMWARE_OFFSET_FILE_DATA 0x8
171
172/* USB On-the-go */
173#define CONFIG_USBOTG USBOTG_ARC
174
175/* enable these for the experimental usb stack */
176#define HAVE_USBSTACK
177//#define USB_HANDLED_BY_OF
178#define USE_ROCKBOX_USB
179#define USB_VENDOR_ID 0x041e
180#define USB_PRODUCT_ID 0x4133
181#define HAVE_USB_HID_MOUSE
182#define HAVE_BOOTLOADER_USB_MODE
183
184/* Define this if you have adjustable CPU frequency */
185//#define HAVE_ADJUSTABLE_CPU_FREQ
186
187/* Virtual LED (icon) */
188#define CONFIG_LED LED_VIRTUAL
189
190#define BOOTFILE_EXT "creative"
191#define BOOTFILE "rockbox." BOOTFILE_EXT
192#define BOOTDIR "/.rockbox"
193
194#define INCLUDE_TIMEOUT_API
195
196