diff options
Diffstat (limited to 'firmware/export/config-sa9200.h')
-rwxr-xr-x | firmware/export/config-sa9200.h | 167 |
1 files changed, 167 insertions, 0 deletions
diff --git a/firmware/export/config-sa9200.h b/firmware/export/config-sa9200.h new file mode 100755 index 0000000000..9cdfe6bba7 --- /dev/null +++ b/firmware/export/config-sa9200.h | |||
@@ -0,0 +1,167 @@ | |||
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 26 | ||
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 if you have a light associated with the buttons */ | ||
22 | #define HAVE_BUTTON_LIGHT | ||
23 | |||
24 | /* define this if you have access to the quickscreen */ | ||
25 | #define HAVE_QUICKSCREEN | ||
26 | |||
27 | /* define this if you have access to the pitchscreen */ | ||
28 | #define HAVE_PITCHSCREEN | ||
29 | |||
30 | /* define this if you would like tagcache to build on this target */ | ||
31 | #define HAVE_TAGCACHE | ||
32 | |||
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 */ | ||
38 | |||
39 | /* define this if you have LCD enable function */ | ||
40 | /* #define HAVE_LCD_ENABLE */ | ||
41 | |||
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 */ | ||
45 | |||
46 | /* define this if you can flip your LCD */ | ||
47 | /* #define HAVE_LCD_FLIP */ | ||
48 | |||
49 | /* define this if you can invert the colours on your LCD */ | ||
50 | /* #define HAVE_LCD_INVERT */ | ||
51 | |||
52 | /* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */ | ||
53 | |||
54 | #define CONFIG_KEYPAD PHILIPS_SA9200_PAD | ||
55 | |||
56 | /* Define this if you do software codec */ | ||
57 | #define CONFIG_CODEC SWCODEC | ||
58 | |||
59 | /* There is no hardware tone control */ | ||
60 | #define HAVE_SW_TONE_CONTROLS | ||
61 | |||
62 | /* The PP5024 has a built-in AustriaMicrosystems AS3514 */ | ||
63 | #define HAVE_AS3514 | ||
64 | |||
65 | /* define this if you have a real-time clock */ | ||
66 | #ifndef BOOTLOADER | ||
67 | #define CONFIG_RTC RTC_AS3514 | ||
68 | #endif | ||
69 | |||
70 | /* Define this if you have a software controlled poweroff */ | ||
71 | #define HAVE_SW_POWEROFF | ||
72 | |||
73 | /* Some Sansa E200s seem to be FAT16 formatted */ | ||
74 | #define HAVE_FAT16SUPPORT | ||
75 | |||
76 | /* The number of bytes reserved for loadable codecs */ | ||
77 | #define CODEC_SIZE 0x80000 | ||
78 | |||
79 | /* The number of bytes reserved for loadable plugins */ | ||
80 | #define PLUGIN_BUFFER_SIZE 0x80000 | ||
81 | |||
82 | #define AB_REPEAT_ENABLE 1 | ||
83 | |||
84 | /* Define this for LCD backlight available */ | ||
85 | #define HAVE_BACKLIGHT | ||
86 | #define HAVE_BACKLIGHT_BRIGHTNESS | ||
87 | |||
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 | ||
92 | |||
93 | /* define this if you have a flash memory storage */ | ||
94 | #define HAVE_FLASH_STORAGE | ||
95 | |||
96 | /* define this if the flash memory uses the SecureDigital Memory Card protocol */ | ||
97 | #define HAVE_ATA_SD | ||
98 | |||
99 | #define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */ | ||
100 | #define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */ | ||
101 | #define BATTERY_CAPACITY_MAX 750 /* max. capacity selectable */ | ||
102 | #define BATTERY_CAPACITY_INC 0 /* capacity increment */ | ||
103 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
104 | |||
105 | /* Hardware controlled charging? FIXME */ | ||
106 | #define CONFIG_CHARGING CHARGING_SIMPLE | ||
107 | |||
108 | /* define this if the unit can be powered or charged via USB */ | ||
109 | #define HAVE_USB_POWER | ||
110 | |||
111 | /** Non-simulator section **/ | ||
112 | #ifndef SIMULATOR | ||
113 | |||
114 | /* Define this if you have a PortalPlayer PP5024 */ | ||
115 | #define CONFIG_CPU PP5024 | ||
116 | |||
117 | /* Define this if you want to use the PP5024 i2c interface */ | ||
118 | #define CONFIG_I2C I2C_PP5024 | ||
119 | |||
120 | /* define this if the hardware can be powered off while charging */ | ||
121 | /* Sansa can't be powered off while charging */ | ||
122 | /* #define HAVE_POWEROFF_WHILE_CHARGING */ | ||
123 | |||
124 | /* The start address index for ROM builds */ | ||
125 | #define ROM_START 0x00000000 | ||
126 | |||
127 | /* Define this to the CPU frequency */ | ||
128 | #define CPU_FREQ 75000000 | ||
129 | |||
130 | /* Type of LCD TODO: hopefully the same as the x5 but check this*/ | ||
131 | #define CONFIG_LCD LCD_SA9200 | ||
132 | |||
133 | /* #define USB_IPODSTYLE */ | ||
134 | |||
135 | /* USB On-the-go */ | ||
136 | #define CONFIG_USBOTG USBOTG_ARC | ||
137 | |||
138 | /* enable these for the experimental usb stack */ | ||
139 | #define HAVE_USBSTACK | ||
140 | #define USB_VENDOR_ID 0x0471 | ||
141 | #define USB_PRODUCT_ID 0x014f | ||
142 | |||
143 | /* WARNING! Enable Rockbox USB mass storage. */ | ||
144 | #ifndef BOOTLOADER | ||
145 | #define USE_ROCKBOX_USB | ||
146 | #endif | ||
147 | |||
148 | /* Virtual LED (icon) */ | ||
149 | #define CONFIG_LED LED_VIRTUAL | ||
150 | |||
151 | /* Define this if you have adjustable CPU frequency */ | ||
152 | #define HAVE_ADJUSTABLE_CPU_FREQ | ||
153 | |||
154 | #define MI4_FORMAT | ||
155 | #define BOOTFILE_EXT "mi4" | ||
156 | #define BOOTFILE "rockbox." BOOTFILE_EXT | ||
157 | #define BOOTDIR "/.rockbox" | ||
158 | |||
159 | /* These values are unused, but need to be defined */ | ||
160 | #define FIRMWARE_OFFSET_FILE_CRC 0x0 | ||
161 | #define FIRMWARE_OFFSET_FILE_DATA 0x8 | ||
162 | |||
163 | #define ICODE_ATTR_TREMOR_NOT_MDCT | ||
164 | |||
165 | #define INCLUDE_TIMEOUT_API | ||
166 | |||
167 | #endif /* SIMULATOR */ | ||