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.h136
1 files changed, 136 insertions, 0 deletions
diff --git a/firmware/export/config/sansam200.h b/firmware/export/config/sansam200.h
new file mode 100644
index 0000000000..0f071e18ab
--- /dev/null
+++ b/firmware/export/config/sansam200.h
@@ -0,0 +1,136 @@
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 29
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#define CONFIG_STORAGE STORAGE_NAND
42
43#define CONFIG_NAND NAND_TCC
44
45/* LCD dimensions */
46#define LCD_WIDTH 128
47#define LCD_HEIGHT 64
48#define LCD_DEPTH 1
49
50#define LCD_PIXELFORMAT VERTICAL_PACKING
51
52/* Display colours, for screenshots and sim (0xRRGGBB) */
53#define LCD_BARKCOLOR 0x000000
54#define LCD_BRIGHTCOLOR 0x5e6854
55#define LCD_BL_DARKCOLOR 0x000000
56#define LCD_BL_BRIGHTCOLOR 0x3ca0e6
57
58/* define this to indicate your device's keypad */
59#define CONFIG_KEYPAD SANSA_M200_PAD
60
61/* Define this to enable morse code input */
62#define HAVE_MORSE_INPUT
63
64/* define this if you have a real-time clock */
65#define CONFIG_RTC RTC_TCC77X
66
67/* define this if you have RTC RAM available for settings */
68//#define HAVE_RTC_RAM
69
70/* Define this if you have a software controlled poweroff */
71#define HAVE_SW_POWEROFF
72
73/* The number of bytes reserved for loadable codecs */
74#define CODEC_SIZE 0x38000
75
76/* The number of bytes reserved for loadable plugins */
77#define PLUGIN_BUFFER_SIZE 0x10000
78
79#define AB_REPEAT_ENABLE 1
80
81/* Define this if you do software codec */
82#define CONFIG_CODEC SWCODEC
83
84/* Define this if you have the TLV320 audio codec */
85#define HAVE_TLV320
86
87/* TLV320 has no tone controls, so we use the software ones */
88#define HAVE_SW_TONE_CONTROLS
89
90/* Define this for LCD backlight available */
91#define HAVE_BACKLIGHT
92
93#define CONFIG_I2C I2C_TCC77X
94
95#define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */
96#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
97#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
98#define BATTERY_CAPACITY_INC 50 /* capacity increment */
99#define BATTERY_TYPES_COUNT 1 /* only one type */
100
101/* define this if the unit should not shut down on low battery. */
102#define NO_LOW_BATTERY_SHUTDOWN
103
104/* Define this if you have a TCC770 */
105#define CONFIG_CPU TCC770
106
107/* Define this if you have ATA power-off control */
108#define HAVE_ATA_POWER_OFF
109
110/* Define this to the CPU frequency */
111#define CPU_FREQ 120000000
112
113/* Offset ( in the firmware file's header ) to the file CRC */
114#define FIRMWARE_OFFSET_FILE_CRC 0
115
116/* Offset ( in the firmware file's header ) to the real data */
117#define FIRMWARE_OFFSET_FILE_DATA 8
118
119#define CONFIG_LCD LCD_SSD1815
120
121#define BOOTFILE_EXT "m200"
122#define BOOTFILE "rockbox." BOOTFILE_EXT
123#define BOOTDIR "/"
124
125#define IBSS_ATTR_VOICE_STACK
126#define ICODE_ATTR_TREMOR_NOT_MDCT
127#define ICODE_ATTR_TREMOR_MDCT
128#define ICODE_ATTR_FLAC
129#define IBSS_ATTR_FLAC_DECODED0
130#define ICONST_ATTR_MPA_HUFFMAN
131#define IBSS_ATTR_MPC_SAMPLE_BUF
132#define ICODE_ATTR_ALAC
133#define IBSS_ATTR_SHORTEN_DECODED0
134
135#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
136