2 * This config file is for the Philips GoGear SA9200
4 #define TARGET_TREE /* this target is using the target tree system */
6 /* For Rolo and boot loader */
7 #define MODEL_NUMBER 34
8 #define MODEL_NAME "Philips GoGear SA200"
10 #define HW_SAMPR_CAPS (SAMPR_CAP_44)
12 /* define this if you have a bitmap LCD display */
13 #define HAVE_LCD_BITMAP
15 /* define this if you have a colour LCD */
16 #define HAVE_LCD_COLOR
18 /* define this if you want album art for this target */
21 /* define this to enable bitmap scaling */
22 #define HAVE_BMP_SCALING
24 /* define this to enable JPEG decoding */
27 /* define this if you have a light associated with the buttons */
28 #define HAVE_BUTTON_LIGHT
30 /* define this if you have access to the quickscreen */
31 #define HAVE_QUICKSCREEN
33 /* define this if you have access to the pitchscreen */
34 #define HAVE_PITCHSCREEN
36 /* define this if you would like tagcache to build on this target */
41 #define LCD_HEIGHT 160
42 #define LCD_DEPTH 16 /* 65536 colours */
43 #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. HAVE_LCD_ENABLE
49 should be defined as well. */
50 /* #define HAVE_LCD_SLEEP */
52 /* define this if you can flip your LCD */
53 /* #define HAVE_LCD_FLIP */
55 /* define this if you can invert the colours on your LCD */
56 /* #define HAVE_LCD_INVERT */
58 /* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */
60 #define CONFIG_KEYPAD PHILIPS_SA9200_PAD
62 /* Define this if you do software codec */
63 #define CONFIG_CODEC SWCODEC
65 /* There is no hardware tone control */
66 #define HAVE_SW_TONE_CONTROLS
68 /* The PP5024 has a built-in AustriaMicrosystems AS3514 */
71 /* define this if you have a real-time clock */
73 #define CONFIG_RTC RTC_AS3514
76 /* Define this if you have a software controlled poweroff */
77 #define HAVE_SW_POWEROFF
79 /* Some Sansa E200s seem to be FAT16 formatted */
80 #define HAVE_FAT16SUPPORT
82 /* The number of bytes reserved for loadable codecs */
83 #define CODEC_SIZE 0x100000
85 /* The number of bytes reserved for loadable plugins */
86 #define PLUGIN_BUFFER_SIZE 0x80000
88 #define AB_REPEAT_ENABLE 1
90 /* Define this for LCD backlight available */
91 #define HAVE_BACKLIGHT
92 #define HAVE_BACKLIGHT_BRIGHTNESS
94 /* Main LCD backlight brightness range and defaults */
95 #define MIN_BRIGHTNESS_SETTING 1
96 #define MAX_BRIGHTNESS_SETTING 12
97 #define DEFAULT_BRIGHTNESS_SETTING 6
99 /* Which backlight fading type? */
100 #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING
102 /* define this if you have a flash memory storage */
103 #define HAVE_FLASH_STORAGE
105 /* define this if the flash memory uses the SecureDigital Memory Card protocol */
106 #define CONFIG_STORAGE STORAGE_SD
108 #define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */
109 #define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */
110 #define BATTERY_CAPACITY_MAX 750 /* max. capacity selectable */
111 #define BATTERY_CAPACITY_INC 0 /* capacity increment */
112 #define BATTERY_TYPES_COUNT 1 /* only one type */
114 /* Charging implemented in a target-specific algorithm */
115 #define CONFIG_CHARGING CHARGING_TARGET
116 #define HAVE_POWEROFF_WHILE_CHARGING
118 /* define current usage levels (copied from the e200v1 )*/
119 #define CURRENT_NORMAL 30 /* Toni's measurements in Nov 2008 */
120 #define CURRENT_BACKLIGHT 40 /* Screen is about 20, blue LEDs are another 20, so 40 if both */
121 #define CURRENT_RECORD 30 /* flash player, so this is just unboosted current*/
123 /* define this if the unit can be powered or charged via USB */
124 #define HAVE_USB_POWER
126 /** Non-simulator section **/
129 /* Define this if you have a PortalPlayer PP5024 */
130 #define CONFIG_CPU PP5024
132 /* Define this if you want to use the PP5024 i2c interface */
133 #define CONFIG_I2C I2C_PP5024
135 /* define this if the hardware can be powered off while charging */
136 /* Sansa can't be powered off while charging */
137 /* #define HAVE_POWEROFF_WHILE_CHARGING */
139 /* The start address index for ROM builds */
140 #define ROM_START 0x00000000
142 /* Define this to the CPU frequency */
143 #define CPU_FREQ 75000000
145 /* Type of LCD TODO: hopefully the same as the x5 but check this*/
146 #define CONFIG_LCD LCD_SA9200
149 #define CONFIG_USBOTG USBOTG_ARC
151 /* enable these for the experimental usb stack */
152 #define HAVE_USBSTACK
153 #define USE_ROCKBOX_USB
154 #define USB_VENDOR_ID 0x0471
155 #define USB_PRODUCT_ID 0x014f
157 /* WARNING! Enable Rockbox USB mass storage. */
159 #define USE_ROCKBOX_USB
162 /* Virtual LED (icon) */
163 #define CONFIG_LED LED_VIRTUAL
165 /* Define this if you have adjustable CPU frequency */
166 #define HAVE_ADJUSTABLE_CPU_FREQ
169 #define BOOTFILE_EXT "mi4"
170 #define BOOTFILE "rockbox." BOOTFILE_EXT
171 #define BOOTDIR "/.rockbox"
173 /* These values are unused, but need to be defined */
174 #define FIRMWARE_OFFSET_FILE_CRC 0x0
175 #define FIRMWARE_OFFSET_FILE_DATA 0x8
177 #define ICODE_ATTR_TREMOR_NOT_MDCT
179 #define INCLUDE_TIMEOUT_API
181 #endif /* SIMULATOR */