diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2010-01-18 19:05:20 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2010-01-18 19:05:20 +0000 |
commit | 553626a9582a266f99134f735759e63da0a44714 (patch) | |
tree | 7b336d379e61c632ad0ff775bca2f5d37a80775d /firmware/export/config | |
parent | 39e51cc66e0f9d2afc82515958c1719fdac43332 (diff) | |
download | rockbox-553626a9582a266f99134f735759e63da0a44714.tar.gz rockbox-553626a9582a266f99134f735759e63da0a44714.zip |
Add initial Packard Bell Vibe 500 port, by Szymon Dziok
Author: Szymon Dziok
Flyspray: FS#10912
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24276 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config')
-rw-r--r-- | firmware/export/config/vibe500.h | 193 |
1 files changed, 193 insertions, 0 deletions
diff --git a/firmware/export/config/vibe500.h b/firmware/export/config/vibe500.h new file mode 100644 index 0000000000..2d0b4505dc --- /dev/null +++ b/firmware/export/config/vibe500.h | |||
@@ -0,0 +1,193 @@ | |||
1 | /* | ||
2 | * This config file is for Packard Bell Vibe 500 | ||
3 | */ | ||
4 | #define TARGET_TREE /* this target is using the target tree system */ | ||
5 | |||
6 | /* For Rolo and boot loader */ | ||
7 | #define MODEL_NUMBER 67 | ||
8 | |||
9 | #define MODEL_NAME "Packard Bell Vibe 500" | ||
10 | |||
11 | #define CONFIG_STORAGE STORAGE_ATA | ||
12 | |||
13 | /* define this if you have recording possibility */ | ||
14 | /* line-in, microphone - but not yet :-/ */ | ||
15 | /*#define HAVE_RECORDING*/ | ||
16 | |||
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)*/ | ||
20 | |||
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) | ||
23 | |||
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) | ||
26 | |||
27 | /* define this if you have a bitmap LCD display */ | ||
28 | #define HAVE_LCD_BITMAP | ||
29 | |||
30 | /* define this if you can flip your LCD */ | ||
31 | #define HAVE_LCD_FLIP | ||
32 | |||
33 | /* define this if you can ivert the colours on your LCD */ | ||
34 | #define HAVE_LCD_INVERT | ||
35 | |||
36 | /* define this if you have a colour LCD */ | ||
37 | #define HAVE_LCD_COLOR | ||
38 | |||
39 | /* define this if you want album art for this target */ | ||
40 | #define HAVE_ALBUMART | ||
41 | |||
42 | /* define this to enable bitmap scaling */ | ||
43 | #define HAVE_BMP_SCALING | ||
44 | |||
45 | /* define this to enable JPEG decoding */ | ||
46 | #define HAVE_JPEG | ||
47 | |||
48 | /* define this if you have access to the quickscreen */ | ||
49 | #define HAVE_QUICKSCREEN | ||
50 | |||
51 | /* define this if you have access to the pitchscreen */ | ||
52 | #define HAVE_PITCHSCREEN | ||
53 | |||
54 | /* define this if you would like tagcache to build on this target */ | ||
55 | #define HAVE_TAGCACHE | ||
56 | |||
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 */ | ||
62 | |||
63 | #ifndef BOOTLOADER | ||
64 | /* Define this if your LCD can be enabled/disabled */ | ||
65 | #define HAVE_LCD_ENABLE | ||
66 | |||
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 | ||
72 | |||
73 | #define CONFIG_KEYPAD PBELL_VIBE500_PAD | ||
74 | |||
75 | /* Define this if you do software codec */ | ||
76 | #define CONFIG_CODEC SWCODEC | ||
77 | |||
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*/ | ||
82 | |||
83 | /* that needs spinups and can cause skips when shaked */ | ||
84 | #define HAVE_DISK_STORAGE | ||
85 | |||
86 | /* Define this if you have a software controlled poweroff */ | ||
87 | #define HAVE_SW_POWEROFF | ||
88 | |||
89 | /* The number of bytes reserved for loadable codecs */ | ||
90 | #define CODEC_SIZE 0x100000 | ||
91 | |||
92 | /* The number of bytes reserved for loadable plugins */ | ||
93 | #define PLUGIN_BUFFER_SIZE 0x80000 | ||
94 | |||
95 | /* Define the type of audio codec */ | ||
96 | #define HAVE_WM8731 | ||
97 | |||
98 | /* WM8731 has no tone controls, so we use the software ones */ | ||
99 | #define HAVE_SW_TONE_CONTROLS | ||
100 | |||
101 | #define AB_REPEAT_ENABLE 1 | ||
102 | #define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE | ||
103 | |||
104 | /* Define this for LCD backlight available */ | ||
105 | #define HAVE_BACKLIGHT | ||
106 | #define HAVE_BACKLIGHT_BRIGHTNESS | ||
107 | |||
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 | ||
112 | |||
113 | /* define this if you have a light associated with the buttons */ | ||
114 | #define HAVE_BUTTON_LIGHT | ||
115 | #define HAVE_BUTTONLIGHT_BRIGHTNESS /* for compatibility */ | ||
116 | |||
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 */ | ||
122 | |||
123 | /* Hardware controlled charging, software can monitor plug and charge state */ | ||
124 | #define CONFIG_CHARGING CHARGING_SIMPLE | ||
125 | |||
126 | /* define this if the unit can be powered or charged via USB */ | ||
127 | #define HAVE_USB_POWER | ||
128 | |||
129 | /* Define this if you have a PortalPlayer PP5020 */ | ||
130 | #define CONFIG_CPU PP5020 | ||
131 | |||
132 | /* Define this if you want to use the PP5022 i2c interface */ | ||
133 | #define CONFIG_I2C I2C_PP5020 | ||
134 | |||
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 */ | ||
138 | |||
139 | /* The start address index for ROM builds */ | ||
140 | #define ROM_START 0x00000000 | ||
141 | |||
142 | /* The size of the flash ROM */ | ||
143 | #define FLASH_SIZE 0x80000 | ||
144 | |||
145 | /* Define this to the CPU frequency */ | ||
146 | #define CPU_FREQ 75000000 | ||
147 | |||
148 | #define CONFIG_LCD LCD_VIBE500 | ||
149 | |||
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 */ | ||
155 | |||
156 | /* We're able to shut off power to the HDD */ | ||
157 | #define HAVE_ATA_POWER_OFF | ||
158 | |||
159 | /* Offset ( in the firmware file's header ) to the file length */ | ||
160 | #define FIRMWARE_OFFSET_FILE_LENGTH 0 | ||
161 | |||
162 | /* Offset ( in the firmware file's header ) to the file CRC */ | ||
163 | #define FIRMWARE_OFFSET_FILE_CRC 0 | ||
164 | |||
165 | /* Offset ( in the firmware file's header ) to the real data */ | ||
166 | #define FIRMWARE_OFFSET_FILE_DATA 8 | ||
167 | |||
168 | /* USB On-the-go */ | ||
169 | #define CONFIG_USBOTG USBOTG_ARC | ||
170 | |||
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 | ||
177 | |||
178 | /* Define this if you have adjustable CPU frequency */ | ||
179 | #define HAVE_ADJUSTABLE_CPU_FREQ | ||
180 | |||
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 */ | ||
184 | |||
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 */ | ||
188 | |||
189 | #define BOOTFILE_EXT "mi4" | ||
190 | #define BOOTFILE "rockbox." BOOTFILE_EXT | ||
191 | #define BOOTDIR "/.system" | ||
192 | |||
193 | #define ICODE_ATTR_TREMOR_NOT_MDCT | ||