When setting a cache path also enable the cache implicitly.
[Rockbox.git] / firmware / export / config-m200.h
blob760474d628501174cd45bb4b5039b4b475ffb552
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 28
9 /* define this if you have recording possibility */
10 //#define HAVE_RECORDING
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)
16 /* define this if you have a bitmap LCD display */
17 #define HAVE_LCD_BITMAP
19 /* define this if you can flip your LCD */
20 #define HAVE_LCD_FLIP
22 /* define this if you can invert the colours on your LCD */
23 #define HAVE_LCD_INVERT
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
30 /* define this if you would like tagcache to build on this target */
31 #define HAVE_TAGCACHE
33 /* define this if you have a flash memory storage */
34 #define HAVE_FLASH_STORAGE
36 /* LCD dimensions */
37 #define LCD_WIDTH 128
38 #define LCD_HEIGHT 64
39 #define LCD_DEPTH 1
41 #define LCD_PIXELFORMAT VERTICAL_PACKING
43 /* define this to indicate your device's keypad */
44 #define CONFIG_KEYPAD SANSA_M200_PAD
46 /* define this if you have a real-time clock */
47 #define CONFIG_RTC RTC_TCC77X
49 /* define this if you have RTC RAM available for settings */
50 //#define HAVE_RTC_RAM
52 /* Define this if you have a software controlled poweroff */
53 #define HAVE_SW_POWEROFF
55 /* The number of bytes reserved for loadable plugins */
56 #define PLUGIN_BUFFER_SIZE 0x8000
58 #define AB_REPEAT_ENABLE 1
60 /* Define this if you do software codec */
61 #define CONFIG_CODEC SWCODEC
63 /* Define this if you have the TLV320 audio codec */
64 #define HAVE_TLV320
66 /* TLV320 has no tone controls, so we use the software ones */
67 #define HAVE_SW_TONE_CONTROLS
69 /* Define this for LCD backlight available */
70 #define HAVE_BACKLIGHT
72 #define CONFIG_I2C I2C_TCC77X
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 */
80 /* define this if the unit should not shut down on low battery. */
81 #define NO_LOW_BATTERY_SHUTDOWN
83 #ifndef SIMULATOR
85 /* Define this if you have a TCC773L */
86 #define CONFIG_CPU TCC773L
88 /* Define this if you have ATA power-off control */
89 #define HAVE_ATA_POWER_OFF
91 /* Define this to the CPU frequency */
92 #define CPU_FREQ 120000000
94 /* Offset ( in the firmware file's header ) to the file length */
95 #define FIRMWARE_OFFSET_FILE_LENGTH 0
97 /* Offset ( in the firmware file's header ) to the file CRC */
98 #define FIRMWARE_OFFSET_FILE_CRC 4
100 /* Offset ( in the firmware file's header ) to the real data */
101 #define FIRMWARE_OFFSET_FILE_DATA 6
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 */
107 /* Software controlled LED */
108 #define CONFIG_LED LED_VIRTUAL
110 #define CONFIG_LCD LCD_SSD1815
112 #define BOOTFILE_EXT "m200"
113 #define BOOTFILE "rockbox." BOOTFILE_EXT
114 #define BOOTDIR "/"
116 #endif /* SIMULATOR */