summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2009-07-17 04:29:34 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2009-07-17 04:29:34 +0000
commit9660a8589cbe9e1a5e5fc8e6b6d94f2c83ac63a2 (patch)
tree576f4d0b1784daf5e63c53787fdff5474914c8dd
parentc97a3bf180827c43ef6f8b2b536547f30d160988 (diff)
downloadrockbox-9660a8589cbe9e1a5e5fc8e6b6d94f2c83ac63a2.tar.gz
rockbox-9660a8589cbe9e1a5e5fc8e6b6d94f2c83ac63a2.zip
M:Robe 500: Fix simulator build and include some small changes for the 640x480 setup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21914 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/config-mrobe500.h33
1 files changed, 20 insertions, 13 deletions
diff --git a/firmware/export/config-mrobe500.h b/firmware/export/config-mrobe500.h
index 619e3fe8e7..80961c93c1 100644
--- a/firmware/export/config-mrobe500.h
+++ b/firmware/export/config-mrobe500.h
@@ -78,9 +78,11 @@
78 78
79/* choose the lcd orientation. CONFIG_ORIENTATION defined in config.h */ 79/* choose the lcd orientation. CONFIG_ORIENTATION defined in config.h */
80#if 0 80#if 0
81/* This is the Portrait setup */
81#define LCD_WIDTH LCD_NATIVE_WIDTH 82#define LCD_WIDTH LCD_NATIVE_WIDTH
82#define LCD_HEIGHT LCD_NATIVE_HEIGHT 83#define LCD_HEIGHT LCD_NATIVE_HEIGHT
83#else 84#else
85/* This is the Landscape setup */
84#define LCD_WIDTH LCD_NATIVE_HEIGHT 86#define LCD_WIDTH LCD_NATIVE_HEIGHT
85#define LCD_HEIGHT LCD_NATIVE_WIDTH 87#define LCD_HEIGHT LCD_NATIVE_WIDTH
86#endif 88#endif
@@ -117,19 +119,6 @@
117#define HAVE_TOUCHSCREEN 119#define HAVE_TOUCHSCREEN
118#define HAVE_BUTTON_DATA 120#define HAVE_BUTTON_DATA
119 121
120/* M66591 register base */
121#define M66591_BASE 0x60000000
122
123/* enable these for the usb stack */
124#define CONFIG_USBOTG USBOTG_M66591
125#define USE_ROCKBOX_USB
126#define HAVE_USBSTACK
127#define USB_STORAGE
128/* usb stack and driver settings */
129#define USB_NUM_ENDPOINTS 7
130#define USB_VENDOR_ID 0x07b4
131#define USB_PRODUCT_ID 0x0281
132
133/* define this if the target has volume keys which can be used in the lists */ 122/* define this if the target has volume keys which can be used in the lists */
134#define HAVE_VOLUME_IN_LIST 123#define HAVE_VOLUME_IN_LIST
135 124
@@ -168,7 +157,12 @@
168#define CODEC_SIZE 0x100000 157#define CODEC_SIZE 0x100000
169 158
170/* The number of bytes reserved for loadable plugins */ 159/* The number of bytes reserved for loadable plugins */
160#if LCD_NATIVE_WIDTH < 480
171#define PLUGIN_BUFFER_SIZE 0x100000 161#define PLUGIN_BUFFER_SIZE 0x100000
162#else
163/* THe larger screen needs larger bitmaps in plugins */
164#define PLUGIN_BUFFER_SIZE 0x200000
165#endif
172 166
173#define HW_SAMPR_CAPS SAMPR_CAP_44 167#define HW_SAMPR_CAPS SAMPR_CAP_44
174 168
@@ -191,6 +185,19 @@
191 185
192#ifndef SIMULATOR 186#ifndef SIMULATOR
193 187
188/* M66591 register base */
189#define M66591_BASE 0x60000000
190
191/* enable these for the usb stack */
192#define CONFIG_USBOTG USBOTG_M66591
193#define USE_ROCKBOX_USB
194//#define USB_ENABLE_SERIAL
195#define HAVE_USBSTACK
196/* usb stack and driver settings */
197#define USB_NUM_ENDPOINTS 7
198#define USB_VENDOR_ID 0x07b4
199#define USB_PRODUCT_ID 0x0281
200
194/* Define this if hardware supports alternate blitting */ 201/* Define this if hardware supports alternate blitting */
195#define HAVE_LCD_MODES LCD_MODE_RGB565 | LCD_MODE_YUV | LCD_MODE_PAL256 202#define HAVE_LCD_MODES LCD_MODE_RGB565 | LCD_MODE_YUV | LCD_MODE_PAL256
196 203