diff options
author | Marc Guay <marcguay@rockbox.org> | 2009-06-01 12:37:25 +0000 |
---|---|---|
committer | Marc Guay <marcguay@rockbox.org> | 2009-06-01 12:37:25 +0000 |
commit | 86ce407803ee3575215e4535dada8f5b983f966f (patch) | |
tree | 4b8460897e930f87e79a95b7cd8924cec7f9aaed /firmware/export | |
parent | f5db6b9ce360b245ed46aeed9597d1c5d80c6074 (diff) | |
download | rockbox-86ce407803ee3575215e4535dada8f5b983f966f.tar.gz rockbox-86ce407803ee3575215e4535dada8f5b983f966f.zip |
c100: Get a regular build compiling. Very little functionality.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21153 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config-c100.h | 37 |
1 files changed, 19 insertions, 18 deletions
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 @@ | |||
5 | 5 | ||
6 | #define MODEL_NAME "Sandisk Sansa c100 series" | 6 | #define MODEL_NAME "Sandisk Sansa c100 series" |
7 | 7 | ||
8 | /* For Rolo and boot loader */ | 8 | /* For Rolo and bootloader */ |
9 | #define MODEL_NUMBER 30 | 9 | #define MODEL_NUMBER 30 |
10 | 10 | ||
11 | /* define this if you have recording possibility */ | 11 | /* define hardware samples rate caps mask */ |
12 | //#define HAVE_RECORDING | 12 | #define HW_SAMPR_CAPS (/*SAMPR_CAP_88 | */SAMPR_CAP_44/* | SAMPR_CAP_22 | SAMPR_CAP_11*/) |
13 | |||
14 | /* Define bitmask of input sources - recordable bitmask can be defined | ||
15 | explicitly if different */ | ||
16 | //#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_SPDIF) | ||
17 | 13 | ||
18 | /* define this if you have a bitmap LCD display */ | 14 | /* define this if you have a bitmap LCD display */ |
19 | #define HAVE_LCD_BITMAP | 15 | #define HAVE_LCD_BITMAP |
@@ -22,10 +18,10 @@ | |||
22 | #define HAVE_LCD_COLOR | 18 | #define HAVE_LCD_COLOR |
23 | 19 | ||
24 | /* define this if you can flip your LCD */ | 20 | /* define this if you can flip your LCD */ |
25 | #define HAVE_LCD_FLIP | 21 | /*#define HAVE_LCD_FLIP*/ |
26 | 22 | ||
27 | /* define this if you can invert the colours on your LCD */ | 23 | /* define this if you can invert the colours on your LCD */ |
28 | #define HAVE_LCD_INVERT | 24 | /*#define HAVE_LCD_INVERT*/ |
29 | 25 | ||
30 | /* define this if you have access to the quickscreen */ | 26 | /* define this if you have access to the quickscreen */ |
31 | #define HAVE_QUICKSCREEN | 27 | #define HAVE_QUICKSCREEN |
@@ -39,10 +35,13 @@ | |||
39 | /* define this if you have a flash memory storage */ | 35 | /* define this if you have a flash memory storage */ |
40 | #define HAVE_FLASH_STORAGE | 36 | #define HAVE_FLASH_STORAGE |
41 | 37 | ||
38 | /* Only v1 */ | ||
42 | #define CONFIG_STORAGE STORAGE_NAND | 39 | #define CONFIG_STORAGE STORAGE_NAND |
43 | |||
44 | #define CONFIG_NAND NAND_TCC | 40 | #define CONFIG_NAND NAND_TCC |
45 | 41 | ||
42 | /* c100's with direct-to-NAND access are FAT16 */ | ||
43 | #define HAVE_FAT16SUPPORT | ||
44 | |||
46 | /* LCD dimensions */ | 45 | /* LCD dimensions */ |
47 | #define LCD_WIDTH 128 | 46 | #define LCD_WIDTH 128 |
48 | #define LCD_HEIGHT 64 | 47 | #define LCD_HEIGHT 64 |
@@ -63,8 +62,11 @@ | |||
63 | /* Define this if you have a software controlled poweroff */ | 62 | /* Define this if you have a software controlled poweroff */ |
64 | #define HAVE_SW_POWEROFF | 63 | #define HAVE_SW_POWEROFF |
65 | 64 | ||
65 | /* The number of bytes reserved for loadable codecs */ | ||
66 | #define CODEC_SIZE 0x50000 | ||
67 | |||
66 | /* The number of bytes reserved for loadable plugins */ | 68 | /* The number of bytes reserved for loadable plugins */ |
67 | #define PLUGIN_BUFFER_SIZE 0x8000 | 69 | #define PLUGIN_BUFFER_SIZE 0x50000 |
68 | 70 | ||
69 | #define AB_REPEAT_ENABLE 1 | 71 | #define AB_REPEAT_ENABLE 1 |
70 | 72 | ||
@@ -74,6 +76,8 @@ | |||
74 | /* Define this if you have the TLV320 audio codec */ | 76 | /* Define this if you have the TLV320 audio codec */ |
75 | #define HAVE_TLV320 | 77 | #define HAVE_TLV320 |
76 | 78 | ||
79 | /*#define CONFIG_TUNER TEA5767*/ | ||
80 | |||
77 | /* TLV320 has no tone controls, so we use the software ones */ | 81 | /* TLV320 has no tone controls, so we use the software ones */ |
78 | #define HAVE_SW_TONE_CONTROLS | 82 | #define HAVE_SW_TONE_CONTROLS |
79 | 83 | ||
@@ -102,14 +106,11 @@ | |||
102 | /* Define this to the CPU frequency */ | 106 | /* Define this to the CPU frequency */ |
103 | #define CPU_FREQ 120000000 | 107 | #define CPU_FREQ 120000000 |
104 | 108 | ||
105 | /* Offset ( in the firmware file's header ) to the file length */ | ||
106 | #define FIRMWARE_OFFSET_FILE_LENGTH 0 | ||
107 | |||
108 | /* Offset ( in the firmware file's header ) to the file CRC */ | 109 | /* Offset ( in the firmware file's header ) to the file CRC */ |
109 | #define FIRMWARE_OFFSET_FILE_CRC 4 | 110 | #define FIRMWARE_OFFSET_FILE_CRC 0 |
110 | 111 | ||
111 | /* Offset ( in the firmware file's header ) to the real data */ | 112 | /* Offset ( in the firmware file's header ) to the real data */ |
112 | #define FIRMWARE_OFFSET_FILE_DATA 6 | 113 | #define FIRMWARE_OFFSET_FILE_DATA 8 |
113 | 114 | ||
114 | /* The start address index for ROM builds */ | 115 | /* The start address index for ROM builds */ |
115 | /* #define ROM_START 0x11010 for behind original Archos */ | 116 | /* #define ROM_START 0x11010 for behind original Archos */ |
@@ -118,11 +119,11 @@ | |||
118 | /* Software controlled LED */ | 119 | /* Software controlled LED */ |
119 | #define CONFIG_LED LED_VIRTUAL | 120 | #define CONFIG_LED LED_VIRTUAL |
120 | 121 | ||
121 | #define CONFIG_LCD LCD_S6B33B2 /* Not sure about this... same as C200? - MarcGuay */ | 122 | #define CONFIG_LCD LCD_S6B33B2 |
122 | 123 | ||
123 | #define BOOTFILE_EXT "c100" | 124 | #define BOOTFILE_EXT "c100" |
124 | #define BOOTFILE "rockbox." BOOTFILE_EXT | 125 | #define BOOTFILE "rockbox." BOOTFILE_EXT |
125 | #define BOOTDIR "/" | 126 | #define BOOTDIR "/.rockbox" |
126 | 127 | ||
127 | #ifdef BOOTLOADER | 128 | #ifdef BOOTLOADER |
128 | #define TCCBOOT | 129 | #define TCCBOOT |