summaryrefslogtreecommitdiff
path: root/firmware/export/config-m200.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config-m200.h')
-rw-r--r--firmware/export/config-m200.h116
1 files changed, 116 insertions, 0 deletions
diff --git a/firmware/export/config-m200.h b/firmware/export/config-m200.h
new file mode 100644
index 0000000000..760474d628
--- /dev/null
+++ b/firmware/export/config-m200.h
@@ -0,0 +1,116 @@
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 28
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_SPDIF)
15
16/* define this if you have a bitmap LCD display */
17#define HAVE_LCD_BITMAP
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/* define this if you have access to the pitchscreen */
28#define HAVE_PITCHSCREEN
29
30/* define this if you would like tagcache to build on this target */
31#define HAVE_TAGCACHE
32
33/* define this if you have a flash memory storage */
34#define HAVE_FLASH_STORAGE
35
36/* LCD dimensions */
37#define LCD_WIDTH 128
38#define LCD_HEIGHT 64
39#define LCD_DEPTH 1
40
41#define LCD_PIXELFORMAT VERTICAL_PACKING
42
43/* define this to indicate your device's keypad */
44#define CONFIG_KEYPAD SANSA_M200_PAD
45
46/* define this if you have a real-time clock */
47#define CONFIG_RTC RTC_TCC77X
48
49/* define this if you have RTC RAM available for settings */
50//#define HAVE_RTC_RAM
51
52/* Define this if you have a software controlled poweroff */
53#define HAVE_SW_POWEROFF
54
55/* The number of bytes reserved for loadable plugins */
56#define PLUGIN_BUFFER_SIZE 0x8000
57
58#define AB_REPEAT_ENABLE 1
59
60/* Define this if you do software codec */
61#define CONFIG_CODEC SWCODEC
62
63/* Define this if you have the TLV320 audio codec */
64#define HAVE_TLV320
65
66/* TLV320 has no tone controls, so we use the software ones */
67#define HAVE_SW_TONE_CONTROLS
68
69/* Define this for LCD backlight available */
70#define HAVE_BACKLIGHT
71
72#define CONFIG_I2C I2C_TCC77X
73
74#define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */
75#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
76#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
77#define BATTERY_CAPACITY_INC 50 /* capacity increment */
78#define BATTERY_TYPES_COUNT 1 /* only one type */
79
80/* define this if the unit should not shut down on low battery. */
81#define NO_LOW_BATTERY_SHUTDOWN
82
83#ifndef SIMULATOR
84
85/* Define this if you have a TCC773L */
86#define CONFIG_CPU TCC773L
87
88/* Define this if you have ATA power-off control */
89#define HAVE_ATA_POWER_OFF
90
91/* Define this to the CPU frequency */
92#define CPU_FREQ 120000000
93
94/* Offset ( in the firmware file's header ) to the file length */
95#define FIRMWARE_OFFSET_FILE_LENGTH 0
96
97/* Offset ( in the firmware file's header ) to the file CRC */
98#define FIRMWARE_OFFSET_FILE_CRC 4
99
100/* Offset ( in the firmware file's header ) to the real data */
101#define FIRMWARE_OFFSET_FILE_DATA 6
102
103/* The start address index for ROM builds */
104/* #define ROM_START 0x11010 for behind original Archos */
105#define ROM_START 0x7010 /* for behind BootBox */
106
107/* Software controlled LED */
108#define CONFIG_LED LED_VIRTUAL
109
110#define CONFIG_LCD LCD_SSD1815
111
112#define BOOTFILE_EXT "m200"
113#define BOOTFILE "rockbox." BOOTFILE_EXT
114#define BOOTDIR "/"
115
116#endif /* SIMULATOR */