diff options
author | Mark Arigo <markarigo@gmail.com> | 2008-01-09 13:59:18 +0000 |
---|---|---|
committer | Mark Arigo <markarigo@gmail.com> | 2008-01-09 13:59:18 +0000 |
commit | e953bcb2d47a593a49ce536856dea0d55937cb4e (patch) | |
tree | ebfc661548de83af6c3e8ad140e5378560cda12b /firmware/export | |
parent | d86a9cac5c48b681b78d85fe11831cbf89654826 (diff) | |
download | rockbox-e953bcb2d47a593a49ce536856dea0d55937cb4e.tar.gz rockbox-e953bcb2d47a593a49ce536856dea0d55937cb4e.zip |
Add missing files for the m:robe 100
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16032 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config-mrobe100.h | 166 |
1 files changed, 166 insertions, 0 deletions
diff --git a/firmware/export/config-mrobe100.h b/firmware/export/config-mrobe100.h new file mode 100644 index 0000000000..a33526edde --- /dev/null +++ b/firmware/export/config-mrobe100.h | |||
@@ -0,0 +1,166 @@ | |||
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 have a bitmap LCD display */ | ||
12 | #define HAVE_LCD_BITMAP | ||
13 | |||
14 | /* define this if you have access to the quickscreen */ | ||
15 | #define HAVE_QUICKSCREEN | ||
16 | |||
17 | /* define this if you have access to the pitchscreen */ | ||
18 | #define HAVE_PITCHSCREEN | ||
19 | |||
20 | /* define this if you would like tagcache to build on this target */ | ||
21 | #define HAVE_TAGCACHE | ||
22 | |||
23 | /* LCD dimensions */ | ||
24 | #define LCD_WIDTH 160 | ||
25 | #define LCD_HEIGHT 128 | ||
26 | #define LCD_DEPTH 1 | ||
27 | #define LCD_PIXELFORMAT VERTICAL_PACKING | ||
28 | |||
29 | /* define this if you can flip your LCD */ | ||
30 | /*#define HAVE_LCD_FLIP*/ | ||
31 | |||
32 | /* define this if you can invert the colours on your LCD */ | ||
33 | /*#define HAVE_LCD_INVERT*/ | ||
34 | |||
35 | /*#define IRAM_LCDFRAMEBUFFER IDATA_ATTR */ /* put the lcd frame buffer in IRAM */ | ||
36 | |||
37 | #define CONFIG_KEYPAD MROBE100_PAD | ||
38 | |||
39 | /* Define this if you do software codec */ | ||
40 | #define CONFIG_CODEC SWCODEC | ||
41 | |||
42 | /* define this if you have a real-time clock */ | ||
43 | #ifndef BOOTLOADER | ||
44 | //#define CONFIG_RTC RTC_E8564 | ||
45 | #endif | ||
46 | |||
47 | /* Define this if you have a software controlled poweroff */ | ||
48 | #define HAVE_SW_POWEROFF | ||
49 | |||
50 | /* The number of bytes reserved for loadable codecs */ | ||
51 | #define CODEC_SIZE 0x80000 | ||
52 | |||
53 | /* The number of bytes reserved for loadable plugins */ | ||
54 | #define PLUGIN_BUFFER_SIZE 0x80000 | ||
55 | |||
56 | /* Wolfsom audio codec */ | ||
57 | /* TODO: #define HAVE_WM8751 */ | ||
58 | #define HAVE_WM8731 | ||
59 | |||
60 | /* WM8731 has no tone controls, so we use the software ones */ | ||
61 | #define HAVE_SW_TONE_CONTROLS | ||
62 | |||
63 | #define AB_REPEAT_ENABLE 1 | ||
64 | |||
65 | /* Define this for LCD backlight available */ | ||
66 | #define HAVE_BACKLIGHT | ||
67 | /* TODO #define HAVE_BACKLIGHT_BRIGHTNESS */ | ||
68 | |||
69 | /* Main LCD backlight brightness range and defaults */ | ||
70 | #define MIN_BRIGHTNESS_SETTING 1 | ||
71 | #define MAX_BRIGHTNESS_SETTING 12 | ||
72 | #define DEFAULT_BRIGHTNESS_SETTING 6 | ||
73 | |||
74 | /* define this if you have a light associated with the buttons */ | ||
75 | #define HAVE_BUTTON_LIGHT | ||
76 | |||
77 | #define BATTERY_CAPACITY_DEFAULT 720 /* default battery capacity */ | ||
78 | |||
79 | #ifndef SIMULATOR | ||
80 | |||
81 | /* Define this if you have a PortalPlayer PP5020 */ | ||
82 | #define CONFIG_CPU PP5020 | ||
83 | |||
84 | /* Define this if you want to use the PP5020 i2c interface */ | ||
85 | #define CONFIG_I2C I2C_PP5020 | ||
86 | |||
87 | /* Type of mobile power */ | ||
88 | #define CONFIG_BATTERY BATT_LIION750 | ||
89 | #define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */ | ||
90 | #define BATTERY_CAPACITY_MAX 750 /* max. capacity selectable */ | ||
91 | #define BATTERY_CAPACITY_INC 0 /* capacity increment */ | ||
92 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
93 | |||
94 | /* Hardware controlled charging */ | ||
95 | #define CONFIG_CHARGING CHARGING_SIMPLE | ||
96 | |||
97 | /* define this if the hardware can be powered off while charging */ | ||
98 | #define HAVE_POWEROFF_WHILE_CHARGING | ||
99 | |||
100 | /* The start address index for ROM builds */ | ||
101 | #define ROM_START 0x00000000 | ||
102 | |||
103 | /* The size of the flash ROM */ | ||
104 | #define FLASH_SIZE 0x100000 | ||
105 | |||
106 | /* Define this to the CPU frequency */ | ||
107 | #define CPU_FREQ 75000000 | ||
108 | |||
109 | /* Type of LCD */ | ||
110 | #define CONFIG_LCD LCD_MROBE100 | ||
111 | |||
112 | /* Define this if your LCD can set contrast */ | ||
113 | #define HAVE_LCD_CONTRAST | ||
114 | |||
115 | #define MIN_CONTRAST_SETTING 0 | ||
116 | #define MAX_CONTRAST_SETTING 40 | ||
117 | #define DEFAULT_CONTRAST_SETTING 20 | ||
118 | |||
119 | /* Define this if your LCD can be enabled/disabled */ | ||
120 | /* TODO: #define HAVE_LCD_ENABLE */ | ||
121 | |||
122 | /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE | ||
123 | * should be defined as well. | ||
124 | * We can currently put the lcd to sleep but it won't wake up properly */ | ||
125 | /*TODO: #define HAVE_LCD_SLEEP*/ | ||
126 | |||
127 | /* We're able to shut off power to the HDD */ | ||
128 | #define HAVE_ATA_POWER_OFF | ||
129 | |||
130 | /* #define USB_IPODSTYLE */ | ||
131 | |||
132 | /* USB On-the-go */ | ||
133 | #define CONFIG_USBOTG USBOTG_ARC | ||
134 | |||
135 | /* define this if the unit can be powered or charged via USB */ | ||
136 | #define HAVE_USB_POWER | ||
137 | |||
138 | /* enable these for the experimental usb stack */ | ||
139 | /* TODO: get correct ID's */ | ||
140 | #define HAVE_USBSTACK | ||
141 | #define USB_VENDOR_ID 0x0B70 | ||
142 | #define USB_PRODUCT_ID 0x00BA | ||
143 | |||
144 | /* Virtual LED (icon) */ | ||
145 | #define CONFIG_LED LED_VIRTUAL | ||
146 | |||
147 | /* Define this if you have adjustable CPU frequency */ | ||
148 | #define HAVE_ADJUSTABLE_CPU_FREQ | ||
149 | |||
150 | /* Define this if you can detect headphones */ | ||
151 | #define HAVE_HEADPHONE_DETECTION | ||
152 | |||
153 | #define MI4_FORMAT | ||
154 | #define BOOTFILE_EXT "mi4" | ||
155 | #define BOOTFILE "rockbox." BOOTFILE_EXT | ||
156 | #define BOOTDIR "/.rockbox" | ||
157 | |||
158 | /* Offset ( in the firmware file's header ) to the file CRC and data. | ||
159 | Not used for the mrobe 100, since it boots an mi4 file, but needed | ||
160 | for compatibility. */ | ||
161 | #define FIRMWARE_OFFSET_FILE_CRC 0x0 | ||
162 | #define FIRMWARE_OFFSET_FILE_DATA 0x0 | ||
163 | |||
164 | #define ICODE_ATTR_TREMOR_NOT_MDCT | ||
165 | |||
166 | #endif | ||