diff options
author | Björn Stenberg <bjorn@haxx.se> | 2009-12-07 12:19:08 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2009-12-07 12:19:08 +0000 |
commit | c0740440ac9c830f59e8b5c9b3a8aecc49766506 (patch) | |
tree | 5ad47d05a66c0a1048d8bd6b304a66a8489248cd /firmware/export/config/mrobe100.h | |
parent | ee15637749e293139f31a32548850cb549d3533e (diff) | |
download | rockbox-c0740440ac9c830f59e8b5c9b3a8aecc49766506.tar.gz rockbox-c0740440ac9c830f59e8b5c9b3a8aecc49766506.zip |
Rename targets to be consistent in all places. (FS #10819). Take 2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23883 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config/mrobe100.h')
-rw-r--r-- | firmware/export/config/mrobe100.h | 202 |
1 files changed, 202 insertions, 0 deletions
diff --git a/firmware/export/config/mrobe100.h b/firmware/export/config/mrobe100.h new file mode 100644 index 0000000000..90419914b2 --- /dev/null +++ b/firmware/export/config/mrobe100.h | |||
@@ -0,0 +1,202 @@ | |||
1 | /* | ||
2 | * This config file is for the Olympus m:robe MR-100 | ||
3 | */ | ||
4 | |||
5 | #define TARGET_TREE | ||
6 | |||
7 | /* For Rolo and boot loader */ | ||
8 | #define MODEL_NUMBER 23 | ||
9 | #define MODEL_NAME "Olympus m:robe MR-100" | ||
10 | |||
11 | /* define this if you use an ATA controller */ | ||
12 | #define CONFIG_STORAGE STORAGE_ATA | ||
13 | |||
14 | /* define this if you have a bitmap LCD display */ | ||
15 | #define HAVE_LCD_BITMAP | ||
16 | |||
17 | /* define this if you have access to the quickscreen */ | ||
18 | #define HAVE_QUICKSCREEN | ||
19 | |||
20 | /* define this if you have access to the pitchscreen */ | ||
21 | #define HAVE_PITCHSCREEN | ||
22 | |||
23 | /* define this if you would like tagcache to build on this target */ | ||
24 | #define HAVE_TAGCACHE | ||
25 | |||
26 | /* LCD dimensions */ | ||
27 | #define LCD_WIDTH 160 | ||
28 | #define LCD_HEIGHT 128 | ||
29 | #define LCD_DEPTH 1 | ||
30 | |||
31 | #define LCD_PIXELFORMAT VERTICAL_PACKING | ||
32 | #define HAVE_NEGATIVE_LCD /* bright on dark */ | ||
33 | |||
34 | /* Display colours, for screenshots and sim (0xRRGGBB) */ | ||
35 | #define LCD_DARKCOLOR 0x000000 | ||
36 | #define LCD_BRIGHTCOLOR 0x323232 | ||
37 | #define LCD_BL_DARKCOLOR 0x5e0202 | ||
38 | #define LCD_BL_BRIGHTCOLOR 0xf10603 | ||
39 | |||
40 | /* define this if you can flip your LCD */ | ||
41 | #define HAVE_LCD_FLIP | ||
42 | |||
43 | /* define this if you can invert the colours on your LCD */ | ||
44 | #define HAVE_LCD_INVERT | ||
45 | |||
46 | #define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */ | ||
47 | |||
48 | #ifndef BOOTLOADER | ||
49 | /* Define this if you have an remote lcd */ | ||
50 | #define HAVE_REMOTE_LCD | ||
51 | |||
52 | #define LCD_REMOTE_WIDTH 79 | ||
53 | #define LCD_REMOTE_HEIGHT 16 | ||
54 | #define LCD_REMOTE_DEPTH 1 | ||
55 | #define LCD_REMOTE_PIXELFORMAT VERTICAL_PACKING | ||
56 | |||
57 | /* Remote display colours, for screenshots and sim (0xRRGGBB) */ | ||
58 | #define LCD_REMOTE_DARKCOLOR 0x000000 | ||
59 | #define LCD_REMOTE_BRIGHTCOLOR 0x5a915a | ||
60 | #define LCD_REMOTE_BL_DARKCOLOR 0x000000 | ||
61 | #define LCD_REMOTE_BL_BRIGHTCOLOR 0x82b4fa | ||
62 | #endif /* BOOTLOADER */ | ||
63 | |||
64 | #define CONFIG_KEYPAD MROBE100_PAD | ||
65 | #define CONFIG_REMOTE_KEYPAD MROBE_REMOTE | ||
66 | |||
67 | /* Define this to enable morse code input */ | ||
68 | #define HAVE_MORSE_INPUT | ||
69 | |||
70 | /* Define this if you do software codec */ | ||
71 | #define CONFIG_CODEC SWCODEC | ||
72 | |||
73 | /* define this if you have a real-time clock */ | ||
74 | #ifndef BOOTLOADER | ||
75 | #define CONFIG_RTC RTC_MR100 | ||
76 | #endif | ||
77 | |||
78 | /* Define this if you have a software controlled poweroff */ | ||
79 | #define HAVE_SW_POWEROFF | ||
80 | |||
81 | /* The number of bytes reserved for loadable codecs */ | ||
82 | #define CODEC_SIZE 0x100000 | ||
83 | |||
84 | /* The number of bytes reserved for loadable plugins */ | ||
85 | #define PLUGIN_BUFFER_SIZE 0x80000 | ||
86 | |||
87 | /* Wolfsom audio codec */ | ||
88 | #define HAVE_WM8751 | ||
89 | #define CODEC_SRCTRL_44100HZ (0x40|(0x11 << 1)|1) | ||
90 | |||
91 | #define AB_REPEAT_ENABLE 1 | ||
92 | |||
93 | /* define this if you have a disk storage, i.e. something | ||
94 | that needs spinups and can cause skips when shaked */ | ||
95 | #define HAVE_DISK_STORAGE | ||
96 | |||
97 | /* Define this for LCD backlight available */ | ||
98 | #define HAVE_BACKLIGHT | ||
99 | |||
100 | /* We can fade the backlight by using PWM */ | ||
101 | #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_PWM | ||
102 | |||
103 | /* Main LCD backlight brightness range and defaults */ | ||
104 | #define MIN_BRIGHTNESS_SETTING 1 | ||
105 | #define MAX_BRIGHTNESS_SETTING 12 | ||
106 | #define DEFAULT_BRIGHTNESS_SETTING 6 | ||
107 | |||
108 | /* define this if you have a light associated with the buttons */ | ||
109 | #define HAVE_BUTTON_LIGHT | ||
110 | |||
111 | #define HAVE_BUTTONLIGHT_BRIGHTNESS | ||
112 | |||
113 | /* Remote LCD contrast range and defaults */ | ||
114 | #define MIN_REMOTE_CONTRAST_SETTING 0 | ||
115 | #define MAX_REMOTE_CONTRAST_SETTING 15 | ||
116 | #define DEFAULT_REMOTE_CONTRAST_SETTING 8 | ||
117 | |||
118 | /* Define this if your LCD can be enabled/disabled */ | ||
119 | /* TODO: #define HAVE_LCD_ENABLE */ | ||
120 | |||
121 | /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE | ||
122 | * should be defined as well. | ||
123 | * We can currently put the lcd to sleep but it won't wake up properly */ | ||
124 | /*TODO: #define HAVE_LCD_SLEEP*/ | ||
125 | /*TODO: #define HAVE_LCD_SLEEP_SETTING <= optional */ | ||
126 | |||
127 | #define BATTERY_CAPACITY_DEFAULT 720 /* default battery capacity */ | ||
128 | |||
129 | /* Define this if you have a PortalPlayer PP5020 */ | ||
130 | #define CONFIG_CPU PP5020 | ||
131 | |||
132 | /* Define this if you want to use the PP5020 i2c interface */ | ||
133 | #define CONFIG_I2C I2C_PP5020 | ||
134 | |||
135 | /* Type of mobile power */ | ||
136 | #define CONFIG_BATTERY BATT_LIION750 | ||
137 | #define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */ | ||
138 | #define BATTERY_CAPACITY_MAX 750 /* max. capacity selectable */ | ||
139 | #define BATTERY_CAPACITY_INC 0 /* capacity increment */ | ||
140 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
141 | |||
142 | /* Hardware controlled charging */ | ||
143 | #define CONFIG_CHARGING CHARGING_SIMPLE | ||
144 | |||
145 | /* define this if the hardware can be powered off while charging */ | ||
146 | #define HAVE_POWEROFF_WHILE_CHARGING | ||
147 | |||
148 | /* The start address index for ROM builds */ | ||
149 | #define ROM_START 0x00000000 | ||
150 | |||
151 | /* The size of the flash ROM */ | ||
152 | #define FLASH_SIZE 0x100000 | ||
153 | |||
154 | /* Define this to the CPU frequency */ | ||
155 | #define CPU_FREQ 75000000 | ||
156 | |||
157 | /* Type of LCD */ | ||
158 | #define CONFIG_LCD LCD_MROBE100 | ||
159 | |||
160 | /* Define this if your LCD can set contrast */ | ||
161 | #define HAVE_LCD_CONTRAST | ||
162 | |||
163 | #define MIN_CONTRAST_SETTING 0 | ||
164 | #define MAX_CONTRAST_SETTING 40 | ||
165 | #define DEFAULT_CONTRAST_SETTING 20 | ||
166 | |||
167 | |||
168 | /* We're able to shut off power to the HDD */ | ||
169 | #define HAVE_ATA_POWER_OFF | ||
170 | |||
171 | /* USB On-the-go */ | ||
172 | #define CONFIG_USBOTG USBOTG_ARC | ||
173 | |||
174 | /* define this if the unit can be powered or charged via USB */ | ||
175 | #define HAVE_USB_POWER | ||
176 | |||
177 | /* enable these for the experimental usb stack */ | ||
178 | #define HAVE_USBSTACK | ||
179 | #define USE_ROCKBOX_USB | ||
180 | #define USB_VENDOR_ID 0x07B4 | ||
181 | #define USB_PRODUCT_ID 0x0280 | ||
182 | #define HAVE_USB_HID_MOUSE | ||
183 | |||
184 | /* Define this if you have adjustable CPU frequency */ | ||
185 | #define HAVE_ADJUSTABLE_CPU_FREQ | ||
186 | |||
187 | /* Define this if you can detect headphones */ | ||
188 | #define HAVE_HEADPHONE_DETECTION | ||
189 | |||
190 | #define MI4_FORMAT | ||
191 | #define BOOTFILE_EXT "mi4" | ||
192 | #define BOOTFILE "rockbox." BOOTFILE_EXT | ||
193 | #define BOOTDIR "/.rockbox" | ||
194 | |||
195 | /* Offset ( in the firmware file's header ) to the file CRC and data. | ||
196 | Not used for the mrobe 100, since it boots an mi4 file, but needed | ||
197 | for compatibility. */ | ||
198 | #define FIRMWARE_OFFSET_FILE_CRC 0x0 | ||
199 | #define FIRMWARE_OFFSET_FILE_DATA 0x0 | ||
200 | |||
201 | #define ICODE_ATTR_TREMOR_NOT_MDCT | ||
202 | |||