From 86ce407803ee3575215e4535dada8f5b983f966f Mon Sep 17 00:00:00 2001 From: Marc Guay Date: Mon, 1 Jun 2009 12:37:25 +0000 Subject: c100: Get a regular build compiling. Very little functionality. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21153 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-c100.h | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) (limited to 'firmware/export/config-c100.h') diff --git a/firmware/export/config-c100.h b/firmware/export/config-c100.h index 1fe1a6ca64..c4e5ad5673 100644 --- a/firmware/export/config-c100.h +++ b/firmware/export/config-c100.h @@ -5,15 +5,11 @@ #define MODEL_NAME "Sandisk Sansa c100 series" -/* For Rolo and boot loader */ +/* For Rolo and bootloader */ #define MODEL_NUMBER 30 -/* define this if you have recording possibility */ -//#define HAVE_RECORDING - -/* Define bitmask of input sources - recordable bitmask can be defined - explicitly if different */ -//#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_SPDIF) +/* define hardware samples rate caps mask */ +#define HW_SAMPR_CAPS (/*SAMPR_CAP_88 | */SAMPR_CAP_44/* | SAMPR_CAP_22 | SAMPR_CAP_11*/) /* define this if you have a bitmap LCD display */ #define HAVE_LCD_BITMAP @@ -22,10 +18,10 @@ #define HAVE_LCD_COLOR /* define this if you can flip your LCD */ -#define HAVE_LCD_FLIP +/*#define HAVE_LCD_FLIP*/ /* define this if you can invert the colours on your LCD */ -#define HAVE_LCD_INVERT +/*#define HAVE_LCD_INVERT*/ /* define this if you have access to the quickscreen */ #define HAVE_QUICKSCREEN @@ -39,10 +35,13 @@ /* define this if you have a flash memory storage */ #define HAVE_FLASH_STORAGE +/* Only v1 */ #define CONFIG_STORAGE STORAGE_NAND - #define CONFIG_NAND NAND_TCC +/* c100's with direct-to-NAND access are FAT16 */ +#define HAVE_FAT16SUPPORT + /* LCD dimensions */ #define LCD_WIDTH 128 #define LCD_HEIGHT 64 @@ -63,8 +62,11 @@ /* Define this if you have a software controlled poweroff */ #define HAVE_SW_POWEROFF +/* The number of bytes reserved for loadable codecs */ +#define CODEC_SIZE 0x50000 + /* The number of bytes reserved for loadable plugins */ -#define PLUGIN_BUFFER_SIZE 0x8000 +#define PLUGIN_BUFFER_SIZE 0x50000 #define AB_REPEAT_ENABLE 1 @@ -74,6 +76,8 @@ /* Define this if you have the TLV320 audio codec */ #define HAVE_TLV320 +/*#define CONFIG_TUNER TEA5767*/ + /* TLV320 has no tone controls, so we use the software ones */ #define HAVE_SW_TONE_CONTROLS @@ -102,14 +106,11 @@ /* Define this to the CPU frequency */ #define CPU_FREQ 120000000 -/* Offset ( in the firmware file's header ) to the file length */ -#define FIRMWARE_OFFSET_FILE_LENGTH 0 - /* Offset ( in the firmware file's header ) to the file CRC */ -#define FIRMWARE_OFFSET_FILE_CRC 4 +#define FIRMWARE_OFFSET_FILE_CRC 0 /* Offset ( in the firmware file's header ) to the real data */ -#define FIRMWARE_OFFSET_FILE_DATA 6 +#define FIRMWARE_OFFSET_FILE_DATA 8 /* The start address index for ROM builds */ /* #define ROM_START 0x11010 for behind original Archos */ @@ -118,11 +119,11 @@ /* Software controlled LED */ #define CONFIG_LED LED_VIRTUAL -#define CONFIG_LCD LCD_S6B33B2 /* Not sure about this... same as C200? - MarcGuay */ +#define CONFIG_LCD LCD_S6B33B2 #define BOOTFILE_EXT "c100" #define BOOTFILE "rockbox." BOOTFILE_EXT -#define BOOTDIR "/" +#define BOOTDIR "/.rockbox" #ifdef BOOTLOADER #define TCCBOOT -- cgit v1.2.3