Add a note about Rockbox not running on Sansas v2 (FS#8477 by Marc Guay).
[Rockbox.git] / firmware / export / config-mrobe100.h
blob570ca8505cccbe928bde5ec48aec4142278113a8
1 /*
2 * This config file is for the Olympus m:robe MR-100
3 */
5 #define TARGET_TREE
7 #define OLYMPUS_MROBE_100 1
9 /* For Rolo and boot loader */
10 #define MODEL_NUMBER 23
11 #define MODEL_NAME "Olympus m:robe MR-100"
13 /* define this if you have a bitmap LCD display */
14 #define HAVE_LCD_BITMAP
16 /* define this if you have access to the quickscreen */
17 #define HAVE_QUICKSCREEN
19 /* define this if you have access to the pitchscreen */
20 #define HAVE_PITCHSCREEN
22 /* define this if you would like tagcache to build on this target */
23 #define HAVE_TAGCACHE
25 /* LCD dimensions */
26 #define LCD_WIDTH 160
27 #define LCD_HEIGHT 128
28 #define LCD_DEPTH 1
29 #define LCD_PIXELFORMAT VERTICAL_PACKING
31 /* define this if you can flip your LCD */
32 /*#define HAVE_LCD_FLIP*/
34 /* define this if you can invert the colours on your LCD */
35 /*#define HAVE_LCD_INVERT*/
37 /*#define IRAM_LCDFRAMEBUFFER IDATA_ATTR */ /* put the lcd frame buffer in IRAM */
39 #define CONFIG_KEYPAD MROBE100_PAD
41 /* Define this if you do software codec */
42 #define CONFIG_CODEC SWCODEC
44 /* define this if you have a real-time clock */
45 #ifndef BOOTLOADER
46 #define CONFIG_RTC RTC_MR100
47 #endif
49 /* Define this if you have a software controlled poweroff */
50 #define HAVE_SW_POWEROFF
52 /* The number of bytes reserved for loadable codecs */
53 #define CODEC_SIZE 0x80000
55 /* The number of bytes reserved for loadable plugins */
56 #define PLUGIN_BUFFER_SIZE 0x80000
58 /* Wolfsom audio codec */
59 #define HAVE_WM8751
61 #define AB_REPEAT_ENABLE 1
63 /* Define this for LCD backlight available */
64 #define HAVE_BACKLIGHT
65 /* TODO #define HAVE_BACKLIGHT_BRIGHTNESS */
67 /* Main LCD backlight brightness range and defaults */
68 #define MIN_BRIGHTNESS_SETTING 1
69 #define MAX_BRIGHTNESS_SETTING 12
70 #define DEFAULT_BRIGHTNESS_SETTING 6
72 /* define this if you have a light associated with the buttons */
73 #define HAVE_BUTTON_LIGHT
75 #define BATTERY_CAPACITY_DEFAULT 720 /* default battery capacity */
77 #ifndef SIMULATOR
79 /* Define this if you have a PortalPlayer PP5020 */
80 #define CONFIG_CPU PP5020
82 /* Define this if you want to use the PP5020 i2c interface */
83 #define CONFIG_I2C I2C_PP5020
85 /* Type of mobile power */
86 #define CONFIG_BATTERY BATT_LIION750
87 #define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */
88 #define BATTERY_CAPACITY_MAX 750 /* max. capacity selectable */
89 #define BATTERY_CAPACITY_INC 0 /* capacity increment */
90 #define BATTERY_TYPES_COUNT 1 /* only one type */
92 /* Hardware controlled charging */
93 #define CONFIG_CHARGING CHARGING_SIMPLE
95 /* define this if the hardware can be powered off while charging */
96 #define HAVE_POWEROFF_WHILE_CHARGING
98 /* The start address index for ROM builds */
99 #define ROM_START 0x00000000
101 /* The size of the flash ROM */
102 #define FLASH_SIZE 0x100000
104 /* Define this to the CPU frequency */
105 #define CPU_FREQ 75000000
107 /* Type of LCD */
108 #define CONFIG_LCD LCD_MROBE100
110 /* Define this if your LCD can set contrast */
111 #define HAVE_LCD_CONTRAST
113 #define MIN_CONTRAST_SETTING 0
114 #define MAX_CONTRAST_SETTING 40
115 #define DEFAULT_CONTRAST_SETTING 20
117 /* Define this if your LCD can be enabled/disabled */
118 /* TODO: #define HAVE_LCD_ENABLE */
120 /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
121 * should be defined as well.
122 * We can currently put the lcd to sleep but it won't wake up properly */
123 /*TODO: #define HAVE_LCD_SLEEP*/
125 /* We're able to shut off power to the HDD */
126 #define HAVE_ATA_POWER_OFF
128 /* #define USB_IPODSTYLE */
130 /* USB On-the-go */
131 #define CONFIG_USBOTG USBOTG_ARC
133 /* define this if the unit can be powered or charged via USB */
134 #define HAVE_USB_POWER
136 /* enable these for the experimental usb stack */
137 #define HAVE_USBSTACK
138 #define USB_VENDOR_ID 0x07B4
139 #define USB_PRODUCT_ID 0x0280
141 /* Virtual LED (icon) */
142 #define CONFIG_LED LED_VIRTUAL
144 /* Define this if you have adjustable CPU frequency */
145 #define HAVE_ADJUSTABLE_CPU_FREQ
147 /* Define this if you can detect headphones */
148 #define HAVE_HEADPHONE_DETECTION
150 #define MI4_FORMAT
151 #define BOOTFILE_EXT "mi4"
152 #define BOOTFILE "rockbox." BOOTFILE_EXT
153 #define BOOTDIR "/.rockbox"
155 /* Offset ( in the firmware file's header ) to the file CRC and data.
156 Not used for the mrobe 100, since it boots an mi4 file, but needed
157 for compatibility. */
158 #define FIRMWARE_OFFSET_FILE_CRC 0x0
159 #define FIRMWARE_OFFSET_FILE_DATA 0x0
161 #define ICODE_ATTR_TREMOR_NOT_MDCT
163 #endif