summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Guay <marcguay@rockbox.org>2008-06-21 15:22:33 +0000
committerMarc Guay <marcguay@rockbox.org>2008-06-21 15:22:33 +0000
commit1ccc3e72f0c9b40db2db4b2572ffd595573ff830 (patch)
tree5202cb5b0767f179fea0aef1456e7e4b80c13762
parentb93667b30699a18daf3699cc969ad858077e406f (diff)
downloadrockbox-1ccc3e72f0c9b40db2db4b2572ffd595573ff830.tar.gz
rockbox-1ccc3e72f0c9b40db2db4b2572ffd595573ff830.zip
Forgot the export/config file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17743 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/config-c100.h121
1 files changed, 121 insertions, 0 deletions
diff --git a/firmware/export/config-c100.h b/firmware/export/config-c100.h
new file mode 100644
index 0000000000..91e21d0f3b
--- /dev/null
+++ b/firmware/export/config-c100.h
@@ -0,0 +1,121 @@
1/*
2 * This config file is for the Sansa C100 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 30
8
9/* define this if you have recording possibility */
10//#define HAVE_RECORDING
11
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)
15
16/* define this if you have a bitmap LCD display */
17#define HAVE_LCD_BITMAP
18
19/* define this if you have a colour LCD */
20#define HAVE_LCD_COLOR
21
22/* define this if you can flip your LCD */
23#define HAVE_LCD_FLIP
24
25/* define this if you can invert the colours on your LCD */
26#define HAVE_LCD_INVERT
27
28/* define this if you have access to the quickscreen */
29#define HAVE_QUICKSCREEN
30
31/* define this if you have access to the pitchscreen */
32#define HAVE_PITCHSCREEN
33
34/* define this if you would like tagcache to build on this target */
35#define HAVE_TAGCACHE
36
37/* define this if you have a flash memory storage */
38#define HAVE_FLASH_STORAGE
39
40/* LCD dimensions */
41#define LCD_WIDTH 128
42#define LCD_HEIGHT 64
43#define LCD_DEPTH 16 /* 65536 colours */
44#define LCD_PIXELFORMAT RGB565 /*rgb565*/
45
46/*#define LCD_PIXELFORMAT VERTICAL_PACKING*/
47
48/* define this to indicate your device's keypad */
49#define CONFIG_KEYPAD SANSA_C100_PAD
50
51/* define this if you have a real-time clock */
52#define CONFIG_RTC RTC_TCC77X
53
54/* define this if you have RTC RAM available for settings */
55//#define HAVE_RTC_RAM
56
57/* Define this if you have a software controlled poweroff */
58#define HAVE_SW_POWEROFF
59
60/* The number of bytes reserved for loadable plugins */
61#define PLUGIN_BUFFER_SIZE 0x8000
62
63#define AB_REPEAT_ENABLE 1
64
65/* Define this if you do software codec */
66#define CONFIG_CODEC SWCODEC
67
68/* Define this if you have the TLV320 audio codec */
69#define HAVE_TLV320
70
71/* TLV320 has no tone controls, so we use the software ones */
72#define HAVE_SW_TONE_CONTROLS
73
74/* Define this for LCD backlight available */
75#define HAVE_BACKLIGHT
76
77#define CONFIG_I2C I2C_TCC77X
78
79#define BATTERY_CAPACITY_DEFAULT 540 /* default battery capacity */
80#define BATTERY_CAPACITY_MIN 540 /* min. capacity selectable */
81#define BATTERY_CAPACITY_MAX 540 /* max. capacity selectable */
82#define BATTERY_CAPACITY_INC 50 /* capacity increment */
83#define BATTERY_TYPES_COUNT 1 /* only one type */
84
85/* define this if the unit should not shut down on low battery. */
86#define NO_LOW_BATTERY_SHUTDOWN
87
88#ifndef SIMULATOR
89
90/* Define this if you have a TCC770 */
91#define CONFIG_CPU TCC770
92
93/* Define this if you have ATA power-off control */
94#define HAVE_ATA_POWER_OFF
95
96/* Define this to the CPU frequency */
97#define CPU_FREQ 120000000
98
99/* Offset ( in the firmware file's header ) to the file length */
100#define FIRMWARE_OFFSET_FILE_LENGTH 0
101
102/* Offset ( in the firmware file's header ) to the file CRC */
103#define FIRMWARE_OFFSET_FILE_CRC 4
104
105/* Offset ( in the firmware file's header ) to the real data */
106#define FIRMWARE_OFFSET_FILE_DATA 6
107
108/* The start address index for ROM builds */
109/* #define ROM_START 0x11010 for behind original Archos */
110#define ROM_START 0x7010 /* for behind BootBox */
111
112/* Software controlled LED */
113#define CONFIG_LED LED_VIRTUAL
114
115#define CONFIG_LCD LCD_S6B33B2 /* Not sure about this... same as C200? - MarcGuay */
116
117#define BOOTFILE_EXT "c100"
118#define BOOTFILE "rockbox." BOOTFILE_EXT
119#define BOOTDIR "/"
120
121#endif /* SIMULATOR */