summaryrefslogtreecommitdiff
path: root/firmware/export/config-m200v2.h
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2008-10-19 14:11:01 +0000
committerDave Chapman <dave@dchapman.com>2008-10-19 14:11:01 +0000
commit08c41d42bb699a1be99c9696b4d4fb7b40e8723a (patch)
tree2834231979d52b81a7860fd4a5e19ed79b3ffee7 /firmware/export/config-m200v2.h
parent14ee31865e366dc19fb87caf4877a8d93305a01b (diff)
downloadrockbox-08c41d42bb699a1be99c9696b4d4fb7b40e8723a.tar.gz
rockbox-08c41d42bb699a1be99c9696b4d4fb7b40e8723a.zip
Add e200v2 and m200v2 targets. Move the telechips lcd-ssd1815.c (currently used by Logik DAX and m200v1 ports) driver up in the target tree and share with the m200v2 - as2525 parts contributed by Rafael Carre. Includes the start (but is still very incomplete) of an LCD driver for the e200v2. m200v2 is not yet fully supported by mkamsboot - that will come soon. Also some minor cleanups for the Clip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18836 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-m200v2.h')
-rw-r--r--firmware/export/config-m200v2.h127
1 files changed, 127 insertions, 0 deletions
diff --git a/firmware/export/config-m200v2.h b/firmware/export/config-m200v2.h
new file mode 100644
index 0000000000..9386a157f6
--- /dev/null
+++ b/firmware/export/config-m200v2.h
@@ -0,0 +1,127 @@
1/*
2 * This config file is for the Sansa M200 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 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/* LCD dimensions */
42#define LCD_WIDTH 128
43#define LCD_HEIGHT 64
44#define LCD_DEPTH 1
45
46#define LCD_PIXELFORMAT VERTICAL_PACKING
47
48/* define this to indicate your device's keypad */
49#define CONFIG_KEYPAD SANSA_M200_PAD
50
51/* define this if you have a real-time clock */
52#define CONFIG_RTC RTC_AS3525
53
54/* define this if you have RTC RAM available for settings */
55//#define HAVE_RTC_RAM
56
57/* Define this if you have a software controlled poweroff */
58#define HAVE_SW_POWEROFF
59
60/* The number of bytes reserved for loadable codecs */
61#define CODEC_SIZE 0x38000
62
63/* The number of bytes reserved for loadable plugins */
64#define PLUGIN_BUFFER_SIZE 0x10000
65
66#define AB_REPEAT_ENABLE 1
67
68/* Define this if you do software codec */
69#define CONFIG_CODEC SWCODEC
70
71/* Define this if you have the TLV320 audio codec */
72/*#define HAVE_TLV320*/
73
74/* TLV320 has no tone controls, so we use the software ones */
75#define HAVE_SW_TONE_CONTROLS
76
77/* Define this for LCD backlight available */
78#define HAVE_BACKLIGHT
79
80#define CONFIG_I2C I2C_AS3525
81
82#define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */
83#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
84#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
85#define BATTERY_CAPACITY_INC 50 /* capacity increment */
86#define BATTERY_TYPES_COUNT 1 /* only one type */
87
88/* define this if the unit should not shut down on low battery. */
89#define NO_LOW_BATTERY_SHUTDOWN
90
91#ifndef SIMULATOR
92
93/* Define this if you have an AMS AS3525 */
94#define CONFIG_CPU AS3525
95
96/* Define this if you have ATA power-off control */
97#define HAVE_ATA_POWER_OFF
98
99/* Define this to the CPU frequency */
100#define CPU_FREQ 120000000
101
102/* Offset ( in the firmware file's header ) to the file CRC */
103#define FIRMWARE_OFFSET_FILE_CRC 0
104
105/* Offset ( in the firmware file's header ) to the real data */
106#define FIRMWARE_OFFSET_FILE_DATA 8
107
108/* Software controlled LED */
109#define CONFIG_LED LED_VIRTUAL
110
111#define CONFIG_LCD LCD_SSD1815
112
113#define BOOTFILE_EXT "sansa"
114#define BOOTFILE "rockbox." BOOTFILE_EXT
115#define BOOTDIR "/"
116
117#define IBSS_ATTR_VOICE_STACK
118#define ICODE_ATTR_TREMOR_NOT_MDCT
119#define ICODE_ATTR_TREMOR_MDCT
120#define ICODE_ATTR_FLAC
121#define IBSS_ATTR_FLAC_DECODED0
122#define ICONST_ATTR_MPA_HUFFMAN
123#define IBSS_ATTR_MPC_SAMPLE_BUF
124#define ICODE_ATTR_ALAC
125#define IBSS_ATTR_SHORTEN_DECODED0
126
127#endif /* SIMULATOR */