From 9660a8589cbe9e1a5e5fc8e6b6d94f2c83ac63a2 Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Fri, 17 Jul 2009 04:29:34 +0000 Subject: 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 --- firmware/export/config-mrobe500.h | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/firmware/export/config-mrobe500.h b/firmware/export/config-mrobe500.h index 619e3fe..80961c9 100644 --- a/firmware/export/config-mrobe500.h +++ b/firmware/export/config-mrobe500.h @@ -78,9 +78,11 @@ /* choose the lcd orientation. CONFIG_ORIENTATION defined in config.h */ #if 0 +/* This is the Portrait setup */ #define LCD_WIDTH LCD_NATIVE_WIDTH #define LCD_HEIGHT LCD_NATIVE_HEIGHT #else +/* This is the Landscape setup */ #define LCD_WIDTH LCD_NATIVE_HEIGHT #define LCD_HEIGHT LCD_NATIVE_WIDTH #endif @@ -117,19 +119,6 @@ #define HAVE_TOUCHSCREEN #define HAVE_BUTTON_DATA -/* M66591 register base */ -#define M66591_BASE 0x60000000 - -/* enable these for the usb stack */ -#define CONFIG_USBOTG USBOTG_M66591 -#define USE_ROCKBOX_USB -#define HAVE_USBSTACK -#define USB_STORAGE -/* usb stack and driver settings */ -#define USB_NUM_ENDPOINTS 7 -#define USB_VENDOR_ID 0x07b4 -#define USB_PRODUCT_ID 0x0281 - /* define this if the target has volume keys which can be used in the lists */ #define HAVE_VOLUME_IN_LIST @@ -168,7 +157,12 @@ #define CODEC_SIZE 0x100000 /* The number of bytes reserved for loadable plugins */ +#if LCD_NATIVE_WIDTH < 480 #define PLUGIN_BUFFER_SIZE 0x100000 +#else +/* THe larger screen needs larger bitmaps in plugins */ +#define PLUGIN_BUFFER_SIZE 0x200000 +#endif #define HW_SAMPR_CAPS SAMPR_CAP_44 @@ -191,6 +185,19 @@ #ifndef SIMULATOR +/* M66591 register base */ +#define M66591_BASE 0x60000000 + +/* enable these for the usb stack */ +#define CONFIG_USBOTG USBOTG_M66591 +#define USE_ROCKBOX_USB +//#define USB_ENABLE_SERIAL +#define HAVE_USBSTACK +/* usb stack and driver settings */ +#define USB_NUM_ENDPOINTS 7 +#define USB_VENDOR_ID 0x07b4 +#define USB_PRODUCT_ID 0x0281 + /* Define this if hardware supports alternate blitting */ #define HAVE_LCD_MODES LCD_MODE_RGB565 | LCD_MODE_YUV | LCD_MODE_PAL256 -- cgit v1.1