Use more formal English (passive)
[kugel-rb.git] / firmware / export / config-sa9200.h
blobcbe92bb99c136c80a06a6cc02fd27f08f1121936
1 /*
2 * This config file is for the Philips GoGear SA9200
3 */
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 */
19 #define HAVE_ALBUMART
21 /* define this if you have a light associated with the buttons */
22 #define HAVE_BUTTON_LIGHT
24 /* define this if you have access to the quickscreen */
25 #define HAVE_QUICKSCREEN
27 /* define this if you have access to the pitchscreen */
28 #define HAVE_PITCHSCREEN
30 /* define this if you would like tagcache to build on this target */
31 #define HAVE_TAGCACHE
33 /* LCD dimensions */
34 #define LCD_WIDTH 128
35 #define LCD_HEIGHT 160
36 #define LCD_DEPTH 16 /* 65536 colours */
37 #define LCD_PIXELFORMAT RGB565 /* rgb565 */
39 /* define this if you have LCD enable function */
40 /* #define HAVE_LCD_ENABLE */
42 /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
43 should be defined as well. */
44 /* #define HAVE_LCD_SLEEP */
46 /* define this if you can flip your LCD */
47 /* #define HAVE_LCD_FLIP */
49 /* define this if you can invert the colours on your LCD */
50 /* #define HAVE_LCD_INVERT */
52 /* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */
54 #define CONFIG_KEYPAD PHILIPS_SA9200_PAD
56 /* Define this if you do software codec */
57 #define CONFIG_CODEC SWCODEC
59 /* There is no hardware tone control */
60 #define HAVE_SW_TONE_CONTROLS
62 /* The PP5024 has a built-in AustriaMicrosystems AS3514 */
63 #define HAVE_AS3514
65 /* define this if you have a real-time clock */
66 #ifndef BOOTLOADER
67 #define CONFIG_RTC RTC_AS3514
68 #endif
70 /* Define this if you have a software controlled poweroff */
71 #define HAVE_SW_POWEROFF
73 /* Some Sansa E200s seem to be FAT16 formatted */
74 #define HAVE_FAT16SUPPORT
76 /* The number of bytes reserved for loadable codecs */
77 #define CODEC_SIZE 0x100000
79 /* The number of bytes reserved for loadable plugins */
80 #define PLUGIN_BUFFER_SIZE 0x80000
82 #define AB_REPEAT_ENABLE 1
84 /* Define this for LCD backlight available */
85 #define HAVE_BACKLIGHT
86 #define HAVE_BACKLIGHT_BRIGHTNESS
88 /* Main LCD backlight brightness range and defaults */
89 #define MIN_BRIGHTNESS_SETTING 1
90 #define MAX_BRIGHTNESS_SETTING 12
91 #define DEFAULT_BRIGHTNESS_SETTING 6
93 /* Which backlight fading type? */
94 #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING
96 /* define this if you have a flash memory storage */
97 #define HAVE_FLASH_STORAGE
99 /* define this if the flash memory uses the SecureDigital Memory Card protocol */
100 #define CONFIG_STORAGE STORAGE_SD
102 #define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */
103 #define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */
104 #define BATTERY_CAPACITY_MAX 750 /* max. capacity selectable */
105 #define BATTERY_CAPACITY_INC 0 /* capacity increment */
106 #define BATTERY_TYPES_COUNT 1 /* only one type */
108 /* Charging implemented in a target-specific algorithm */
109 #define CONFIG_CHARGING CHARGING_TARGET
110 #define HAVE_POWEROFF_WHILE_CHARGING
112 /* define current usage levels (copied from the e200v1 )*/
113 #define CURRENT_NORMAL 30 /* Toni's measurements in Nov 2008 */
114 #define CURRENT_BACKLIGHT 40 /* Screen is about 20, blue LEDs are another 20, so 40 if both */
115 #define CURRENT_RECORD 30 /* flash player, so this is just unboosted current*/
117 /* define this if the unit can be powered or charged via USB */
118 #define HAVE_USB_POWER
120 /** Non-simulator section **/
121 #ifndef SIMULATOR
123 /* Define this if you have a PortalPlayer PP5024 */
124 #define CONFIG_CPU PP5024
126 /* Define this if you want to use the PP5024 i2c interface */
127 #define CONFIG_I2C I2C_PP5024
129 /* define this if the hardware can be powered off while charging */
130 /* Sansa can't be powered off while charging */
131 /* #define HAVE_POWEROFF_WHILE_CHARGING */
133 /* The start address index for ROM builds */
134 #define ROM_START 0x00000000
136 /* Define this to the CPU frequency */
137 #define CPU_FREQ 75000000
139 /* Type of LCD TODO: hopefully the same as the x5 but check this*/
140 #define CONFIG_LCD LCD_SA9200
142 /* USB On-the-go */
143 #define CONFIG_USBOTG USBOTG_ARC
145 /* enable these for the experimental usb stack */
146 #define HAVE_USBSTACK
147 #define USE_ROCKBOX_USB
148 #define USB_VENDOR_ID 0x0471
149 #define USB_PRODUCT_ID 0x014f
151 /* WARNING! Enable Rockbox USB mass storage. */
152 #ifndef BOOTLOADER
153 #define USE_ROCKBOX_USB
154 #endif
156 /* Virtual LED (icon) */
157 #define CONFIG_LED LED_VIRTUAL
159 /* Define this if you have adjustable CPU frequency */
160 #define HAVE_ADJUSTABLE_CPU_FREQ
162 #define MI4_FORMAT
163 #define BOOTFILE_EXT "mi4"
164 #define BOOTFILE "rockbox." BOOTFILE_EXT
165 #define BOOTDIR "/.rockbox"
167 /* These values are unused, but need to be defined */
168 #define FIRMWARE_OFFSET_FILE_CRC 0x0
169 #define FIRMWARE_OFFSET_FILE_DATA 0x8
171 #define ICODE_ATTR_TREMOR_NOT_MDCT
173 #define INCLUDE_TIMEOUT_API
175 #endif /* SIMULATOR */