diff options
Diffstat (limited to 'firmware/export/config-creativezvm.h')
-rw-r--r-- | firmware/export/config-creativezvm.h | 60 |
1 files changed, 38 insertions, 22 deletions
diff --git a/firmware/export/config-creativezvm.h b/firmware/export/config-creativezvm.h index 0b91510146..f5ec33317e 100644 --- a/firmware/export/config-creativezvm.h +++ b/firmware/export/config-creativezvm.h | |||
@@ -27,7 +27,7 @@ | |||
27 | #define CREATIVE_ZVM 1 | 27 | #define CREATIVE_ZVM 1 |
28 | 28 | ||
29 | /* For Rolo and boot loader */ | 29 | /* For Rolo and boot loader */ |
30 | #define MODEL_NUMBER 35 | 30 | #define MODEL_NUMBER 26 |
31 | 31 | ||
32 | /* define this if you use an ATA controller */ | 32 | /* define this if you use an ATA controller */ |
33 | #define HAVE_ATA | 33 | #define HAVE_ATA |
@@ -65,15 +65,12 @@ | |||
65 | /* Define this if your LCD can be enabled/disabled */ | 65 | /* Define this if your LCD can be enabled/disabled */ |
66 | #define HAVE_LCD_ENABLE | 66 | #define HAVE_LCD_ENABLE |
67 | 67 | ||
68 | #define LCD_REMOTE_PIXELFORMAT VERTICAL_PACKING | 68 | #define CONFIG_KEYPAD CREATIVEZVM_PAD |
69 | 69 | #define HAS_BUTTON_HOLD | |
70 | #define MIN_REMOTE_CONTRAST_SETTING 0 | 70 | #define HAVE_HEADPHONE_DETECTION |
71 | #define MAX_REMOTE_CONTRAST_SETTING 15 | ||
72 | #define DEFAULT_REMOTE_CONTRAST_SETTING 7 | ||
73 | |||
74 | #define CONFIG_KEYPAD MROBE500_PAD | ||
75 | //#define HAVE_TOUCHPAD | 71 | //#define HAVE_TOUCHPAD |
76 | #define HAVE_BUTTON_DATA | 72 | |
73 | #define CONFIG_I2C I2C_DM320 | ||
77 | 74 | ||
78 | /* Define this if you do software codec */ | 75 | /* Define this if you do software codec */ |
79 | #define CONFIG_CODEC SWCODEC | 76 | #define CONFIG_CODEC SWCODEC |
@@ -84,16 +81,17 @@ | |||
84 | /* Define this for LCD backlight available */ | 81 | /* Define this for LCD backlight available */ |
85 | //#define HAVE_BACKLIGHT | 82 | //#define HAVE_BACKLIGHT |
86 | 83 | ||
87 | #define HAVE_BACKLIGHT_BRIGHTNESS | 84 | //#define HAVE_BACKLIGHT_BRIGHTNESS |
88 | 85 | ||
89 | /* Main LCD backlight brightness range and defaults */ | 86 | /* Main LCD backlight brightness range and defaults */ |
90 | #define MIN_BRIGHTNESS_SETTING 0 | 87 | //#define MIN_BRIGHTNESS_SETTING 0 |
91 | #define MAX_BRIGHTNESS_SETTING 127 | 88 | //#define MAX_BRIGHTNESS_SETTING 127 |
92 | #define DEFAULT_BRIGHTNESS_SETTING 85 /* OF "full brightness" */ | 89 | //#define DEFAULT_BRIGHTNESS_SETTING 85 /* OF "full brightness" */ |
93 | #define DEFAULT_DIMNESS_SETTING 22 /* OF "most dim" */ | 90 | //#define DEFAULT_DIMNESS_SETTING 22 /* OF "most dim" */ |
94 | 91 | ||
95 | /* Define this if you have a software controlled poweroff */ | 92 | /* Define this if you have a software controlled poweroff */ |
96 | #define HAVE_SW_POWEROFF | 93 | //#define HAVE_SW_POWEROFF |
94 | //TODO: enable this back | ||
97 | 95 | ||
98 | /* The number of bytes reserved for loadable codecs */ | 96 | /* The number of bytes reserved for loadable codecs */ |
99 | #define CODEC_SIZE 0x80000 | 97 | #define CODEC_SIZE 0x80000 |
@@ -104,11 +102,11 @@ | |||
104 | /* Define this if you have the TLV320 audio codec */ | 102 | /* Define this if you have the TLV320 audio codec */ |
105 | //#define HAVE_TLV320 | 103 | //#define HAVE_TLV320 |
106 | 104 | ||
107 | /* Define this if you want to use the adaptive bass capibility of the 8751 */ | 105 | /* TLV320 has no tone controls, so we use the software ones */ |
108 | /* #define USE_ADAPTIVE_BASS */ | 106 | //#define HAVE_SW_TONE_CONTROLS |
109 | 107 | ||
110 | #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \ | 108 | /*#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \ |
111 | SAMPR_CAP_11) | 109 | SAMPR_CAP_11)*/ |
112 | 110 | ||
113 | #define BATTERY_CAPACITY_DEFAULT 1100 /* default battery capacity */ | 111 | #define BATTERY_CAPACITY_DEFAULT 1100 /* default battery capacity */ |
114 | #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */ | 112 | #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */ |
@@ -117,7 +115,7 @@ | |||
117 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | 115 | #define BATTERY_TYPES_COUNT 1 /* only one type */ |
118 | 116 | ||
119 | /* Hardware controlled charging with monitoring */ | 117 | /* Hardware controlled charging with monitoring */ |
120 | #define CONFIG_CHARGING CHARGING_MONITOR | 118 | //#define CONFIG_CHARGING CHARGING_MONITOR |
121 | 119 | ||
122 | #ifndef SIMULATOR | 120 | #ifndef SIMULATOR |
123 | 121 | ||
@@ -127,8 +125,7 @@ | |||
127 | /* Define this if you have a Texas Instruments TSC2100 touch screen */ | 125 | /* Define this if you have a Texas Instruments TSC2100 touch screen */ |
128 | //#define HAVE_TSC2100 | 126 | //#define HAVE_TSC2100 |
129 | 127 | ||
130 | /* Define this if you want to use coldfire's i2c interface */ | 128 | #define CONFIG_USBOTG USBOTG_ISP1583 |
131 | //#define CONFIG_I2C I2C_S3C2440 | ||
132 | 129 | ||
133 | /* define this if the hardware can be powered off while charging */ | 130 | /* define this if the hardware can be powered off while charging */ |
134 | #define HAVE_POWEROFF_WHILE_CHARGING | 131 | #define HAVE_POWEROFF_WHILE_CHARGING |
@@ -161,4 +158,23 @@ | |||
161 | #define BOOTFILE "rockbox." BOOTFILE_EXT | 158 | #define BOOTFILE "rockbox." BOOTFILE_EXT |
162 | #define BOOTDIR "/.rockbox" | 159 | #define BOOTDIR "/.rockbox" |
163 | 160 | ||
161 | #define HAVE_USBSTACK | ||
162 | #define USB_VENDOR_ID 0x041e | ||
163 | #define USB_PRODUCT_ID 0x4133 | ||
164 | |||
165 | #define USB_SERIAL | ||
166 | |||
167 | //DEBUGGING! | ||
168 | #ifdef BOOTLOADER | ||
169 | #define THREAD_EXTRA_CHECKS 1 | ||
170 | #define DEBUG 1 | ||
171 | #define debug(msg) printf(msg) | ||
172 | #define BUTTON_DEBUG | ||
173 | |||
174 | #define DO_THREAD_TEST | ||
175 | #endif | ||
176 | |||
177 | |||
178 | //Uncomment next line to make this build Zen Vision compatible | ||
179 | //#define ZEN_VISION | ||
164 | #endif | 180 | #endif |