Remove .a files before running ar, to avoid problems with renamed files remaining...
[kugel-rb.git] / firmware / export / config-m200.h
blobcab1c9927bdea975820289e5f574fede06c7041f
1 /*
2 * This config file is for the Sansa M200 series
3 */
4 #define TARGET_TREE /* this target is using the target tree system */
6 /* For Rolo and boot loader */
7 #define MODEL_NUMBER 29
9 #define MODEL_NAME "Sandisk Sansa m200 series"
11 /* Enable FAT16 support */
12 #define HAVE_FAT16SUPPORT
14 /* define this if you have recording possibility */
15 //#define HAVE_RECORDING
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)
21 /* define this if you have a bitmap LCD display */
22 #define HAVE_LCD_BITMAP
24 /* define this if you can flip your LCD */
25 #define HAVE_LCD_FLIP
27 /* define this if you can invert the colours on your LCD */
28 #define HAVE_LCD_INVERT
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
35 /* define this if you would like tagcache to build on this target */
36 #define HAVE_TAGCACHE
38 /* define this if you have a flash memory storage */
39 #define HAVE_FLASH_STORAGE
41 #define CONFIG_STORAGE STORAGE_NAND
43 #define CONFIG_NAND NAND_TCC
45 /* LCD dimensions */
46 #define LCD_WIDTH 128
47 #define LCD_HEIGHT 64
48 #define LCD_DEPTH 1
50 #define LCD_PIXELFORMAT VERTICAL_PACKING
52 /* define this to indicate your device's keypad */
53 #define CONFIG_KEYPAD SANSA_M200_PAD
55 /* define this if you have a real-time clock */
56 #define CONFIG_RTC RTC_TCC77X
58 /* define this if you have RTC RAM available for settings */
59 //#define HAVE_RTC_RAM
61 /* Define this if you have a software controlled poweroff */
62 #define HAVE_SW_POWEROFF
64 /* The number of bytes reserved for loadable codecs */
65 #define CODEC_SIZE 0x38000
67 /* The number of bytes reserved for loadable plugins */
68 #define PLUGIN_BUFFER_SIZE 0x10000
70 #define AB_REPEAT_ENABLE 1
72 /* Define this if you do software codec */
73 #define CONFIG_CODEC SWCODEC
75 /* Define this if you have the TLV320 audio codec */
76 #define HAVE_TLV320
78 /* TLV320 has no tone controls, so we use the software ones */
79 #define HAVE_SW_TONE_CONTROLS
81 /* Define this for LCD backlight available */
82 #define HAVE_BACKLIGHT
84 #define CONFIG_I2C I2C_TCC77X
86 #define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */
87 #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
88 #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
89 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
90 #define BATTERY_TYPES_COUNT 1 /* only one type */
92 /* define this if the unit should not shut down on low battery. */
93 #define NO_LOW_BATTERY_SHUTDOWN
95 #ifndef SIMULATOR
97 /* Define this if you have a TCC770 */
98 #define CONFIG_CPU TCC770
100 /* Define this if you have ATA power-off control */
101 #define HAVE_ATA_POWER_OFF
103 /* Define this to the CPU frequency */
104 #define CPU_FREQ 120000000
106 /* Offset ( in the firmware file's header ) to the file CRC */
107 #define FIRMWARE_OFFSET_FILE_CRC 0
109 /* Offset ( in the firmware file's header ) to the real data */
110 #define FIRMWARE_OFFSET_FILE_DATA 8
112 /* Software controlled LED */
113 #define CONFIG_LED LED_VIRTUAL
115 #define CONFIG_LCD LCD_SSD1815
117 #define BOOTFILE_EXT "m200"
118 #define BOOTFILE "rockbox." BOOTFILE_EXT
119 #define BOOTDIR "/"
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
131 #endif /* SIMULATOR */