2 * This config file is for the Philips GoGear SA9200
5 /* For Rolo and boot loader */
6 #define MODEL_NUMBER 34
7 #define MODEL_NAME "Philips GoGear SA9200"
9 #define HW_SAMPR_CAPS (SAMPR_CAP_44)
11 /* define this if you have a bitmap LCD display */
12 #define HAVE_LCD_BITMAP
14 /* define this if you have a colour LCD */
15 #define HAVE_LCD_COLOR
17 /* define this if you want album art for this target */
20 /* define this to enable bitmap scaling */
21 #define HAVE_BMP_SCALING
23 /* define this to enable JPEG decoding */
26 /* define this if you have a light associated with the buttons */
27 #define HAVE_BUTTON_LIGHT
29 /* define this if you have access to the quickscreen */
30 #define HAVE_QUICKSCREEN
32 /* define this if you have access to the pitchscreen */
33 #define HAVE_PITCHSCREEN
35 /* define this if you would like tagcache to build on this target */
40 #define LCD_HEIGHT 160
41 #define LCD_DEPTH 16 /* 65536 colours */
42 #define LCD_PIXELFORMAT RGB565 /* rgb565 */
45 /* define this if you have LCD enable function */
46 #define HAVE_LCD_ENABLE
48 /* Define this if your LCD can be put to sleep.
49 HAVE_LCD_ENABLE should be defined as well. */
50 #define HAVE_LCD_SLEEP
51 #define HAVE_LCD_SLEEP_SETTING
54 /* define this if you can flip your LCD */
57 /* define this if you can invert the colours on your LCD */
58 #define HAVE_LCD_INVERT
60 /* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */
62 #define CONFIG_KEYPAD PHILIPS_SA9200_PAD
64 /* Define this to enable morse code input */
65 #define HAVE_MORSE_INPUT
67 /* define this if the target has volume keys which can be used in the lists */
68 #define HAVE_VOLUME_IN_LIST
70 /* Define this if you do software codec */
71 #define CONFIG_CODEC SWCODEC
73 /* There is no hardware tone control */
74 #define HAVE_SW_TONE_CONTROLS
76 /* The PP5024 has a built-in AustriaMicrosystems AS3514 */
79 /* define this if you have a real-time clock */
81 #define CONFIG_RTC RTC_AS3514
84 /* Define this if you have a software controlled poweroff */
85 #define HAVE_SW_POWEROFF
87 /* Some Sansa E200s seem to be FAT16 formatted */
88 #define HAVE_FAT16SUPPORT
90 /* The number of bytes reserved for loadable codecs */
91 #define CODEC_SIZE 0x100000
93 /* The number of bytes reserved for loadable plugins */
94 #define PLUGIN_BUFFER_SIZE 0x80000
96 #define AB_REPEAT_ENABLE
98 /* Define this for LCD backlight available */
99 #define HAVE_BACKLIGHT
100 #define HAVE_BACKLIGHT_BRIGHTNESS
102 /* Main LCD backlight brightness range and defaults */
103 #define MIN_BRIGHTNESS_SETTING 1
104 #define MAX_BRIGHTNESS_SETTING 12
105 #define DEFAULT_BRIGHTNESS_SETTING 6
107 /* Which backlight fading type? */
108 #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING
110 /* define this if you have a light associated with the buttons */
111 #define HAVE_BUTTON_LIGHT
112 /* Can't control the brightness on all the buttons */
113 /* #define HAVE_BUTTONLIGHT_BRIGHTNESS */
115 /* define this if you have a flash memory storage */
116 #define HAVE_FLASH_STORAGE
118 /* define this if the flash memory uses the SecureDigital Memory Card protocol */
119 #define CONFIG_STORAGE STORAGE_SD
121 #define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */
122 #define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */
123 #define BATTERY_CAPACITY_MAX 750 /* max. capacity selectable */
124 #define BATTERY_CAPACITY_INC 0 /* capacity increment */
125 #define BATTERY_TYPES_COUNT 1 /* only one type */
127 #define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
129 /* Charging implemented in a target-specific algorithm */
130 #define CONFIG_CHARGING CHARGING_TARGET
131 #define HAVE_POWEROFF_WHILE_CHARGING
133 /* define current usage levels (copied from the e200v1 )*/
134 #define CURRENT_NORMAL 30 /* Toni's measurements in Nov 2008 */
135 #define CURRENT_BACKLIGHT 40 /* Screen is about 20, blue LEDs are another 20, so 40 if both */
136 #define CURRENT_RECORD 30 /* flash player, so this is just unboosted current*/
138 /* define this if the unit can be powered or charged via USB */
139 #define HAVE_USB_POWER
141 /* Define this if you have a PortalPlayer PP5024 */
142 #define CONFIG_CPU PP5024
144 /* Define this if you want to use the PP5024 i2c interface */
145 #define CONFIG_I2C I2C_PP5024
147 /* define this if the hardware can be powered off while charging */
148 /* Sansa can't be powered off while charging */
149 /* #define HAVE_POWEROFF_WHILE_CHARGING */
151 /* The start address index for ROM builds */
152 #define ROM_START 0x00000000
154 /* Define this to the CPU frequency */
155 #define CPU_FREQ 75000000
158 #define CONFIG_LCD LCD_SA9200
160 /* Define this if your LCD can set contrast */
161 #define HAVE_LCD_CONTRAST
163 #define MIN_CONTRAST_SETTING 0
164 #define MAX_CONTRAST_SETTING 31
165 #define DEFAULT_CONTRAST_SETTING 22 /* Match boot contrast */
168 #define CONFIG_USBOTG USBOTG_ARC
170 /* enable these for the experimental usb stack */
171 #define HAVE_USBSTACK
172 #define USE_ROCKBOX_USB
173 #define USB_VENDOR_ID 0x0471
174 #define USB_PRODUCT_ID 0x014f
175 #define HAVE_USB_HID_MOUSE
177 /* enable bootloader USB mode - ONLY define when also BOOTLOADER */
178 #define HAVE_BOOTLOADER_USB_MODE
181 /* Define this if you have adjustable CPU frequency */
182 #define HAVE_ADJUSTABLE_CPU_FREQ
185 #define BOOTFILE_EXT "mi4"
186 #define BOOTFILE "rockbox." BOOTFILE_EXT
187 #define BOOTDIR "/.rockbox"
189 /* These values are unused, but need to be defined */
190 #define FIRMWARE_OFFSET_FILE_CRC 0x0
191 #define FIRMWARE_OFFSET_FILE_DATA 0x8
193 #define ICODE_ATTR_TREMOR_NOT_MDCT
195 #define INCLUDE_TIMEOUT_API
197 /* Define this if a programmable hotkey is mapped */