From 727a8059d7f4d04fb938f14a564ea954256ef72d Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Wed, 14 May 2008 13:51:47 +0000 Subject: 1) Split ZVM into 30GB and 60GB 2) Clean up config 3) Add scramble description git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17502 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-creativezvm.h | 22 ++++++++++++++-------- tools/configure | 31 ++++++++++++++++++++++++++++--- tools/scramble.c | 4 +++- 3 files changed, 45 insertions(+), 12 deletions(-) diff --git a/firmware/export/config-creativezvm.h b/firmware/export/config-creativezvm.h index 740997a991..33a5105df7 100644 --- a/firmware/export/config-creativezvm.h +++ b/firmware/export/config-creativezvm.h @@ -56,8 +56,13 @@ /* choose the lcd orientation. both work */ #define CONFIG_ORIENTATION SCREEN_PORTRAIT +#ifdef ZEN_VISION +#define LCD_WIDTH 640 +#define LCD_HEIGHT 480 +#else #define LCD_WIDTH 320 #define LCD_HEIGHT 240 +#endif #define LCD_DEPTH 16 /* 65k colours */ #define LCD_PIXELFORMAT RGB565 /* rgb565 */ @@ -105,7 +110,7 @@ #define CONFIG_I2C I2C_DM320 /* TLV320 has no tone controls, so we use the software ones */ -//#define HAVE_SW_TONE_CONTROLS +#define HAVE_SW_TONE_CONTROLS /*#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \ SAMPR_CAP_11)*/ @@ -134,7 +139,7 @@ #define CPU_FREQ 16934400 /* Define this if you have ATA power-off control */ -//#define HAVE_ATA_POWER_OFF +#define HAVE_ATA_POWER_OFF /* Virtual LED (icon) */ #define CONFIG_LED LED_VIRTUAL @@ -151,10 +156,12 @@ /* Define this if you have adjustable CPU frequency */ /* #define HAVE_ADJUSTABLE_CPU_FREQ */ -#ifndef ZEN_VISION -#define BOOTFILE_EXT "zvm" +#ifdef ZEN_VISION + #define BOOTFILE_EXT "zv" +#elseif defined(ZVM_60GB) + #define BOOTFILE_EXT "zvm60" #else -#define BOOTFILE_EXT "zv" + #define BOOTFILE_EXT "zvm" #endif #define BOOTFILE "rockbox." BOOTFILE_EXT #define BOOTDIR "/.rockbox" @@ -164,13 +171,12 @@ #define USB_VENDOR_ID 0x041e #define USB_PRODUCT_ID 0x4133 -//DEBUGGING! +/*DEBUGGING!*/ #ifdef BOOTLOADER #define THREAD_EXTRA_CHECKS 1 #define DEBUG 1 #define debug(msg) printf(msg) #define BUTTON_DEBUG - -#define DO_THREAD_TEST #endif + #endif diff --git a/tools/configure b/tools/configure index 2db57ef1ef..02f014d519 100755 --- a/tools/configure +++ b/tools/configure @@ -677,8 +677,9 @@ cat <