PBell vibe 500: ROLO fix
[kugel-rb.git] / firmware / export / config / vibe500.h
blob915b93b1c6453ac5725bf018c353b6908ad992f4
1 /*
2 * This config file is for Packard Bell Vibe 500
3 */
4 #define TARGET_TREE /* this target is using the target tree system */
6 /* For Rolo and boot loader */
7 #define MODEL_NUMBER 67
9 #define MODEL_NAME "Packard Bell Vibe 500"
11 #define CONFIG_STORAGE STORAGE_ATA
13 /* define this if you have recording possibility */
14 /* line-in, microphone - but not yet :-/ */
15 /*#define HAVE_RECORDING*/
17 /* Define bitmask of input sources - recordable bitmask can be defined
18 explicitly if different */
19 /*#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO)*/
21 /* define the bitmask of hardware sample rates */
22 #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
24 /* define the bitmask of recording sample rates */
25 #define REC_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
27 /* define this if you have a bitmap LCD display */
28 #define HAVE_LCD_BITMAP
30 /* define this if you can flip your LCD */
31 #define HAVE_LCD_FLIP
33 /* define this if you can ivert the colours on your LCD */
34 #define HAVE_LCD_INVERT
36 /* define this if you have a colour LCD */
37 #define HAVE_LCD_COLOR
39 /* define this if you want album art for this target */
40 #define HAVE_ALBUMART
42 /* define this to enable bitmap scaling */
43 #define HAVE_BMP_SCALING
45 /* define this to enable JPEG decoding */
46 #define HAVE_JPEG
48 /* define this if you have access to the quickscreen */
49 #define HAVE_QUICKSCREEN
51 /* define this if you have access to the pitchscreen */
52 #define HAVE_PITCHSCREEN
54 /* define this if you would like tagcache to build on this target */
55 #define HAVE_TAGCACHE
57 /* LCD dimensions */
58 #define LCD_WIDTH 160
59 #define LCD_HEIGHT 128
60 #define LCD_DEPTH 16 /* 65536 colors */
61 #define LCD_PIXELFORMAT RGB565SWAPPED /* rgb565 */
63 #ifndef BOOTLOADER
64 /* Define this if your LCD can be enabled/disabled */
65 #define HAVE_LCD_ENABLE
67 /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
68 should be defined as well. */
69 #define HAVE_LCD_SLEEP
70 #define HAVE_LCD_SLEEP_SETTING
71 #endif
73 #define CONFIG_KEYPAD PBELL_VIBE500_PAD
75 /* Define this if you do software codec */
76 #define CONFIG_CODEC SWCODEC
78 /* define this if you have a real-time clock */
79 /* RTC is individual - Philips 8563T - not yet implemented */
80 /*#define CONFIG_RTC RTC_S5L8700
81 #define CONFIG_RTC RTC_S35390A*/
83 /* that needs spinups and can cause skips when shaked */
84 #define HAVE_DISK_STORAGE
86 /* Define this if you have a software controlled poweroff */
87 #define HAVE_SW_POWEROFF
89 /* The number of bytes reserved for loadable codecs */
90 #define CODEC_SIZE 0x100000
92 /* The number of bytes reserved for loadable plugins */
93 #define PLUGIN_BUFFER_SIZE 0x80000
95 /* Define the type of audio codec */
96 #define HAVE_WM8731
98 /* WM8731 has no tone controls, so we use the software ones */
99 #define HAVE_SW_TONE_CONTROLS
101 #define AB_REPEAT_ENABLE 1
102 #define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
104 /* Define this for LCD backlight available */
105 #define HAVE_BACKLIGHT
106 #define HAVE_BACKLIGHT_BRIGHTNESS
108 /* Main LCD backlight brightness range and defaults */
109 #define MIN_BRIGHTNESS_SETTING 1
110 #define MAX_BRIGHTNESS_SETTING 16
111 #define DEFAULT_BRIGHTNESS_SETTING 10
113 /* define this if you have a light associated with the buttons */
114 #define HAVE_BUTTON_LIGHT
115 #define HAVE_BUTTONLIGHT_BRIGHTNESS /* for compatibility */
117 #define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */
118 #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
119 #define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable */
120 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
121 #define BATTERY_TYPES_COUNT 1 /* only one type */
123 /* Hardware controlled charging, software can monitor plug and charge state */
124 #define CONFIG_CHARGING CHARGING_SIMPLE
126 /* define this if the unit can be powered or charged via USB */
127 #define HAVE_USB_POWER
129 /* Define this if you have a PortalPlayer PP5020 */
130 #define CONFIG_CPU PP5020
132 /* Define this if you want to use the PP5022 i2c interface */
133 #define CONFIG_I2C I2C_PP5020
135 /* define this if the hardware can be powered off while charging */
136 /* It is possible to do it (OF seems to do that) but the method is unknown yet */
137 /* #define HAVE_POWEROFF_WHILE_CHARGING */
139 /* The start address index for ROM builds */
140 #define ROM_START 0x00000000
142 /* The size of the flash ROM */
143 #define FLASH_SIZE 0x80000
145 /* Define this to the CPU frequency */
146 #define CPU_FREQ 75000000
148 #define CONFIG_LCD LCD_VIBE500
150 /* Define this if your LCD can set contrast */
151 #define HAVE_LCD_CONTRAST
152 #define MIN_CONTRAST_SETTING 0
153 #define MAX_CONTRAST_SETTING 16
154 #define DEFAULT_CONTRAST_SETTING 10 /* OF */
156 /* We're able to shut off power to the HDD */
157 #define HAVE_ATA_POWER_OFF
159 /* Offset ( in the firmware file's header ) to the file length */
160 #define FIRMWARE_OFFSET_FILE_LENGTH 0
162 /* Offset ( in the firmware file's header ) to the file CRC */
163 #define FIRMWARE_OFFSET_FILE_CRC 0
165 /* Offset ( in the firmware file's header ) to the real data */
166 #define FIRMWARE_OFFSET_FILE_DATA 8
168 /* USB On-the-go */
169 #define CONFIG_USBOTG USBOTG_ARC
171 /* enable these for the experimental usb stack */
172 #define HAVE_USBSTACK
173 #define USE_ROCKBOX_USB
174 #define USB_VENDOR_ID 0x0409
175 #define USB_PRODUCT_ID 0x8038
176 #define HAVE_USB_HID_MOUSE
178 /* Define this if you have adjustable CPU frequency */
179 #define HAVE_ADJUSTABLE_CPU_FREQ
181 /* define this if the device has larger sectors when accessed via USB */
182 /* (only relevant in disk.c, fat.c now always supports large virtual sectors) */
183 /* #define MAX_LOG_SECTOR_SIZE 2048 */
185 /* define this if the hard drive uses large physical sectors (ATA-7 feature) */
186 /* and doesn't handle them in the drive firmware */
187 /* #define MAX_PHYS_SECTOR_SIZE 1024 */
189 #define MI4_FORMAT
190 #define BOOTFILE_EXT "mi4"
191 #define BOOTFILE "rockbox." BOOTFILE_EXT
192 #define BOOTDIR "/.system"
194 #define ICODE_ATTR_TREMOR_NOT_MDCT