summaryrefslogtreecommitdiff
path: root/firmware/export/config/sansam200.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config/sansam200.h')
-rw-r--r--firmware/export/config/sansam200.h139
1 files changed, 0 insertions, 139 deletions
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