···11+/*
22+ * This config file is for the Olympus m:robe MR-100
33+ */
44+55+#define TARGET_TREE
66+77+/* For Rolo and boot loader */
88+#define MODEL_NUMBER 23
99+#define MODEL_NAME "Olympus m:robe MR-100"
1010+1111+/* define this if you have a bitmap LCD display */
1212+#define HAVE_LCD_BITMAP
1313+1414+/* define this if you have access to the quickscreen */
1515+#define HAVE_QUICKSCREEN
1616+1717+/* define this if you have access to the pitchscreen */
1818+#define HAVE_PITCHSCREEN
1919+2020+/* define this if you would like tagcache to build on this target */
2121+#define HAVE_TAGCACHE
2222+2323+/* LCD dimensions */
2424+#define LCD_WIDTH 160
2525+#define LCD_HEIGHT 128
2626+#define LCD_DEPTH 1
2727+#define LCD_PIXELFORMAT VERTICAL_PACKING
2828+2929+/* define this if you can flip your LCD */
3030+/*#define HAVE_LCD_FLIP*/
3131+3232+/* define this if you can invert the colours on your LCD */
3333+/*#define HAVE_LCD_INVERT*/
3434+3535+/*#define IRAM_LCDFRAMEBUFFER IDATA_ATTR */ /* put the lcd frame buffer in IRAM */
3636+3737+#define CONFIG_KEYPAD MROBE100_PAD
3838+3939+/* Define this if you do software codec */
4040+#define CONFIG_CODEC SWCODEC
4141+4242+/* define this if you have a real-time clock */
4343+#ifndef BOOTLOADER
4444+//#define CONFIG_RTC RTC_E8564
4545+#endif
4646+4747+/* Define this if you have a software controlled poweroff */
4848+#define HAVE_SW_POWEROFF
4949+5050+/* The number of bytes reserved for loadable codecs */
5151+#define CODEC_SIZE 0x80000
5252+5353+/* The number of bytes reserved for loadable plugins */
5454+#define PLUGIN_BUFFER_SIZE 0x80000
5555+5656+/* Wolfsom audio codec */
5757+/* TODO: #define HAVE_WM8751 */
5858+#define HAVE_WM8731
5959+6060+/* WM8731 has no tone controls, so we use the software ones */
6161+#define HAVE_SW_TONE_CONTROLS
6262+6363+#define AB_REPEAT_ENABLE 1
6464+6565+/* Define this for LCD backlight available */
6666+#define HAVE_BACKLIGHT
6767+/* TODO #define HAVE_BACKLIGHT_BRIGHTNESS */
6868+6969+/* Main LCD backlight brightness range and defaults */
7070+#define MIN_BRIGHTNESS_SETTING 1
7171+#define MAX_BRIGHTNESS_SETTING 12
7272+#define DEFAULT_BRIGHTNESS_SETTING 6
7373+7474+/* define this if you have a light associated with the buttons */
7575+#define HAVE_BUTTON_LIGHT
7676+7777+#define BATTERY_CAPACITY_DEFAULT 720 /* default battery capacity */
7878+7979+#ifndef SIMULATOR
8080+8181+/* Define this if you have a PortalPlayer PP5020 */
8282+#define CONFIG_CPU PP5020
8383+8484+/* Define this if you want to use the PP5020 i2c interface */
8585+#define CONFIG_I2C I2C_PP5020
8686+8787+/* Type of mobile power */
8888+#define CONFIG_BATTERY BATT_LIION750
8989+#define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */
9090+#define BATTERY_CAPACITY_MAX 750 /* max. capacity selectable */
9191+#define BATTERY_CAPACITY_INC 0 /* capacity increment */
9292+#define BATTERY_TYPES_COUNT 1 /* only one type */
9393+9494+/* Hardware controlled charging */
9595+#define CONFIG_CHARGING CHARGING_SIMPLE
9696+9797+/* define this if the hardware can be powered off while charging */
9898+#define HAVE_POWEROFF_WHILE_CHARGING
9999+100100+/* The start address index for ROM builds */
101101+#define ROM_START 0x00000000
102102+103103+/* The size of the flash ROM */
104104+#define FLASH_SIZE 0x100000
105105+106106+/* Define this to the CPU frequency */
107107+#define CPU_FREQ 75000000
108108+109109+/* Type of LCD */
110110+#define CONFIG_LCD LCD_MROBE100
111111+112112+/* Define this if your LCD can set contrast */
113113+#define HAVE_LCD_CONTRAST
114114+115115+#define MIN_CONTRAST_SETTING 0
116116+#define MAX_CONTRAST_SETTING 40
117117+#define DEFAULT_CONTRAST_SETTING 20
118118+119119+/* Define this if your LCD can be enabled/disabled */
120120+/* TODO: #define HAVE_LCD_ENABLE */
121121+122122+/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
123123+ * should be defined as well.
124124+ * We can currently put the lcd to sleep but it won't wake up properly */
125125+/*TODO: #define HAVE_LCD_SLEEP*/
126126+127127+/* We're able to shut off power to the HDD */
128128+#define HAVE_ATA_POWER_OFF
129129+130130+/* #define USB_IPODSTYLE */
131131+132132+/* USB On-the-go */
133133+#define CONFIG_USBOTG USBOTG_ARC
134134+135135+/* define this if the unit can be powered or charged via USB */
136136+#define HAVE_USB_POWER
137137+138138+/* enable these for the experimental usb stack */
139139+/* TODO: get correct ID's */
140140+#define HAVE_USBSTACK
141141+#define USB_VENDOR_ID 0x0B70
142142+#define USB_PRODUCT_ID 0x00BA
143143+144144+/* Virtual LED (icon) */
145145+#define CONFIG_LED LED_VIRTUAL
146146+147147+/* Define this if you have adjustable CPU frequency */
148148+#define HAVE_ADJUSTABLE_CPU_FREQ
149149+150150+/* Define this if you can detect headphones */
151151+#define HAVE_HEADPHONE_DETECTION
152152+153153+#define MI4_FORMAT
154154+#define BOOTFILE_EXT "mi4"
155155+#define BOOTFILE "rockbox." BOOTFILE_EXT
156156+#define BOOTDIR "/.rockbox"
157157+158158+/* Offset ( in the firmware file's header ) to the file CRC and data.
159159+ Not used for the mrobe 100, since it boots an mi4 file, but needed
160160+ for compatibility. */
161161+#define FIRMWARE_OFFSET_FILE_CRC 0x0
162162+#define FIRMWARE_OFFSET_FILE_DATA 0x0
163163+164164+#define ICODE_ATTR_TREMOR_NOT_MDCT
165165+166166+#endif