diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-10-26 13:20:24 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-10-26 13:23:27 +0200 |
commit | 2778e7613a013cd1cc8c2f21dc9dcd0d32279504 (patch) | |
tree | 928a43524eb9060cf16e88c368f80c3bb4fed270 | |
parent | 78c060b09c7f5da4e2d71aedfc7dedb74e7d70a8 (diff) | |
download | rockbox-2778e7613a013cd1cc8c2f21dc9dcd0d32279504.tar.gz rockbox-2778e7613a013cd1cc8c2f21dc9dcd0d32279504.zip |
Forgot the config files for ZEN, ZEN Mozaic and ZEN X-Fi
Change-Id: Id95d0078d7f4862e596d47ef1bdbfe75942c50fa
-rw-r--r-- | firmware/export/config/creativezen.h | 198 | ||||
-rw-r--r-- | firmware/export/config/creativezenmozaic.h | 193 | ||||
-rw-r--r-- | firmware/export/config/creativezenxfi.h | 200 |
3 files changed, 591 insertions, 0 deletions
diff --git a/firmware/export/config/creativezen.h b/firmware/export/config/creativezen.h new file mode 100644 index 0000000000..0caf499379 --- /dev/null +++ b/firmware/export/config/creativezen.h | |||
@@ -0,0 +1,198 @@ | |||
1 | /* | ||
2 | * This config file is for the Creative Zen | ||
3 | */ | ||
4 | #define IMX233_SUBTARGET 3700 | ||
5 | #define IMX233_PACKAGE IMX233_BGA169 | ||
6 | #define IMX233_PARTITIONS IMX233_CREATIVE | ||
7 | |||
8 | /* For Rolo and boot loader */ | ||
9 | #define MODEL_NUMBER 90 | ||
10 | #define MODEL_NAME "Creative Zen" | ||
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 | SRC_CAP_FMRADIO) | ||
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 | |||
49 | /* define this if you would like tagcache to build on this target */ | ||
50 | #define HAVE_TAGCACHE | ||
51 | |||
52 | /* define this if you have LCD enable function */ | ||
53 | #define HAVE_LCD_ENABLE | ||
54 | |||
55 | /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE | ||
56 | should be defined as well. | ||
57 | #define HAVE_LCD_SLEEP | ||
58 | #define HAVE_LCD_SLEEP_SETTING | ||
59 | */ | ||
60 | |||
61 | /* define this if you can flip your LCD | ||
62 | #define HAVE_LCD_FLIP | ||
63 | */ | ||
64 | |||
65 | /* define this if you can invert the colours on your LCD | ||
66 | #define HAVE_LCD_INVERT | ||
67 | */ | ||
68 | |||
69 | /* define this if you have a real-time clock */ | ||
70 | #define CONFIG_RTC RTC_IMX233 | ||
71 | |||
72 | /* define this if you have a real-time clock with alarm facilities */ | ||
73 | #define HAVE_RTC_ALARM | ||
74 | |||
75 | #endif /* !BOOTLOADER */ | ||
76 | |||
77 | /* define this if you have an i.MX23 codec */ | ||
78 | #define HAVE_IMX233_CODEC | ||
79 | |||
80 | #define CONFIG_TUNER TEA5760 | ||
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 320 | ||
95 | #define LCD_HEIGHT 240 | ||
96 | #define LCD_DEPTH 16 /* 65536 colours */ | ||
97 | #define LCD_PIXELFORMAT RGB565 /* rgb565 */ | ||
98 | /* framebuffer uses 24-bit/pix */ | ||
99 | #define IMX233_FRAMEBUFFER_SIZE (LCD_WIDTH * LCD_HEIGHT * 3) | ||
100 | |||
101 | /* Define this if you have a software controlled poweroff */ | ||
102 | #define HAVE_SW_POWEROFF | ||
103 | |||
104 | /* Some Sansa Fuzes seem to be FAT16 formatted */ | ||
105 | #define HAVE_FAT16SUPPORT | ||
106 | |||
107 | /* The number of bytes reserved for loadable codecs */ | ||
108 | #define CODEC_SIZE 0x100000 | ||
109 | |||
110 | /* The number of bytes reserved for loadable plugins */ | ||
111 | #define PLUGIN_BUFFER_SIZE 0x80000 | ||
112 | |||
113 | #define AB_REPEAT_ENABLE | ||
114 | |||
115 | /* Define this for LCD backlight available */ | ||
116 | #define HAVE_BACKLIGHT | ||
117 | #define HAVE_BACKLIGHT_BRIGHTNESS | ||
118 | |||
119 | /* Main LCD backlight brightness range and defaults */ | ||
120 | #define MIN_BRIGHTNESS_SETTING 0 | ||
121 | #define MAX_BRIGHTNESS_SETTING 100 | ||
122 | #define DEFAULT_BRIGHTNESS_SETTING 50 | ||
123 | |||
124 | /* Which backlight fading type? */ | ||
125 | #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING | ||
126 | |||
127 | /* define this if you have a flash memory storage */ | ||
128 | #define HAVE_FLASH_STORAGE | ||
129 | |||
130 | /* define this if the flash memory uses the SecureDigital Memory Card protocol */ | ||
131 | #define CONFIG_STORAGE STORAGE_SD | ||
132 | #define NUM_DRIVES 2 | ||
133 | #define HAVE_MULTIDRIVE | ||
134 | #define HAVE_MULTIVOLUME | ||
135 | #define HAVE_HOTSWAP | ||
136 | |||
137 | /* todo */ | ||
138 | #define BATTERY_CAPACITY_DEFAULT 550 /* default battery capacity */ | ||
139 | #define BATTERY_CAPACITY_MIN 550 /* min. capacity selectable */ | ||
140 | #define BATTERY_CAPACITY_MAX 550 /* max. capacity selectable */ | ||
141 | #define BATTERY_CAPACITY_INC 0 /* capacity increment */ | ||
142 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
143 | |||
144 | #define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE | ||
145 | |||
146 | /* Charging implemented in a target-specific algorithm */ | ||
147 | #define CONFIG_CHARGING CHARGING_TARGET | ||
148 | |||
149 | /* define this if the unit can be powered or charged via USB */ | ||
150 | #define HAVE_USB_POWER | ||
151 | |||
152 | /* Define this if you have an IMX233*/ | ||
153 | #define CONFIG_CPU IMX233 | ||
154 | |||
155 | /* Define this if you want to use the IMX233 i2c interface */ | ||
156 | #define CONFIG_I2C I2C_IMX233 | ||
157 | |||
158 | /* define current usage levels (based on battery bench) */ | ||
159 | #define CURRENT_NORMAL 35 | ||
160 | #define CURRENT_BACKLIGHT 30 | ||
161 | #define CURRENT_RECORD CURRENT_NORMAL | ||
162 | |||
163 | /* maximum charging current */ | ||
164 | #define CURRENT_MAX_CHG 200 | ||
165 | |||
166 | /* Define this to the CPU frequency */ | ||
167 | #define CPU_FREQ 454000000 | ||
168 | |||
169 | /* Type of LCD */ | ||
170 | #define CONFIG_LCD LCD_CREATIVEZEN | ||
171 | |||
172 | /* Offset ( in the firmware file's header ) to the file CRC and data. These are | ||
173 | only used when loading the old format rockbox.e200 file */ | ||
174 | #define FIRMWARE_OFFSET_FILE_CRC 0x0 | ||
175 | #define FIRMWARE_OFFSET_FILE_DATA 0x8 | ||
176 | |||
177 | /* USB On-the-go */ | ||
178 | #define CONFIG_USBOTG USBOTG_ARC | ||
179 | |||
180 | /* enable these for the experimental usb stack */ | ||
181 | #define HAVE_USBSTACK | ||
182 | //#define USB_HANDLED_BY_OF | ||
183 | #define USE_ROCKBOX_USB | ||
184 | #define USB_VENDOR_ID 0x041e | ||
185 | #define USB_PRODUCT_ID 0x4162 | ||
186 | #define HAVE_USB_HID_MOUSE | ||
187 | #define HAVE_BOOTLOADER_USB_MODE | ||
188 | |||
189 | /* Define this if you have adjustable CPU frequency */ | ||
190 | //#define HAVE_ADJUSTABLE_CPU_FREQ | ||
191 | |||
192 | #define BOOTFILE_EXT "creative" | ||
193 | #define BOOTFILE "rockbox." BOOTFILE_EXT | ||
194 | #define BOOTDIR "/.rockbox" | ||
195 | |||
196 | #define INCLUDE_TIMEOUT_API | ||
197 | |||
198 | |||
diff --git a/firmware/export/config/creativezenmozaic.h b/firmware/export/config/creativezenmozaic.h new file mode 100644 index 0000000000..329fb26c5c --- /dev/null +++ b/firmware/export/config/creativezenmozaic.h | |||
@@ -0,0 +1,193 @@ | |||
1 | /* | ||
2 | * This config file is for the Creative ZEN Mozaic | ||
3 | */ | ||
4 | #define IMX233_SUBTARGET 3700 | ||
5 | #define IMX233_PACKAGE IMX233_BGA169 | ||
6 | #define IMX233_PARTITIONS IMX233_CREATIVE | ||
7 | |||
8 | /* For Rolo and boot loader */ | ||
9 | #define MODEL_NUMBER 87 | ||
10 | #define MODEL_NAME "Creative ZEN Mozaic" | ||
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 | SRC_CAP_FMRADIO) | ||
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 you have LCD enable function */ | ||
52 | //#define HAVE_LCD_ENABLE | ||
53 | |||
54 | /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE | ||
55 | should be defined as well. | ||
56 | #define HAVE_LCD_SLEEP | ||
57 | #define HAVE_LCD_SLEEP_SETTING | ||
58 | */ | ||
59 | |||
60 | /* define this if you can flip your LCD | ||
61 | #define HAVE_LCD_FLIP | ||
62 | */ | ||
63 | |||
64 | /* define this if you can invert the colours on your LCD | ||
65 | #define HAVE_LCD_INVERT | ||
66 | */ | ||
67 | |||
68 | /* define this if you have a real-time clock */ | ||
69 | #define CONFIG_RTC RTC_IMX233 | ||
70 | |||
71 | /* define this if you have a real-time clock with alarm facilities */ | ||
72 | #define HAVE_RTC_ALARM | ||
73 | |||
74 | #endif /* !BOOTLOADER */ | ||
75 | |||
76 | /* define this if you have an i.MX23 codec */ | ||
77 | #define HAVE_IMX233_CODEC | ||
78 | |||
79 | #define CONFIG_TUNER TEA5760 | ||
80 | |||
81 | /* There is no hardware tone control */ | ||
82 | #define HAVE_SW_TONE_CONTROLS | ||
83 | |||
84 | #define CONFIG_KEYPAD CREATIVE_ZEN_PAD | ||
85 | |||
86 | /* Define this to enable morse code input */ | ||
87 | #define HAVE_MORSE_INPUT | ||
88 | |||
89 | /* Define this if you do software codec */ | ||
90 | #define CONFIG_CODEC SWCODEC | ||
91 | |||
92 | /* LCD dimensions */ | ||
93 | #define LCD_WIDTH 128 | ||
94 | #define LCD_HEIGHT 160 | ||
95 | #define LCD_DEPTH 16 /* 65536 colours */ | ||
96 | #define LCD_PIXELFORMAT RGB565 /* rgb565 */ | ||
97 | |||
98 | /* Define this if you have a software controlled poweroff */ | ||
99 | #define HAVE_SW_POWEROFF | ||
100 | |||
101 | /* Some devices seem to be FAT16 formatted */ | ||
102 | #define HAVE_FAT16SUPPORT | ||
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 0x80000 | ||
109 | |||
110 | #define AB_REPEAT_ENABLE | ||
111 | |||
112 | /* Define this for LCD backlight available */ | ||
113 | #define HAVE_BACKLIGHT | ||
114 | #define HAVE_BACKLIGHT_BRIGHTNESS | ||
115 | |||
116 | /* Main LCD backlight brightness range and defaults */ | ||
117 | #define MIN_BRIGHTNESS_SETTING 0 | ||
118 | #define MAX_BRIGHTNESS_SETTING 16 | ||
119 | #define DEFAULT_BRIGHTNESS_SETTING 10 | ||
120 | |||
121 | /* Which backlight fading type? */ | ||
122 | #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING | ||
123 | |||
124 | /* define this if you have a flash memory storage */ | ||
125 | #define HAVE_FLASH_STORAGE | ||
126 | |||
127 | /* define this if the flash memory uses the SecureDigital Memory Card protocol */ | ||
128 | #define CONFIG_STORAGE STORAGE_SD | ||
129 | |||
130 | /* todo */ | ||
131 | #define BATTERY_CAPACITY_DEFAULT 550 /* default battery capacity */ | ||
132 | #define BATTERY_CAPACITY_MIN 550 /* min. capacity selectable */ | ||
133 | #define BATTERY_CAPACITY_MAX 550 /* max. capacity selectable */ | ||
134 | #define BATTERY_CAPACITY_INC 0 /* capacity increment */ | ||
135 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
136 | |||
137 | #define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE | ||
138 | |||
139 | /* Charging implemented in a target-specific algorithm */ | ||
140 | //#warning FIXME change this to CHARGING_TARGET when powermgmt is ready | ||
141 | #define CONFIG_CHARGING CHARGING_TARGET | ||
142 | |||
143 | /* define this if the unit can be powered or charged via USB */ | ||
144 | #define HAVE_USB_POWER | ||
145 | |||
146 | /* Define this if you have an IMX233*/ | ||
147 | #define CONFIG_CPU IMX233 | ||
148 | |||
149 | /* Define this if you want to use the IMX233 i2c interface */ | ||
150 | #define CONFIG_I2C I2C_IMX233 | ||
151 | |||
152 | /* define current usage levels (based on battery bench) */ | ||
153 | #define CURRENT_NORMAL 35 | ||
154 | #define CURRENT_BACKLIGHT 30 | ||
155 | #define CURRENT_RECORD CURRENT_NORMAL | ||
156 | |||
157 | /* maximum charging current */ | ||
158 | #define CURRENT_MAX_CHG 200 | ||
159 | |||
160 | /* Define this to the CPU frequency */ | ||
161 | #define CPU_FREQ 454000000 | ||
162 | |||
163 | /* Type of LCD */ | ||
164 | #define CONFIG_LCD LCD_CREATIVEZENMOZAIC | ||
165 | |||
166 | /* Offset ( in the firmware file's header ) to the file CRC and data. These are | ||
167 | only used when loading the old format rockbox.e200 file */ | ||
168 | #define FIRMWARE_OFFSET_FILE_CRC 0x0 | ||
169 | #define FIRMWARE_OFFSET_FILE_DATA 0x8 | ||
170 | |||
171 | /* USB On-the-go */ | ||
172 | #define CONFIG_USBOTG USBOTG_ARC | ||
173 | |||
174 | /* enable these for the experimental usb stack */ | ||
175 | #define HAVE_USBSTACK | ||
176 | //#define USB_HANDLED_BY_OF | ||
177 | #define USE_ROCKBOX_USB | ||
178 | #define USB_VENDOR_ID 0x041e | ||
179 | #define USB_PRODUCT_ID 0x4133 | ||
180 | #define HAVE_USB_HID_MOUSE | ||
181 | #define HAVE_BOOTLOADER_USB_MODE | ||
182 | |||
183 | /* Define this if you have adjustable CPU frequency */ | ||
184 | //#define HAVE_ADJUSTABLE_CPU_FREQ | ||
185 | |||
186 | /* Virtual LED (icon) */ | ||
187 | #define CONFIG_LED LED_VIRTUAL | ||
188 | |||
189 | #define BOOTFILE_EXT "creative" | ||
190 | #define BOOTFILE "rockbox." BOOTFILE_EXT | ||
191 | #define BOOTDIR "/.rockbox" | ||
192 | |||
193 | #define INCLUDE_TIMEOUT_API | ||
diff --git a/firmware/export/config/creativezenxfi.h b/firmware/export/config/creativezenxfi.h new file mode 100644 index 0000000000..b38d455e4d --- /dev/null +++ b/firmware/export/config/creativezenxfi.h | |||
@@ -0,0 +1,200 @@ | |||
1 | /* | ||
2 | * This config file is for the Creative Zen X-Fi | ||
3 | */ | ||
4 | #define IMX233_SUBTARGET 3700 | ||
5 | #define IMX233_PACKAGE IMX233_BGA169 | ||
6 | #define IMX233_PARTITIONS IMX233_CREATIVE | ||
7 | |||
8 | /* For Rolo and boot loader */ | ||
9 | #define MODEL_NUMBER 86 | ||
10 | #define MODEL_NAME "Creative Zen X-Fi" | ||
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 | SRC_CAP_FMRADIO) | ||
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 | |||
49 | /* define this if you would like tagcache to build on this target */ | ||
50 | #define HAVE_TAGCACHE | ||
51 | |||
52 | /* define this if the target has volume keys which can be used in the lists */ | ||
53 | #define HAVE_VOLUME_IN_LIST | ||
54 | |||
55 | /* define this if you have LCD enable function */ | ||
56 | #define HAVE_LCD_ENABLE | ||
57 | |||
58 | /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE | ||
59 | should be defined as well. | ||
60 | #define HAVE_LCD_SLEEP | ||
61 | #define HAVE_LCD_SLEEP_SETTING | ||
62 | */ | ||
63 | |||
64 | /* define this if you can flip your LCD | ||
65 | #define HAVE_LCD_FLIP | ||
66 | */ | ||
67 | |||
68 | /* define this if you can invert the colours on your LCD | ||
69 | #define HAVE_LCD_INVERT | ||
70 | */ | ||
71 | |||
72 | /* define this if you have a real-time clock */ | ||
73 | #define CONFIG_RTC RTC_IMX233 | ||
74 | |||
75 | /* define this if you have a real-time clock with alarm facilities */ | ||
76 | #define HAVE_RTC_ALARM | ||
77 | |||
78 | #endif /* !BOOTLOADER */ | ||
79 | |||
80 | /* define this if you have an i.MX23 codec */ | ||
81 | #define HAVE_IMX233_CODEC | ||
82 | |||
83 | #define CONFIG_TUNER TEA5760 | ||
84 | |||
85 | /* There is no hardware tone control */ | ||
86 | #define HAVE_SW_TONE_CONTROLS | ||
87 | |||
88 | #define CONFIG_KEYPAD CREATIVE_ZEN_PAD | ||
89 | |||
90 | /* Define this to enable morse code input */ | ||
91 | #define HAVE_MORSE_INPUT | ||
92 | |||
93 | /* Define this if you do software codec */ | ||
94 | #define CONFIG_CODEC SWCODEC | ||
95 | |||
96 | /* LCD dimensions */ | ||
97 | #define LCD_WIDTH 320 | ||
98 | #define LCD_HEIGHT 240 | ||
99 | #define LCD_DEPTH 16 /* 65536 colours */ | ||
100 | #define LCD_PIXELFORMAT RGB565 /* rgb565 */ | ||
101 | /* framebuffer uses 24-bit/pix */ | ||
102 | #define IMX233_FRAMEBUFFER_SIZE (LCD_WIDTH * LCD_HEIGHT * 3) | ||
103 | |||
104 | /* Define this if you have a software controlled poweroff */ | ||
105 | #define HAVE_SW_POWEROFF | ||
106 | |||
107 | /* Some Sansa Fuzes seem to be FAT16 formatted */ | ||
108 | #define HAVE_FAT16SUPPORT | ||
109 | |||
110 | /* The number of bytes reserved for loadable codecs */ | ||
111 | #define CODEC_SIZE 0x100000 | ||
112 | |||
113 | /* The number of bytes reserved for loadable plugins */ | ||
114 | #define PLUGIN_BUFFER_SIZE 0x80000 | ||
115 | |||
116 | #define AB_REPEAT_ENABLE | ||
117 | |||
118 | /* Define this for LCD backlight available */ | ||
119 | #define HAVE_BACKLIGHT | ||
120 | #define HAVE_BACKLIGHT_BRIGHTNESS | ||
121 | |||
122 | /* Main LCD backlight brightness range and defaults */ | ||
123 | #define MIN_BRIGHTNESS_SETTING 0 | ||
124 | #define MAX_BRIGHTNESS_SETTING 100 | ||
125 | #define DEFAULT_BRIGHTNESS_SETTING 50 | ||
126 | |||
127 | /* Which backlight fading type? */ | ||
128 | #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING | ||
129 | |||
130 | /* define this if you have a flash memory storage */ | ||
131 | #define HAVE_FLASH_STORAGE | ||
132 | |||
133 | /* define this if the flash memory uses the SecureDigital Memory Card protocol */ | ||
134 | #define CONFIG_STORAGE STORAGE_SD | ||
135 | #define NUM_DRIVES 2 | ||
136 | #define HAVE_MULTIDRIVE | ||
137 | #define HAVE_MULTIVOLUME | ||
138 | #define HAVE_HOTSWAP | ||
139 | |||
140 | /* todo */ | ||
141 | #define BATTERY_CAPACITY_DEFAULT 550 /* default battery capacity */ | ||
142 | #define BATTERY_CAPACITY_MIN 550 /* min. capacity selectable */ | ||
143 | #define BATTERY_CAPACITY_MAX 550 /* max. capacity selectable */ | ||
144 | #define BATTERY_CAPACITY_INC 0 /* capacity increment */ | ||
145 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
146 | |||
147 | #define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE | ||
148 | |||
149 | /* Charging implemented in a target-specific algorithm */ | ||
150 | #define CONFIG_CHARGING CHARGING_TARGET | ||
151 | |||
152 | /* define this if the unit can be powered or charged via USB */ | ||
153 | #define HAVE_USB_POWER | ||
154 | |||
155 | /* Define this if you have an IMX233*/ | ||
156 | #define CONFIG_CPU IMX233 | ||
157 | |||
158 | /* Define this if you want to use the IMX233 i2c interface */ | ||
159 | #define CONFIG_I2C I2C_IMX233 | ||
160 | |||
161 | /* define current usage levels (based on battery bench) */ | ||
162 | #define CURRENT_NORMAL 35 | ||
163 | #define CURRENT_BACKLIGHT 30 | ||
164 | #define CURRENT_RECORD CURRENT_NORMAL | ||
165 | |||
166 | /* maximum charging current */ | ||
167 | #define CURRENT_MAX_CHG 200 | ||
168 | |||
169 | /* Define this to the CPU frequency */ | ||
170 | #define CPU_FREQ 454000000 | ||
171 | |||
172 | /* Type of LCD */ | ||
173 | #define CONFIG_LCD LCD_CREATIVEZEN | ||
174 | |||
175 | /* Offset ( in the firmware file's header ) to the file CRC and data. These are | ||
176 | only used when loading the old format rockbox.e200 file */ | ||
177 | #define FIRMWARE_OFFSET_FILE_CRC 0x0 | ||
178 | #define FIRMWARE_OFFSET_FILE_DATA 0x8 | ||
179 | |||
180 | /* USB On-the-go */ | ||
181 | #define CONFIG_USBOTG USBOTG_ARC | ||
182 | |||
183 | /* enable these for the experimental usb stack */ | ||
184 | #define HAVE_USBSTACK | ||
185 | //#define USB_HANDLED_BY_OF | ||
186 | #define USE_ROCKBOX_USB | ||
187 | #define USB_VENDOR_ID 0x041e | ||
188 | #define USB_PRODUCT_ID 0x4162 | ||
189 | #define HAVE_USB_HID_MOUSE | ||
190 | #define HAVE_BOOTLOADER_USB_MODE | ||
191 | |||
192 | /* Define this if you have adjustable CPU frequency */ | ||
193 | //#define HAVE_ADJUSTABLE_CPU_FREQ | ||
194 | |||
195 | #define BOOTFILE_EXT "creative" | ||
196 | #define BOOTFILE "rockbox." BOOTFILE_EXT | ||
197 | #define BOOTDIR "/.rockbox" | ||
198 | |||
199 | #define INCLUDE_TIMEOUT_API | ||
200 | |||