2 * This config file is for the Olympus m:robe MR-100
7 /* For Rolo and boot loader */
8 #define MODEL_NUMBER 23
9 #define MODEL_NAME "Olympus m:robe MR-100"
11 /* define this if you use an ATA controller */
12 #define CONFIG_STORAGE STORAGE_ATA
14 /* define this if you have a bitmap LCD display */
15 #define HAVE_LCD_BITMAP
17 /* define this if you have access to the quickscreen */
18 #define HAVE_QUICKSCREEN
20 /* define this if you have access to the pitchscreen */
21 #define HAVE_PITCHSCREEN
23 /* define this if you would like tagcache to build on this target */
28 #define LCD_HEIGHT 128
31 #define LCD_PIXELFORMAT VERTICAL_PACKING
32 #define HAVE_NEGATIVE_LCD /* bright on dark */
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
40 /* define this if you can flip your LCD */
43 /* define this if you can invert the colours on your LCD */
44 #define HAVE_LCD_INVERT
46 /*#define IRAM_LCDFRAMEBUFFER IDATA_ATTR */ /* put the lcd frame buffer in IRAM */
48 #define CONFIG_KEYPAD MROBE100_PAD
50 /* Define this if you do software codec */
51 #define CONFIG_CODEC SWCODEC
53 /* define this if you have a real-time clock */
55 #define CONFIG_RTC RTC_MR100
58 /* Define this if you have a software controlled poweroff */
59 #define HAVE_SW_POWEROFF
61 /* The number of bytes reserved for loadable codecs */
62 #define CODEC_SIZE 0x100000
64 /* The number of bytes reserved for loadable plugins */
65 #define PLUGIN_BUFFER_SIZE 0x80000
67 /* Wolfsom audio codec */
69 #define CODEC_SRCTRL_44100HZ (0x40|(0x11 << 1)|1)
71 #define AB_REPEAT_ENABLE 1
73 /* define this if you have a disk storage, i.e. something
74 that needs spinups and can cause skips when shaked */
75 #define HAVE_DISK_STORAGE
77 /* Define this for LCD backlight available */
78 #define HAVE_BACKLIGHT
80 /* We can fade the backlight by using PWM */
81 #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_PWM
83 /* Main LCD backlight brightness range and defaults */
84 #define MIN_BRIGHTNESS_SETTING 1
85 #define MAX_BRIGHTNESS_SETTING 12
86 #define DEFAULT_BRIGHTNESS_SETTING 6
88 /* define this if you have a light associated with the buttons */
89 #define HAVE_BUTTON_LIGHT
91 #define HAVE_BUTTONLIGHT_BRIGHTNESS
93 #define BATTERY_CAPACITY_DEFAULT 720 /* default battery capacity */
97 /* Define this if you have a PortalPlayer PP5020 */
98 #define CONFIG_CPU PP5020
100 /* Define this if you want to use the PP5020 i2c interface */
101 #define CONFIG_I2C I2C_PP5020
103 /* Type of mobile power */
104 #define CONFIG_BATTERY BATT_LIION750
105 #define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */
106 #define BATTERY_CAPACITY_MAX 750 /* max. capacity selectable */
107 #define BATTERY_CAPACITY_INC 0 /* capacity increment */
108 #define BATTERY_TYPES_COUNT 1 /* only one type */
110 /* Hardware controlled charging */
111 #define CONFIG_CHARGING CHARGING_SIMPLE
113 /* define this if the hardware can be powered off while charging */
114 #define HAVE_POWEROFF_WHILE_CHARGING
116 /* The start address index for ROM builds */
117 #define ROM_START 0x00000000
119 /* The size of the flash ROM */
120 #define FLASH_SIZE 0x100000
122 /* Define this to the CPU frequency */
123 #define CPU_FREQ 75000000
126 #define CONFIG_LCD LCD_MROBE100
128 /* Define this if your LCD can set contrast */
129 #define HAVE_LCD_CONTRAST
131 #define MIN_CONTRAST_SETTING 0
132 #define MAX_CONTRAST_SETTING 40
133 #define DEFAULT_CONTRAST_SETTING 20
135 /* Define this if your LCD can be enabled/disabled */
136 /* TODO: #define HAVE_LCD_ENABLE */
138 /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
139 * should be defined as well.
140 * We can currently put the lcd to sleep but it won't wake up properly */
141 /*TODO: #define HAVE_LCD_SLEEP*/
142 /*TODO: #define HAVE_LCD_SLEEP_SETTING <= optional */
144 /* We're able to shut off power to the HDD */
145 #define HAVE_ATA_POWER_OFF
147 /* #define USB_IPODSTYLE */
150 #define CONFIG_USBOTG USBOTG_ARC
152 /* define this if the unit can be powered or charged via USB */
153 #define HAVE_USB_POWER
155 /* enable these for the experimental usb stack */
156 #define HAVE_USBSTACK
157 #define USB_VENDOR_ID 0x07B4
158 #define USB_PRODUCT_ID 0x0280
160 /* Virtual LED (icon) */
161 #define CONFIG_LED LED_VIRTUAL
163 /* Define this if you have adjustable CPU frequency */
164 #define HAVE_ADJUSTABLE_CPU_FREQ
166 /* Define this if you can detect headphones */
167 #define HAVE_HEADPHONE_DETECTION
170 #define BOOTFILE_EXT "mi4"
171 #define BOOTFILE "rockbox." BOOTFILE_EXT
172 #define BOOTDIR "/.rockbox"
174 /* Offset ( in the firmware file's header ) to the file CRC and data.
175 Not used for the mrobe 100, since it boots an mi4 file, but needed
176 for compatibility. */
177 #define FIRMWARE_OFFSET_FILE_CRC 0x0
178 #define FIRMWARE_OFFSET_FILE_DATA 0x0
180 #define ICODE_ATTR_TREMOR_NOT_MDCT