summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config.h4
-rw-r--r--firmware/export/config/gogearhdd1630.h2
-rw-r--r--firmware/export/config/gogearhdd6330.h202
-rw-r--r--firmware/export/usb.h3
4 files changed, 210 insertions, 1 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 114952e211..3997ce4b0c 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -114,6 +114,7 @@
114#define ONDAVX777_PAD 39 114#define ONDAVX777_PAD 39
115#define SAMSUNG_YPS3_PAD 40 115#define SAMSUNG_YPS3_PAD 40
116#define MINI2440_PAD 41 116#define MINI2440_PAD 41
117#define PHILIPS_HDD6330_PAD 42
117 118
118/* CONFIG_REMOTE_KEYPAD */ 119/* CONFIG_REMOTE_KEYPAD */
119#define H100_REMOTE 1 120#define H100_REMOTE 1
@@ -194,6 +195,7 @@
194#define LCD_VIEW 35 /* as used by the Sansa View */ 195#define LCD_VIEW 35 /* as used by the Sansa View */
195#define LCD_NANO2G 36 /* as used by the iPod Nano 2nd Generation */ 196#define LCD_NANO2G 36 /* as used by the iPod Nano 2nd Generation */
196#define LCD_MINI2440 37 /* as used by the Mini2440 */ 197#define LCD_MINI2440 37 /* as used by the Mini2440 */
198#define LCD_HDD6330 38 /* as used by the Philips HDD6330 */
197 199
198/* LCD_PIXELFORMAT */ 200/* LCD_PIXELFORMAT */
199#define HORIZONTAL_PACKING 1 201#define HORIZONTAL_PACKING 1
@@ -359,6 +361,8 @@ Lyre prototype 1 */
359#include "config/gogearsa9200.h" 361#include "config/gogearsa9200.h"
360#elif defined(PHILIPS_HDD1630) 362#elif defined(PHILIPS_HDD1630)
361#include "config/gogearhdd1630.h" 363#include "config/gogearhdd1630.h"
364#elif defined(PHILIPS_HDD6330)
365#include "config/gogearhdd6330.h"
362#elif defined(SANSA_C100) 366#elif defined(SANSA_C100)
363#include "config/sansac100.h" 367#include "config/sansac100.h"
364#elif defined(MEIZU_M6SL) 368#elif defined(MEIZU_M6SL)
diff --git a/firmware/export/config/gogearhdd1630.h b/firmware/export/config/gogearhdd1630.h
index c9a3b035ca..912ba427c0 100644
--- a/firmware/export/config/gogearhdd1630.h
+++ b/firmware/export/config/gogearhdd1630.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * This config file is for the Philips GoGear HDD16x0/HDD63x0 2 * This config file is for the Philips GoGear HDD16x0/HDD18x0
3 */ 3 */
4 4
5#define TARGET_TREE /* this target is using the target tree system */ 5#define TARGET_TREE /* this target is using the target tree system */
diff --git a/firmware/export/config/gogearhdd6330.h b/firmware/export/config/gogearhdd6330.h
new file mode 100644
index 0000000000..26da200ce1
--- /dev/null
+++ b/firmware/export/config/gogearhdd6330.h
@@ -0,0 +1,202 @@
1/*
2 * This config file is for the Philips GoGear HDD63x0
3 */
4
5#define TARGET_TREE /* this target is using the target tree system */
6
7/* For Rolo and boot loader */
8#define MODEL_NUMBER 65
9#define MODEL_NAME "Philips GoGear HDD63x0"
10
11/* define this if you use an ATA controller */
12#define CONFIG_STORAGE STORAGE_ATA
13
14/* define this if you have recording possibility */
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_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
23 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8)
24
25/* define the bitmask of recording sample rates */
26#define REC_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
27 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8)
28
29/* define this if you have a bitmap LCD display */
30#define HAVE_LCD_BITMAP
31
32/* define this if you have a colour LCD */
33#define HAVE_LCD_COLOR
34
35/* define this if you want album art for this target */
36#define HAVE_ALBUMART
37
38/* define this to enable bitmap scaling */
39#define HAVE_BMP_SCALING
40
41/* define this to enable JPEG decoding */
42#define HAVE_JPEG
43
44/* define this if you have access to the quickscreen */
45#define HAVE_QUICKSCREEN
46
47/* define this if you have access to the pitchscreen */
48#define HAVE_PITCHSCREEN
49
50/* define this if you would like tagcache to build on this target */
51#define HAVE_TAGCACHE
52
53/* LCD dimensions */
54#define LCD_WIDTH 220
55#define LCD_HEIGHT 176
56#define LCD_DEPTH 16 /* 65536 colours */
57#define LCD_PIXELFORMAT RGB565 /* rgb565 byte-swapped */
58
59#ifndef BOOTLOADER
60/* Define this if your LCD can be enabled/disabled */
61/* #define HAVE_LCD_ENABLE */
62
63/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
64 * should be defined as well.
65 * We can currently put the lcd to sleep but it won't wake up properly */
66/* #define HAVE_LCD_SLEEP */
67/* #define HAVE_LCD_SLEEP_SETTING */
68#endif
69
70/* define this if you can flip your LCD */
71/* #define HAVE_LCD_FLIP */
72
73/* define this if you can invert the colours on your LCD */
74/* #define HAVE_LCD_INVERT */
75
76/* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */
77
78#define CONFIG_KEYPAD PHILIPS_HDD6330_PAD
79
80/* Define this to enable morse code input */
81#define HAVE_MORSE_INPUT
82
83/* define this if the target has volume keys which can be used in the lists */
84#define HAVE_VOLUME_IN_LIST
85
86/* Define this if you do software codec */
87#define CONFIG_CODEC SWCODEC
88
89/* define this if you have a real-time clock. The HDD16x0 has a PCF8563 RTC,
90 but it's register compatible with the E8564. */
91#ifndef BOOTLOADER
92#define CONFIG_RTC RTC_E8564
93#define HAVE_RTC_ALARM
94#endif
95
96/* Define this if you have a software controlled poweroff */
97#define HAVE_SW_POWEROFF
98
99/* The number of bytes reserved for loadable codecs */
100#define CODEC_SIZE 0x100000
101
102/* The number of bytes reserved for loadable plugins */
103#define PLUGIN_BUFFER_SIZE 0x80000
104
105/* Define this if you have the WM8731 audio codec */
106#define HAVE_WM8731
107
108/* WM8731 has no tone controls, so we use the software ones */
109#define HAVE_SW_TONE_CONTROLS
110
111/* TODO: #define AB_REPEAT_ENABLE 1 */
112
113/* FM Tuner */
114#define CONFIG_TUNER TEA5767
115#define CONFIG_TUNER_XTAL 32768
116
117/* define this if you have a disk storage, i.e. something
118 that needs spinups and can cause skips when shaked */
119#define HAVE_DISK_STORAGE
120
121/* Define this for LCD backlight available */
122#define HAVE_BACKLIGHT
123#define HAVE_BACKLIGHT_BRIGHTNESS
124/* #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING */
125
126/* Main LCD backlight brightness range and defaults */
127#define MIN_BRIGHTNESS_SETTING 1
128#define MAX_BRIGHTNESS_SETTING 16
129#define DEFAULT_BRIGHTNESS_SETTING 13 /* match OF brightness */
130
131/* define this if you have a light associated with the buttons */
132#define HAVE_BUTTON_LIGHT
133#define HAVE_BUTTONLIGHT_BRIGHTNESS
134
135#define BATTERY_CAPACITY_DEFAULT 630 /* default battery capacity */
136#define BATTERY_CAPACITY_MIN 630 /* min. capacity selectable */
137#define BATTERY_CAPACITY_MAX 630 /* max. capacity selectable */
138#define BATTERY_CAPACITY_INC 0 /* capacity increment */
139#define BATTERY_TYPES_COUNT 1 /* only one type */
140
141/* Hardware controlled charging */
142#define CONFIG_CHARGING CHARGING_SIMPLE
143
144/* define this if the unit can be powered or charged via USB */
145#define HAVE_USB_POWER
146
147/* Define this if you have a PortalPlayer PP5020 */
148#define CONFIG_CPU PP5022
149
150/* Define this if you want to use the PP5020 i2c interface */
151#define CONFIG_I2C I2C_PP5020
152
153/* define this if the hardware can be powered off while charging */
154#define HAVE_POWEROFF_WHILE_CHARGING
155
156/* The start address index for ROM builds */
157#define ROM_START 0x00000000
158
159/* The size of the flash ROM */
160#define FLASH_SIZE 0x100000
161
162/* Define this to the CPU frequency */
163#define CPU_FREQ 75000000
164
165/* Type of LCD */
166#define CONFIG_LCD LCD_HDD6330
167
168/* Define this if your LCD can set contrast */
169/* #define HAVE_LCD_CONTRAST */
170
171#define MIN_CONTRAST_SETTING 0
172#define MAX_CONTRAST_SETTING 127
173#define DEFAULT_CONTRAST_SETTING 63 /* Match boot contrast */
174
175/* We're able to shut off power to the HDD */
176#define HAVE_ATA_POWER_OFF
177
178/* Offset ( in the firmware file's header ) to the file CRC and data. These are
179 only used when loading the old format rockbox.e200 file */
180#define FIRMWARE_OFFSET_FILE_CRC 0x0
181#define FIRMWARE_OFFSET_FILE_DATA 0x8
182
183/* USB On-the-go */
184#define CONFIG_USBOTG USBOTG_ARC
185
186/* enable these for the experimental usb stack */
187#define HAVE_USBSTACK
188#define USE_ROCKBOX_USB
189#define USB_VENDOR_ID 0x0471
190#define USB_PRODUCT_ID 0x014C
191#define HAVE_USB_HID_MOUSE
192
193/* Define this if you have adjustable CPU frequency */
194#define HAVE_ADJUSTABLE_CPU_FREQ
195
196#define MI4_FORMAT
197#define BOOTFILE_EXT "mi4"
198#define BOOTFILE "rockbox." BOOTFILE_EXT
199#define BOOTDIR "/.rockbox"
200
201#define ICODE_ATTR_TREMOR_NOT_MDCT
202
diff --git a/firmware/export/usb.h b/firmware/export/usb.h
index 42c0a93016..59c0004416 100644
--- a/firmware/export/usb.h
+++ b/firmware/export/usb.h
@@ -86,6 +86,9 @@ enum {
86#elif CONFIG_KEYPAD == PHILIPS_HDD1630_PAD 86#elif CONFIG_KEYPAD == PHILIPS_HDD1630_PAD
87#define USBPOWER_BUTTON BUTTON_PLAYLIST 87#define USBPOWER_BUTTON BUTTON_PLAYLIST
88#define USBPOWER_BTN_IGNORE BUTTON_POWER 88#define USBPOWER_BTN_IGNORE BUTTON_POWER
89#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD
90#define USBPOWER_BUTTON BUTTON_SELECT
91#define USBPOWER_BTN_IGNORE BUTTON_POWER
89#elif CONFIG_KEYPAD == SAMSUNG_YH_PAD 92#elif CONFIG_KEYPAD == SAMSUNG_YH_PAD
90#define USBPOWER_BUTTON BUTTON_RIGHT 93#define USBPOWER_BUTTON BUTTON_RIGHT
91#define USBPOWER_BTN_IGNORE BUTTON_LEFT 94#define USBPOWER_BTN_IGNORE BUTTON_LEFT