diff options
author | Björn Stenberg <bjorn@haxx.se> | 2009-12-07 09:03:11 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2009-12-07 09:03:11 +0000 |
commit | 66fa5b578904f7df61293d6ce5c08966b5db13db (patch) | |
tree | 5db57c13d5b23e76793b60bbc48579ac24da1550 /firmware/export/config/sansam200v4.h | |
parent | 7b70046e7ab7329d93f800fe4b074fabff998a0e (diff) | |
download | rockbox-66fa5b578904f7df61293d6ce5c08966b5db13db.tar.gz rockbox-66fa5b578904f7df61293d6ce5c08966b5db13db.zip |
Rename targets to be consistent in all places. (FS #10819)
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@23881 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config/sansam200v4.h')
-rw-r--r-- | firmware/export/config/sansam200v4.h | 171 |
1 files changed, 171 insertions, 0 deletions
diff --git a/firmware/export/config/sansam200v4.h b/firmware/export/config/sansam200v4.h new file mode 100644 index 0000000000..21038349fd --- /dev/null +++ b/firmware/export/config/sansam200v4.h | |||
@@ -0,0 +1,171 @@ | |||
1 | /* | ||
2 | * This config file is for the Sansa M200 V4 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 42 | ||
8 | |||
9 | #define MODEL_NAME "Sandisk Sansa m200 v4 series" | ||
10 | |||
11 | /* Enable FAT16 support */ | ||
12 | #define HAVE_FAT16SUPPORT | ||
13 | |||
14 | #if 0 /* disabled since there is no driver (yet) */ | ||
15 | |||
16 | #define HW_SAMPR_CAPS (SAMPR_CAP_44) | ||
17 | |||
18 | /* define this if you have recording possibility */ | ||
19 | #define HAVE_RECORDING | ||
20 | |||
21 | #define REC_SAMPR_CAPS (SAMPR_CAP_22) | ||
22 | #define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */ | ||
23 | #define REC_SAMPR_DEFAULT SAMPR_22 | ||
24 | |||
25 | #endif | ||
26 | |||
27 | /* Define bitmask of input sources - recordable bitmask can be defined | ||
28 | explicitly if different */ | ||
29 | #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO) | ||
30 | |||
31 | /* define this if you have a bitmap LCD display */ | ||
32 | #define HAVE_LCD_BITMAP | ||
33 | |||
34 | /* define this if you can flip your LCD */ | ||
35 | #define HAVE_LCD_FLIP | ||
36 | |||
37 | /* define this if you can invert the colours on your LCD */ | ||
38 | #define HAVE_LCD_INVERT | ||
39 | |||
40 | /* define this if you have access to the quickscreen */ | ||
41 | //#define HAVE_QUICKSCREEN | ||
42 | /* define this if you have access to the pitchscreen */ | ||
43 | #define HAVE_PITCHSCREEN | ||
44 | |||
45 | /* define this if you would like tagcache to build on this target */ | ||
46 | //#define HAVE_TAGCACHE | ||
47 | |||
48 | /* define this if you have a flash memory storage */ | ||
49 | #define HAVE_FLASH_STORAGE | ||
50 | |||
51 | /* define this if the flash memory uses the SecureDigital Memory Card protocol */ | ||
52 | #define CONFIG_STORAGE STORAGE_SD | ||
53 | |||
54 | /* LCD dimensions */ | ||
55 | #define LCD_WIDTH 128 | ||
56 | #define LCD_HEIGHT 64 | ||
57 | #define LCD_DEPTH 1 | ||
58 | |||
59 | #define LCD_PIXELFORMAT VERTICAL_PACKING | ||
60 | |||
61 | /* Display colours, for screenshots and sim (0xRRGGBB) */ | ||
62 | #define LCD_DARKCOLOR 0x000000 | ||
63 | #define LCD_BRIGHTCOLOR 0x5e6854 | ||
64 | #define LCD_BL_DARKCOLOR 0x000000 | ||
65 | #define LCD_BL_BRIGHTCOLOR 0x3ca0e6 | ||
66 | |||
67 | /* define this to indicate your device's keypad */ | ||
68 | #define CONFIG_KEYPAD SANSA_M200_PAD | ||
69 | |||
70 | /* define this if you have a real-time clock */ | ||
71 | #ifndef BOOTLOADER | ||
72 | #define CONFIG_RTC RTC_AS3514 | ||
73 | #endif | ||
74 | |||
75 | /* define this if you have RTC RAM available for settings */ | ||
76 | //#define HAVE_RTC_RAM | ||
77 | |||
78 | /* Define this if you have a software controlled poweroff */ | ||
79 | #define HAVE_SW_POWEROFF | ||
80 | |||
81 | /* The number of bytes reserved for loadable codecs */ | ||
82 | #define CODEC_SIZE 0x48000 /* in IRAM */ | ||
83 | |||
84 | /* The number of bytes reserved for loadable plugins */ | ||
85 | #define PLUGIN_BUFFER_SIZE 0x60000 | ||
86 | |||
87 | #define AB_REPEAT_ENABLE 1 | ||
88 | |||
89 | #define CONFIG_TUNER TEA5767 | ||
90 | #define CONFIG_TUNER_XTAL 32768 | ||
91 | |||
92 | /* Define this if you do software codec */ | ||
93 | #define CONFIG_CODEC SWCODEC | ||
94 | |||
95 | /* Define this if you have the TLV320 audio codec */ | ||
96 | /*#define HAVE_TLV320*/ | ||
97 | |||
98 | /* TLV320 has no tone controls, so we use the software ones */ | ||
99 | #define HAVE_SW_TONE_CONTROLS | ||
100 | |||
101 | /* We're working on the assumption that the AS3525 has something | ||
102 | similar to the AS3514 for audio codec etc */ | ||
103 | #define HAVE_AS3514 | ||
104 | |||
105 | /* Define this for LCD backlight available */ | ||
106 | #define HAVE_BACKLIGHT | ||
107 | |||
108 | /* Define how much SD sectors are reserved for OF */ | ||
109 | #define AMS_OF_SIZE 0x5000 | ||
110 | |||
111 | #define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */ | ||
112 | #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */ | ||
113 | #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ | ||
114 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | ||
115 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
116 | |||
117 | /* define this if the unit should not shut down on low battery. */ | ||
118 | #define NO_LOW_BATTERY_SHUTDOWN | ||
119 | |||
120 | #ifndef SIMULATOR | ||
121 | |||
122 | /* Define this if you have an AMS AS3525 */ | ||
123 | #define CONFIG_CPU AS3525 | ||
124 | |||
125 | /* Define this if you want to use the AS3525 i2c interface */ | ||
126 | #define CONFIG_I2C I2C_AS3525 | ||
127 | |||
128 | /* Define this to the CPU frequency */ | ||
129 | #define CPU_FREQ 250000000 | ||
130 | |||
131 | /* Define this if you have adjustable CPU frequency */ | ||
132 | #define HAVE_ADJUSTABLE_CPU_FREQ | ||
133 | |||
134 | /* Offset ( in the firmware file's header ) to the file CRC */ | ||
135 | #define FIRMWARE_OFFSET_FILE_CRC 0 | ||
136 | |||
137 | /* Offset ( in the firmware file's header ) to the real data */ | ||
138 | #define FIRMWARE_OFFSET_FILE_DATA 8 | ||
139 | |||
140 | #ifndef BOOTLOADER | ||
141 | |||
142 | #define USB_HANDLED_BY_OF | ||
143 | |||
144 | #define CONFIG_USBOTG USBOTG_AS3525 | ||
145 | |||
146 | /* enable these for the experimental usb stack */ | ||
147 | #define HAVE_USBSTACK | ||
148 | #define USB_VENDOR_ID 0x0781 | ||
149 | #define USB_PRODUCT_ID 0x7431 | ||
150 | |||
151 | #endif /* BOOTLOADER */ | ||
152 | |||
153 | #define CONFIG_LCD LCD_SSD1815 | ||
154 | |||
155 | #define BOOTFILE_EXT "sansa" | ||
156 | #define BOOTFILE "rockbox." BOOTFILE_EXT | ||
157 | #define BOOTDIR "/.rockbox" | ||
158 | |||
159 | #define IBSS_ATTR_VOICE_STACK | ||
160 | #define ICODE_ATTR_TREMOR_NOT_MDCT | ||
161 | #define ICODE_ATTR_TREMOR_MDCT | ||
162 | #define ICODE_ATTR_FLAC | ||
163 | #define IBSS_ATTR_FLAC_DECODED0 | ||
164 | #define ICONST_ATTR_MPA_HUFFMAN | ||
165 | #define IBSS_ATTR_MPC_SAMPLE_BUF | ||
166 | #define ICODE_ATTR_ALAC | ||
167 | #define IBSS_ATTR_SHORTEN_DECODED0 | ||
168 | |||
169 | #define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */ | ||
170 | |||
171 | #endif /* SIMULATOR */ | ||