diff options
Diffstat (limited to 'firmware/export/config')
-rw-r--r-- | firmware/export/config/iaudio7.h | 164 | ||||
-rw-r--r-- | firmware/export/config/logikdax.h | 152 | ||||
-rw-r--r-- | firmware/export/config/sansac100.h | 130 | ||||
-rw-r--r-- | firmware/export/config/sansam200.h | 139 |
4 files changed, 0 insertions, 585 deletions
diff --git a/firmware/export/config/iaudio7.h b/firmware/export/config/iaudio7.h deleted file mode 100644 index 698ff13724..0000000000 --- a/firmware/export/config/iaudio7.h +++ /dev/null | |||
@@ -1,164 +0,0 @@ | |||
1 | /* | ||
2 | * This config file is for the Iaudio7 series | ||
3 | */ | ||
4 | |||
5 | /* For Rolo and boot loader */ | ||
6 | #define MODEL_NUMBER 32 | ||
7 | #define MODEL_NAME "Cowon iAudio7" | ||
8 | |||
9 | /* define this if you have recording possibility */ | ||
10 | #define HAVE_RECORDING | ||
11 | |||
12 | /* Define bitmask of input sources - recordable bitmask can be defined | ||
13 | explicitly if different */ | ||
14 | #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO) | ||
15 | |||
16 | /* FM Tuner */ | ||
17 | #define CONFIG_TUNER LV24020LP | ||
18 | #define HAVE_TUNER_PWR_CTRL | ||
19 | |||
20 | /* Define this for FM radio input available */ | ||
21 | #define HAVE_FMRADIO_IN | ||
22 | |||
23 | /* define hardware samples rate caps mask */ | ||
24 | #define HW_SAMPR_CAPS (/*SAMPR_CAP_88 | */SAMPR_CAP_44/* | SAMPR_CAP_22 | SAMPR_CAP_11*/) | ||
25 | |||
26 | /* define the bitmask of recording sample rates */ | ||
27 | #define REC_SAMPR_CAPS (SAMPR_CAP_44/* | SAMPR_CAP_22 | SAMPR_CAP_11*/) | ||
28 | |||
29 | |||
30 | |||
31 | |||
32 | /* define this if you have a colour LCD */ | ||
33 | #define HAVE_LCD_COLOR | ||
34 | |||
35 | /* define this if you can flip your LCD */ | ||
36 | //#define HAVE_LCD_FLIP | ||
37 | |||
38 | /* define this if you can invert the colours on your LCD */ | ||
39 | //#define HAVE_LCD_INVERT | ||
40 | |||
41 | /* define this if you want album art for this target */ | ||
42 | #define HAVE_ALBUMART | ||
43 | |||
44 | /* define this to enable bitmap scaling */ | ||
45 | #define HAVE_BMP_SCALING | ||
46 | |||
47 | /* define this to enable JPEG decoding */ | ||
48 | #define HAVE_JPEG | ||
49 | |||
50 | /* define this if you have access to the quickscreen */ | ||
51 | #define HAVE_QUICKSCREEN | ||
52 | |||
53 | /* define this if you have LCD enable function */ | ||
54 | #define HAVE_LCD_ENABLE | ||
55 | |||
56 | /* define this if you would like tagcache to build on this target */ | ||
57 | #define HAVE_TAGCACHE | ||
58 | |||
59 | #define HAVE_FAT16SUPPORT | ||
60 | |||
61 | #if 0 && !defined(SIMULATOR) /* Enable for USB driver test */ | ||
62 | #define HAVE_USBSTACK | ||
63 | #define USB_VENDOR_ID 0x0e21 | ||
64 | #define USB_PRODUCT_ID 0x0750 | ||
65 | #endif | ||
66 | |||
67 | /* define this if you have a flash memory storage */ | ||
68 | #define HAVE_FLASH_STORAGE | ||
69 | |||
70 | #define CONFIG_STORAGE STORAGE_NAND | ||
71 | |||
72 | #define CONFIG_NAND NAND_TCC | ||
73 | |||
74 | /* LCD dimensions */ | ||
75 | #define LCD_WIDTH 160 | ||
76 | #define LCD_HEIGHT 128 | ||
77 | /* sqrt(160^2 + 128^2) / 1.3 = 157.6 */ | ||
78 | #define LCD_DPI 158 | ||
79 | /* 16bits for now... */ | ||
80 | #define LCD_DEPTH 16 /* 262144 colours */ | ||
81 | #define LCD_PIXELFORMAT RGB565 /*rgb565*/ | ||
82 | |||
83 | /*#define LCD_PIXELFORMAT VERTICAL_PACKING*/ | ||
84 | |||
85 | /* define this to indicate your device's keypad */ | ||
86 | #define CONFIG_KEYPAD IAUDIO67_PAD | ||
87 | |||
88 | /* #define HAVE_BUTTON_DATA */ | ||
89 | |||
90 | /* define this if you have a real-time clock */ | ||
91 | #define CONFIG_RTC RTC_PCF50606 | ||
92 | |||
93 | /* define this if you have RTC RAM available for settings */ | ||
94 | //#define HAVE_RTC_RAM | ||
95 | |||
96 | /* Define this if you have a software controlled poweroff */ | ||
97 | #define HAVE_SW_POWEROFF | ||
98 | |||
99 | /* Reduce Tremor's ICODE usage */ | ||
100 | #define ICODE_ATTR_TREMOR_NOT_MDCT | ||
101 | |||
102 | /* The number of bytes reserved for loadable codecs */ | ||
103 | #define CODEC_SIZE 0x100000 | ||
104 | |||
105 | /* The number of bytes reserved for loadable plugins */ | ||
106 | #define PLUGIN_BUFFER_SIZE 0x80000 | ||
107 | |||
108 | #define AB_REPEAT_ENABLE | ||
109 | |||
110 | |||
111 | |||
112 | |||
113 | /* The iaudio7 uses built-in WM8731 codec */ | ||
114 | #define HAVE_WM8731 | ||
115 | /* Codec is slave on serial bus */ | ||
116 | #define CODEC_SLAVE | ||
117 | |||
118 | /* WM8731 has no tone controls, so we use the software ones */ | ||
119 | #define HAVE_SW_TONE_CONTROLS | ||
120 | |||
121 | /* Define this for LCD backlight available */ | ||
122 | #define HAVE_BACKLIGHT | ||
123 | |||
124 | #define CONFIG_I2C I2C_TCC77X | ||
125 | |||
126 | #define BATTERY_CAPACITY_DEFAULT 540 /* default battery capacity */ | ||
127 | #define BATTERY_CAPACITY_MIN 540 /* min. capacity selectable */ | ||
128 | #define BATTERY_CAPACITY_MAX 540 /* max. capacity selectable */ | ||
129 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | ||
130 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
131 | |||
132 | #define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE | ||
133 | |||
134 | #define CONFIG_CHARGING CHARGING_SIMPLE | ||
135 | |||
136 | /* Define this if you have a TCC770 */ | ||
137 | #define CONFIG_CPU TCC770 | ||
138 | |||
139 | /* Define this if you have ATA power-off control */ | ||
140 | #define HAVE_ATA_POWER_OFF | ||
141 | |||
142 | /* Define this to the CPU frequency */ | ||
143 | #define CPU_FREQ 120000000 | ||
144 | |||
145 | /* Offset ( in the firmware file's header ) to the file CRC */ | ||
146 | #define FIRMWARE_OFFSET_FILE_CRC 0 | ||
147 | |||
148 | /* Offset ( in the firmware file's header ) to the real data */ | ||
149 | #define FIRMWARE_OFFSET_FILE_DATA 8 | ||
150 | |||
151 | #define CONFIG_LCD LCD_IAUDIO67 | ||
152 | |||
153 | #define BOOTFILE_EXT "iaudio" | ||
154 | #define BOOTFILE "rockbox." BOOTFILE_EXT | ||
155 | #define BOOTDIR "/.rockbox" | ||
156 | |||
157 | #ifdef BOOTLOADER | ||
158 | #define TCCBOOT | ||
159 | #endif | ||
160 | |||
161 | #define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */ | ||
162 | |||
163 | /* Define this if a programmable hotkey is mapped */ | ||
164 | //#define HAVE_HOTKEY | ||
diff --git a/firmware/export/config/logikdax.h b/firmware/export/config/logikdax.h deleted file mode 100644 index 47229f7a1d..0000000000 --- a/firmware/export/config/logikdax.h +++ /dev/null | |||
@@ -1,152 +0,0 @@ | |||
1 | /* | ||
2 | * This config file is for the Logik DAX MP3/DAB | ||
3 | */ | ||
4 | |||
5 | /* For Rolo and boot loader */ | ||
6 | #define MODEL_NUMBER 33 | ||
7 | |||
8 | #define MODEL_NAME "Logik DAX MP3/DAB" | ||
9 | |||
10 | /* define this if you have recording possibility */ | ||
11 | //#define HAVE_RECORDING | ||
12 | |||
13 | /* Define bitmask of input sources - recordable bitmask can be defined | ||
14 | explicitly if different */ | ||
15 | //#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_SPDIF) | ||
16 | |||
17 | #if 0 /* Enable for USB driver test */ | ||
18 | #define HAVE_USBSTACK | ||
19 | #define USB_VENDOR_ID 0x13d1 | ||
20 | #define USB_PRODUCT_ID 0x1002 | ||
21 | #endif | ||
22 | |||
23 | |||
24 | |||
25 | |||
26 | |||
27 | /* define this if you can flip your LCD */ | ||
28 | #define HAVE_LCD_FLIP | ||
29 | |||
30 | /* define this if you can invert the colours on your LCD */ | ||
31 | #define HAVE_LCD_INVERT | ||
32 | |||
33 | /* define this if you have access to the quickscreen */ | ||
34 | #define HAVE_QUICKSCREEN | ||
35 | |||
36 | /* define this if you would like tagcache to build on this target */ | ||
37 | #define HAVE_TAGCACHE | ||
38 | |||
39 | #define HAVE_FAT16SUPPORT | ||
40 | |||
41 | /* define this if you have a flash memory storage */ | ||
42 | #define HAVE_FLASH_STORAGE | ||
43 | |||
44 | #define CONFIG_STORAGE STORAGE_NAND | ||
45 | |||
46 | #define CONFIG_NAND NAND_TCC | ||
47 | |||
48 | /* LCD dimensions */ | ||
49 | #define LCD_WIDTH 128 | ||
50 | #define LCD_HEIGHT 64 | ||
51 | /* sqrt(128^2 + 64^2) / 1.0 = 143.1 */ | ||
52 | #define LCD_DPI 143 | ||
53 | #define LCD_DEPTH 1 | ||
54 | |||
55 | #define LCD_PIXELFORMAT VERTICAL_PACKING | ||
56 | |||
57 | /* Display colours, for screenshots and sim (0xRRGGBB) */ | ||
58 | #define LCD_DARKCOLOR 0x000000 | ||
59 | #define LCD_BRIGHTCOLOR 0x5a915a | ||
60 | #define LCD_BL_DARKCOLOR 0x000000 | ||
61 | #define LCD_BL_BRIGHTCOLOR 0x82b4fa | ||
62 | |||
63 | /* define this to indicate your device's keypad */ | ||
64 | #define CONFIG_KEYPAD LOGIK_DAX_PAD | ||
65 | |||
66 | /* define this if you have a real-time clock */ | ||
67 | #define CONFIG_RTC RTC_TCC77X | ||
68 | |||
69 | /* define this if you have RTC RAM available for settings */ | ||
70 | //#define HAVE_RTC_RAM | ||
71 | |||
72 | /* Define this if you have a software controlled poweroff */ | ||
73 | #define HAVE_SW_POWEROFF | ||
74 | |||
75 | /* The number of bytes reserved for loadable codecs */ | ||
76 | #define CODEC_SIZE 0x38000 | ||
77 | |||
78 | /* The number of bytes reserved for loadable plugins */ | ||
79 | #define PLUGIN_BUFFER_SIZE 0x10000 | ||
80 | |||
81 | #define AB_REPEAT_ENABLE | ||
82 | |||
83 | |||
84 | |||
85 | |||
86 | /* The DAX uses built-in WM8731 codec */ | ||
87 | #define HAVE_WM8731 | ||
88 | /* Codec is slave on serial bus */ | ||
89 | #define CODEC_SLAVE | ||
90 | /* WM8731 has no tone controls, so we use the software ones */ | ||
91 | #define HAVE_SW_TONE_CONTROLS | ||
92 | |||
93 | /* Define this for LCD backlight available */ | ||
94 | #define HAVE_BACKLIGHT | ||
95 | |||
96 | #define CONFIG_I2C I2C_TCC77X | ||
97 | |||
98 | #define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */ | ||
99 | #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */ | ||
100 | #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ | ||
101 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | ||
102 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
103 | |||
104 | #define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE | ||
105 | |||
106 | /* define this if the unit should not shut down on low battery. */ | ||
107 | #define NO_LOW_BATTERY_SHUTDOWN | ||
108 | |||
109 | /* Define this if you have a TCC773L */ | ||
110 | #define CONFIG_CPU TCC773L | ||
111 | |||
112 | /* Define this if you have ATA power-off control */ | ||
113 | #define HAVE_ATA_POWER_OFF | ||
114 | |||
115 | #define HAVE_FAT16SUPPORT | ||
116 | |||
117 | /* Define this to the CPU frequency */ | ||
118 | #define CPU_FREQ 120000000 | ||
119 | |||
120 | /* Offset ( in the firmware file's header ) to the file length */ | ||
121 | #define FIRMWARE_OFFSET_FILE_LENGTH 0 | ||
122 | |||
123 | /* Offset ( in the firmware file's header ) to the file CRC */ | ||
124 | #define FIRMWARE_OFFSET_FILE_CRC 4 | ||
125 | |||
126 | /* Offset ( in the firmware file's header ) to the real data */ | ||
127 | #define FIRMWARE_OFFSET_FILE_DATA 6 | ||
128 | |||
129 | /* The start address index for ROM builds */ | ||
130 | /* #define ROM_START 0x11010 for behind original Archos */ | ||
131 | #define ROM_START 0x7010 /* for behind BootBox */ | ||
132 | |||
133 | #define CONFIG_LCD LCD_SSD1815 | ||
134 | |||
135 | #define BOOTFILE_EXT "logik" | ||
136 | #define BOOTFILE "rockbox." BOOTFILE_EXT | ||
137 | #define BOOTDIR "/" | ||
138 | |||
139 | #define IBSS_ATTR_VOICE_STACK | ||
140 | #define ICODE_ATTR_TREMOR_NOT_MDCT | ||
141 | #define ICODE_ATTR_TREMOR_MDCT | ||
142 | #define ICODE_ATTR_FLAC | ||
143 | #define IBSS_ATTR_FLAC_DECODED0 | ||
144 | #define ICONST_ATTR_MPA_HUFFMAN | ||
145 | #define IBSS_ATTR_MPC_SAMPLE_BUF | ||
146 | #define ICODE_ATTR_ALAC | ||
147 | #define IBSS_ATTR_SHORTEN_DECODED0 | ||
148 | |||
149 | #define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */ | ||
150 | |||
151 | /* Define this if a programmable hotkey is mapped */ | ||
152 | //#define HAVE_HOTKEY | ||
diff --git a/firmware/export/config/sansac100.h b/firmware/export/config/sansac100.h deleted file mode 100644 index c2956eed12..0000000000 --- a/firmware/export/config/sansac100.h +++ /dev/null | |||
@@ -1,130 +0,0 @@ | |||
1 | /* | ||
2 | * This config file is for the Sansa C100 series | ||
3 | */ | ||
4 | |||
5 | #define MODEL_NAME "Sandisk Sansa c100 series" | ||
6 | |||
7 | /* For Rolo and bootloader */ | ||
8 | #define MODEL_NUMBER 30 | ||
9 | |||
10 | /* define hardware samples rate caps mask */ | ||
11 | #define HW_SAMPR_CAPS (/*SAMPR_CAP_88 | */SAMPR_CAP_44/* | SAMPR_CAP_22 | SAMPR_CAP_11*/) | ||
12 | |||
13 | |||
14 | |||
15 | |||
16 | /* define this if you have a colour LCD */ | ||
17 | #define HAVE_LCD_COLOR | ||
18 | |||
19 | /* define this if you can flip your LCD */ | ||
20 | /*#define HAVE_LCD_FLIP*/ | ||
21 | |||
22 | /* define this if you can invert the colours on your LCD */ | ||
23 | /*#define HAVE_LCD_INVERT*/ | ||
24 | |||
25 | /* define this if you have access to the quickscreen */ | ||
26 | #define HAVE_QUICKSCREEN | ||
27 | |||
28 | /* define this if you would like tagcache to build on this target */ | ||
29 | #define HAVE_TAGCACHE | ||
30 | |||
31 | /* define this if you have a flash memory storage */ | ||
32 | #define HAVE_FLASH_STORAGE | ||
33 | |||
34 | /* Only v1 */ | ||
35 | #define CONFIG_STORAGE STORAGE_NAND | ||
36 | #define CONFIG_NAND NAND_TCC | ||
37 | |||
38 | /* c100's with direct-to-NAND access are FAT16 */ | ||
39 | #define HAVE_FAT16SUPPORT | ||
40 | |||
41 | /* LCD dimensions */ | ||
42 | #define LCD_WIDTH 128 | ||
43 | #define LCD_HEIGHT 64 | ||
44 | /* sqrt(128^2 + 64^2) / 1.7 = 84.2 */ | ||
45 | #define LCD_DPI 84 | ||
46 | #define LCD_DEPTH 16 /* 65536 colours */ | ||
47 | #define LCD_PIXELFORMAT RGB565 /*rgb565*/ | ||
48 | |||
49 | /*#define LCD_PIXELFORMAT VERTICAL_PACKING*/ | ||
50 | |||
51 | /* define this to indicate your device's keypad */ | ||
52 | #define CONFIG_KEYPAD SANSA_C100_PAD | ||
53 | |||
54 | /* define this if you have a real-time clock */ | ||
55 | #define CONFIG_RTC RTC_TCC77X | ||
56 | |||
57 | /* define this if you have RTC RAM available for settings */ | ||
58 | //#define HAVE_RTC_RAM | ||
59 | |||
60 | /* Define this if you have a software controlled poweroff */ | ||
61 | #define HAVE_SW_POWEROFF | ||
62 | |||
63 | /* The number of bytes reserved for loadable codecs */ | ||
64 | #define CODEC_SIZE 0x50000 | ||
65 | |||
66 | /* The number of bytes reserved for loadable plugins */ | ||
67 | #define PLUGIN_BUFFER_SIZE 0x50000 | ||
68 | |||
69 | #define AB_REPEAT_ENABLE | ||
70 | |||
71 | |||
72 | |||
73 | |||
74 | /* Define this if you have the TLV320 audio codec */ | ||
75 | #define HAVE_TLV320 | ||
76 | |||
77 | /*#define CONFIG_TUNER TEA5767*/ | ||
78 | |||
79 | /* TLV320 has no tone controls, so we use the software ones */ | ||
80 | #define HAVE_SW_TONE_CONTROLS | ||
81 | |||
82 | /* Define this for LCD backlight available */ | ||
83 | #define HAVE_BACKLIGHT | ||
84 | |||
85 | #define CONFIG_I2C I2C_TCC77X | ||
86 | |||
87 | #define BATTERY_CAPACITY_DEFAULT 540 /* default battery capacity */ | ||
88 | #define BATTERY_CAPACITY_MIN 540 /* min. capacity selectable */ | ||
89 | #define BATTERY_CAPACITY_MAX 540 /* max. capacity selectable */ | ||
90 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | ||
91 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
92 | |||
93 | #define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE | ||
94 | |||
95 | /* define this if the unit should not shut down on low battery. */ | ||
96 | #define NO_LOW_BATTERY_SHUTDOWN | ||
97 | |||
98 | /* Define this if you have a TCC770 */ | ||
99 | #define CONFIG_CPU TCC770 | ||
100 | |||
101 | /* Define this if you have ATA power-off control */ | ||
102 | #define HAVE_ATA_POWER_OFF | ||
103 | |||
104 | /* Define this to the CPU frequency */ | ||
105 | #define CPU_FREQ 120000000 | ||
106 | |||
107 | /* Offset ( in the firmware file's header ) to the file CRC */ | ||
108 | #define FIRMWARE_OFFSET_FILE_CRC 0 | ||
109 | |||
110 | /* Offset ( in the firmware file's header ) to the real data */ | ||
111 | #define FIRMWARE_OFFSET_FILE_DATA 8 | ||
112 | |||
113 | /* The start address index for ROM builds */ | ||
114 | /* #define ROM_START 0x11010 for behind original Archos */ | ||
115 | #define ROM_START 0x7010 /* for behind BootBox */ | ||
116 | |||
117 | #define CONFIG_LCD LCD_S6B33B2 | ||
118 | |||
119 | #define BOOTFILE_EXT "c100" | ||
120 | #define BOOTFILE "rockbox." BOOTFILE_EXT | ||
121 | #define BOOTDIR "/.rockbox" | ||
122 | |||
123 | #ifdef BOOTLOADER | ||
124 | #define TCCBOOT | ||
125 | #endif | ||
126 | |||
127 | #define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */ | ||
128 | |||
129 | /* Define this if a programmable hotkey is mapped */ | ||
130 | #define HAVE_HOTKEY | ||
diff --git a/firmware/export/config/sansam200.h b/firmware/export/config/sansam200.h deleted file mode 100644 index 95647013e7..0000000000 --- a/firmware/export/config/sansam200.h +++ /dev/null | |||
@@ -1,139 +0,0 @@ | |||
1 | /* | ||
2 | * This config file is for the Sansa M200 series | ||
3 | */ | ||
4 | |||
5 | /* For Rolo and boot loader */ | ||
6 | #define MODEL_NUMBER 29 | ||
7 | |||
8 | #define MODEL_NAME "Sandisk Sansa m200 series" | ||
9 | |||
10 | /* Enable FAT16 support */ | ||
11 | #define HAVE_FAT16SUPPORT | ||
12 | |||
13 | /* define this if you have recording possibility */ | ||
14 | //#define HAVE_RECORDING | ||
15 | |||
16 | /* Define bitmask of input sources - recordable bitmask can be defined | ||
17 | explicitly if different */ | ||
18 | //#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_SPDIF) | ||
19 | |||
20 | |||
21 | |||
22 | |||
23 | /* define this if you can flip your LCD */ | ||
24 | #define HAVE_LCD_FLIP | ||
25 | |||
26 | /* define this if you can invert the colours on your LCD */ | ||
27 | #define HAVE_LCD_INVERT | ||
28 | |||
29 | /* define this if you have access to the quickscreen */ | ||
30 | #define HAVE_QUICKSCREEN | ||
31 | |||
32 | /* define this if you would like tagcache to build on this target */ | ||
33 | #define HAVE_TAGCACHE | ||
34 | |||
35 | /* define this if you have a flash memory storage */ | ||
36 | #define HAVE_FLASH_STORAGE | ||
37 | |||
38 | #define CONFIG_STORAGE STORAGE_NAND | ||
39 | |||
40 | #define CONFIG_NAND NAND_TCC | ||
41 | |||
42 | /* LCD dimensions */ | ||
43 | #define LCD_WIDTH 128 | ||
44 | #define LCD_HEIGHT 64 | ||
45 | /* sqrt(128^2 + 64^2) / 1.8 = 79.5 */ | ||
46 | #define LCD_DPI 80 | ||
47 | #define LCD_DEPTH 1 | ||
48 | |||
49 | #define LCD_PIXELFORMAT VERTICAL_PACKING | ||
50 | |||
51 | /* Display colours, for screenshots and sim (0xRRGGBB) */ | ||
52 | #define LCD_BARKCOLOR 0x000000 | ||
53 | #define LCD_BRIGHTCOLOR 0x5e6854 | ||
54 | #define LCD_BL_DARKCOLOR 0x000000 | ||
55 | #define LCD_BL_BRIGHTCOLOR 0x3ca0e6 | ||
56 | |||
57 | /* define this to indicate your device's keypad */ | ||
58 | #define CONFIG_KEYPAD SANSA_M200_PAD | ||
59 | |||
60 | /* Define this to enable morse code input */ | ||
61 | #define HAVE_MORSE_INPUT | ||
62 | |||
63 | /* define this if you have a real-time clock */ | ||
64 | #define CONFIG_RTC RTC_TCC77X | ||
65 | |||
66 | /* define this if you have RTC RAM available for settings */ | ||
67 | //#define HAVE_RTC_RAM | ||
68 | |||
69 | /* Define this if you have a software controlled poweroff */ | ||
70 | #define HAVE_SW_POWEROFF | ||
71 | |||
72 | /* The number of bytes reserved for loadable codecs */ | ||
73 | #define CODEC_SIZE 0x38000 | ||
74 | |||
75 | /* The number of bytes reserved for loadable plugins */ | ||
76 | #define PLUGIN_BUFFER_SIZE 0x10000 | ||
77 | |||
78 | #define AB_REPEAT_ENABLE | ||
79 | |||
80 | |||
81 | |||
82 | |||
83 | /* Define this if you have the TLV320 audio codec */ | ||
84 | #define HAVE_TLV320 | ||
85 | |||
86 | /* TLV320 has no tone controls, so we use the software ones */ | ||
87 | #define HAVE_SW_TONE_CONTROLS | ||
88 | |||
89 | /* Define this for LCD backlight available */ | ||
90 | #define HAVE_BACKLIGHT | ||
91 | |||
92 | #define CONFIG_I2C I2C_TCC77X | ||
93 | |||
94 | #define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */ | ||
95 | #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */ | ||
96 | #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ | ||
97 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | ||
98 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
99 | |||
100 | #define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE | ||
101 | |||
102 | /* define this if the unit should not shut down on low battery. */ | ||
103 | #define NO_LOW_BATTERY_SHUTDOWN | ||
104 | |||
105 | /* Define this if you have a TCC770 */ | ||
106 | #define CONFIG_CPU TCC770 | ||
107 | |||
108 | /* Define this if you have ATA power-off control */ | ||
109 | #define HAVE_ATA_POWER_OFF | ||
110 | |||
111 | /* Define this to the CPU frequency */ | ||
112 | #define CPU_FREQ 120000000 | ||
113 | |||
114 | /* Offset ( in the firmware file's header ) to the file CRC */ | ||
115 | #define FIRMWARE_OFFSET_FILE_CRC 0 | ||
116 | |||
117 | /* Offset ( in the firmware file's header ) to the real data */ | ||
118 | #define FIRMWARE_OFFSET_FILE_DATA 8 | ||
119 | |||
120 | #define CONFIG_LCD LCD_SSD1815 | ||
121 | |||
122 | #define BOOTFILE_EXT "m200" | ||
123 | #define BOOTFILE "rockbox." BOOTFILE_EXT | ||
124 | #define BOOTDIR "/" | ||
125 | |||
126 | #define IBSS_ATTR_VOICE_STACK | ||
127 | #define ICODE_ATTR_TREMOR_NOT_MDCT | ||
128 | #define ICODE_ATTR_TREMOR_MDCT | ||
129 | #define ICODE_ATTR_FLAC | ||
130 | #define IBSS_ATTR_FLAC_DECODED0 | ||
131 | #define ICONST_ATTR_MPA_HUFFMAN | ||
132 | #define IBSS_ATTR_MPC_SAMPLE_BUF | ||
133 | #define ICODE_ATTR_ALAC | ||
134 | #define IBSS_ATTR_SHORTEN_DECODED0 | ||
135 | |||
136 | #define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */ | ||
137 | |||
138 | /* Define this if a programmable hotkey is mapped */ | ||
139 | #define HAVE_HOTKEY | ||