diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-11-10 09:37:38 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-11-10 09:37:38 +0000 |
commit | 13319cdb82b2a405b64274070d8773a1944ed665 (patch) | |
tree | 01f6b1a1590f2427ada537f5d80d3672c06e4753 /firmware/export/config-m200v4.h | |
parent | 044ba22b93e5b8fdd74c5f8d59d3b63b9d148c41 (diff) | |
download | rockbox-13319cdb82b2a405b64274070d8773a1944ed665.tar.gz rockbox-13319cdb82b2a405b64274070d8773a1944ed665.zip |
oops, one more rename
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19061 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-m200v4.h')
-rw-r--r-- | firmware/export/config-m200v4.h | 131 |
1 files changed, 131 insertions, 0 deletions
diff --git a/firmware/export/config-m200v4.h b/firmware/export/config-m200v4.h new file mode 100644 index 0000000000..2247ec3152 --- /dev/null +++ b/firmware/export/config-m200v4.h | |||
@@ -0,0 +1,131 @@ | |||
1 | /* | ||
2 | * This config file is for the Sansa M200 V4 series | ||
3 | */ | ||
4 | #define TARGET_TREE /* this target is using the target tree system */ | ||
5 | |||
6 | /* For Rolo and boot loader */ | ||
7 | #define MODEL_NUMBER 42 | ||
8 | |||
9 | #define MODEL_NAME "Sandisk Sansa m200 v4 series" | ||
10 | |||
11 | /* Enable FAT16 support */ | ||
12 | #define HAVE_FAT16SUPPORT | ||
13 | |||
14 | /* define this if you have recording possibility */ | ||
15 | //#define HAVE_RECORDING | ||
16 | |||
17 | /* Define bitmask of input sources - recordable bitmask can be defined | ||
18 | explicitly if different */ | ||
19 | //#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_SPDIF) | ||
20 | |||
21 | /* define this if you have a bitmap LCD display */ | ||
22 | #define HAVE_LCD_BITMAP | ||
23 | |||
24 | /* define this if you can flip your LCD */ | ||
25 | #define HAVE_LCD_FLIP | ||
26 | |||
27 | /* define this if you can invert the colours on your LCD */ | ||
28 | #define HAVE_LCD_INVERT | ||
29 | |||
30 | /* define this if you have access to the quickscreen */ | ||
31 | #define HAVE_QUICKSCREEN | ||
32 | /* define this if you have access to the pitchscreen */ | ||
33 | #define HAVE_PITCHSCREEN | ||
34 | |||
35 | /* define this if you would like tagcache to build on this target */ | ||
36 | #define HAVE_TAGCACHE | ||
37 | |||
38 | /* define this if you have a flash memory storage */ | ||
39 | #define HAVE_FLASH_STORAGE | ||
40 | |||
41 | /* define this if the flash memory uses the SecureDigital Memory Card protocol */ | ||
42 | #define CONFIG_STORAGE STORAGE_SD | ||
43 | |||
44 | /* LCD dimensions */ | ||
45 | #define LCD_WIDTH 128 | ||
46 | #define LCD_HEIGHT 64 | ||
47 | #define LCD_DEPTH 1 | ||
48 | |||
49 | #define LCD_PIXELFORMAT VERTICAL_PACKING | ||
50 | |||
51 | /* define this to indicate your device's keypad */ | ||
52 | #define CONFIG_KEYPAD SANSA_M200_PAD | ||
53 | |||
54 | /* define this if you have a real-time clock */ | ||
55 | #define CONFIG_RTC RTC_AS3525 | ||
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 0x38000 | ||
65 | |||
66 | /* The number of bytes reserved for loadable plugins */ | ||
67 | #define PLUGIN_BUFFER_SIZE 0x10000 | ||
68 | |||
69 | #define AB_REPEAT_ENABLE 1 | ||
70 | |||
71 | /* Define this if you do software codec */ | ||
72 | #define CONFIG_CODEC SWCODEC | ||
73 | |||
74 | /* Define this if you have the TLV320 audio codec */ | ||
75 | /*#define HAVE_TLV320*/ | ||
76 | |||
77 | /* TLV320 has no tone controls, so we use the software ones */ | ||
78 | #define HAVE_SW_TONE_CONTROLS | ||
79 | |||
80 | /* We're working on the assumption that the AS3525 has something | ||
81 | similar to the AS3514 for audio codec etc */ | ||
82 | #define HAVE_AS3514 | ||
83 | |||
84 | /* Define this for LCD backlight available */ | ||
85 | #define HAVE_BACKLIGHT | ||
86 | |||
87 | #define CONFIG_I2C I2C_AS3525 | ||
88 | |||
89 | #define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */ | ||
90 | #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */ | ||
91 | #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ | ||
92 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | ||
93 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
94 | |||
95 | /* define this if the unit should not shut down on low battery. */ | ||
96 | #define NO_LOW_BATTERY_SHUTDOWN | ||
97 | |||
98 | #ifndef SIMULATOR | ||
99 | |||
100 | /* Define this if you have an AMS AS3525 */ | ||
101 | #define CONFIG_CPU AS3525 | ||
102 | |||
103 | /* Define this to the CPU frequency */ | ||
104 | #define CPU_FREQ 120000000 | ||
105 | |||
106 | /* Offset ( in the firmware file's header ) to the file CRC */ | ||
107 | #define FIRMWARE_OFFSET_FILE_CRC 0 | ||
108 | |||
109 | /* Offset ( in the firmware file's header ) to the real data */ | ||
110 | #define FIRMWARE_OFFSET_FILE_DATA 8 | ||
111 | |||
112 | /* Software controlled LED */ | ||
113 | #define CONFIG_LED LED_VIRTUAL | ||
114 | |||
115 | #define CONFIG_LCD LCD_SSD1815 | ||
116 | |||
117 | #define BOOTFILE_EXT "sansa" | ||
118 | #define BOOTFILE "rockbox." BOOTFILE_EXT | ||
119 | #define BOOTDIR "/" | ||
120 | |||
121 | #define IBSS_ATTR_VOICE_STACK | ||
122 | #define ICODE_ATTR_TREMOR_NOT_MDCT | ||
123 | #define ICODE_ATTR_TREMOR_MDCT | ||
124 | #define ICODE_ATTR_FLAC | ||
125 | #define IBSS_ATTR_FLAC_DECODED0 | ||
126 | #define ICONST_ATTR_MPA_HUFFMAN | ||
127 | #define IBSS_ATTR_MPC_SAMPLE_BUF | ||
128 | #define ICODE_ATTR_ALAC | ||
129 | #define IBSS_ATTR_SHORTEN_DECODED0 | ||
130 | |||
131 | #endif /* SIMULATOR */ | ||