summaryrefslogtreecommitdiff
path: root/firmware/export/config-sa9200.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config-sa9200.h')
-rwxr-xr-xfirmware/export/config-sa9200.h196
1 files changed, 196 insertions, 0 deletions
diff --git a/firmware/export/config-sa9200.h b/firmware/export/config-sa9200.h
new file mode 100755
index 0000000000..7af50b5145
--- /dev/null
+++ b/firmware/export/config-sa9200.h
@@ -0,0 +1,196 @@
1/*
2 * This config file is for the Philips GoGear SA9200
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 34
8#define MODEL_NAME "Philips GoGear SA200"
9
10#define HW_SAMPR_CAPS (SAMPR_CAP_44)
11
12/* define this if you have a bitmap LCD display */
13#define HAVE_LCD_BITMAP
14
15/* define this if you have a colour LCD */
16#define HAVE_LCD_COLOR
17
18/* define this if you want album art for this target */
19#define HAVE_ALBUMART
20
21/* define this to enable bitmap scaling */
22#define HAVE_BMP_SCALING
23
24/* define this to enable JPEG decoding */
25#define HAVE_JPEG
26
27/* define this if you have a light associated with the buttons */
28#define HAVE_BUTTON_LIGHT
29
30/* define this if you have access to the quickscreen */
31#define HAVE_QUICKSCREEN
32
33/* define this if you have access to the pitchscreen */
34#define HAVE_PITCHSCREEN
35
36/* define this if you would like tagcache to build on this target */
37#define HAVE_TAGCACHE
38
39/* LCD dimensions */
40#define LCD_WIDTH 128
41#define LCD_HEIGHT 160
42#define LCD_DEPTH 16 /* 65536 colours */
43#define LCD_PIXELFORMAT RGB565 /* rgb565 */
44
45#ifndef BOOTLOADER
46/* define this if you have LCD enable function */
47#define HAVE_LCD_ENABLE
48
49/* Define this if your LCD can be put to sleep.
50 HAVE_LCD_ENABLE should be defined as well. */
51#define HAVE_LCD_SLEEP
52#define HAVE_LCD_SLEEP_SETTING
53#endif
54
55/* define this if you can flip your LCD */
56#define HAVE_LCD_FLIP
57
58/* define this if you can invert the colours on your LCD */
59#define HAVE_LCD_INVERT
60
61/* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */
62
63#define CONFIG_KEYPAD PHILIPS_SA9200_PAD
64
65/* define this if the target has volume keys which can be used in the lists */
66#define HAVE_VOLUME_IN_LIST
67
68/* Define this if you do software codec */
69#define CONFIG_CODEC SWCODEC
70
71/* There is no hardware tone control */
72#define HAVE_SW_TONE_CONTROLS
73
74/* The PP5024 has a built-in AustriaMicrosystems AS3514 */
75#define HAVE_AS3514
76
77/* define this if you have a real-time clock */
78#ifndef BOOTLOADER
79#define CONFIG_RTC RTC_AS3514
80#endif
81
82/* Define this if you have a software controlled poweroff */
83#define HAVE_SW_POWEROFF
84
85/* Some Sansa E200s seem to be FAT16 formatted */
86#define HAVE_FAT16SUPPORT
87
88/* The number of bytes reserved for loadable codecs */
89#define CODEC_SIZE 0x100000
90
91/* The number of bytes reserved for loadable plugins */
92#define PLUGIN_BUFFER_SIZE 0x80000
93
94#define AB_REPEAT_ENABLE 1
95
96/* Define this for LCD backlight available */
97#define HAVE_BACKLIGHT
98#define HAVE_BACKLIGHT_BRIGHTNESS
99
100/* Main LCD backlight brightness range and defaults */
101#define MIN_BRIGHTNESS_SETTING 1
102#define MAX_BRIGHTNESS_SETTING 12
103#define DEFAULT_BRIGHTNESS_SETTING 6
104
105/* Which backlight fading type? */
106#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING
107
108/* define this if you have a light associated with the buttons */
109#define HAVE_BUTTON_LIGHT
110/* Can't control the brightness on all the buttons */
111/* #define HAVE_BUTTONLIGHT_BRIGHTNESS */
112
113/* define this if you have a flash memory storage */
114#define HAVE_FLASH_STORAGE
115
116/* define this if the flash memory uses the SecureDigital Memory Card protocol */
117#define CONFIG_STORAGE STORAGE_SD
118
119#define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */
120#define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */
121#define BATTERY_CAPACITY_MAX 750 /* max. capacity selectable */
122#define BATTERY_CAPACITY_INC 0 /* capacity increment */
123#define BATTERY_TYPES_COUNT 1 /* only one type */
124
125/* Charging implemented in a target-specific algorithm */
126#define CONFIG_CHARGING CHARGING_TARGET
127#define HAVE_POWEROFF_WHILE_CHARGING
128
129/* define current usage levels (copied from the e200v1 )*/
130#define CURRENT_NORMAL 30 /* Toni's measurements in Nov 2008 */
131#define CURRENT_BACKLIGHT 40 /* Screen is about 20, blue LEDs are another 20, so 40 if both */
132#define CURRENT_RECORD 30 /* flash player, so this is just unboosted current*/
133
134/* define this if the unit can be powered or charged via USB */
135#define HAVE_USB_POWER
136
137/** Non-simulator section **/
138#ifndef SIMULATOR
139
140/* Define this if you have a PortalPlayer PP5024 */
141#define CONFIG_CPU PP5024
142
143/* Define this if you want to use the PP5024 i2c interface */
144#define CONFIG_I2C I2C_PP5024
145
146/* define this if the hardware can be powered off while charging */
147/* Sansa can't be powered off while charging */
148/* #define HAVE_POWEROFF_WHILE_CHARGING */
149
150/* The start address index for ROM builds */
151#define ROM_START 0x00000000
152
153/* Define this to the CPU frequency */
154#define CPU_FREQ 75000000
155
156/* Type of LCD */
157#define CONFIG_LCD LCD_SA9200
158
159/* Define this if your LCD can set contrast */
160#define HAVE_LCD_CONTRAST
161
162#define MIN_CONTRAST_SETTING 0
163#define MAX_CONTRAST_SETTING 31
164#define DEFAULT_CONTRAST_SETTING 22 /* Match boot contrast */
165
166/* USB On-the-go */
167#define CONFIG_USBOTG USBOTG_ARC
168
169/* enable these for the experimental usb stack */
170#define HAVE_USBSTACK
171#define USE_ROCKBOX_USB
172#define USB_VENDOR_ID 0x0471
173#define USB_PRODUCT_ID 0x014f
174
175/* WARNING! Enable Rockbox USB mass storage. */
176#ifndef BOOTLOADER
177#define USE_ROCKBOX_USB
178#endif
179
180/* Define this if you have adjustable CPU frequency */
181#define HAVE_ADJUSTABLE_CPU_FREQ
182
183#define MI4_FORMAT
184#define BOOTFILE_EXT "mi4"
185#define BOOTFILE "rockbox." BOOTFILE_EXT
186#define BOOTDIR "/.rockbox"
187
188/* These values are unused, but need to be defined */
189#define FIRMWARE_OFFSET_FILE_CRC 0x0
190#define FIRMWARE_OFFSET_FILE_DATA 0x8
191
192#define ICODE_ATTR_TREMOR_NOT_MDCT
193
194#define INCLUDE_TIMEOUT_API
195
196#endif /* SIMULATOR */