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