diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-08-01 22:28:14 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-08-01 22:28:14 +0000 |
commit | 0fc30d117412f2cbd8e00a043e0c901345125d31 (patch) | |
tree | 1cba88b9ed482cef7ca2bba3a2fc059a40221d43 /firmware/export/config-e200.h | |
parent | 97cf946e4df08852b7ce17ecb7fe8425df67dc3f (diff) | |
download | rockbox-0fc30d117412f2cbd8e00a043e0c901345125d31.tar.gz rockbox-0fc30d117412f2cbd8e00a043e0c901345125d31.zip |
added mostly dummy changes to allow building of a Sansa e200 bootloader
without functionality
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10399 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-e200.h')
-rw-r--r-- | firmware/export/config-e200.h | 121 |
1 files changed, 121 insertions, 0 deletions
diff --git a/firmware/export/config-e200.h b/firmware/export/config-e200.h new file mode 100644 index 0000000000..3793a716ec --- /dev/null +++ b/firmware/export/config-e200.h | |||
@@ -0,0 +1,121 @@ | |||
1 | /* | ||
2 | * This config file is for the Sandisk Sansa e200 | ||
3 | */ | ||
4 | #define TARGET_TREE /* this target is using the target tree system */ | ||
5 | |||
6 | /* For Rolo and boot loader */ | ||
7 | #define MODEL_NUMBER 12 | ||
8 | |||
9 | /* define this if you have recording possibility */ | ||
10 | /*#define HAVE_RECORDING 1*/ /* TODO: add support for this */ | ||
11 | |||
12 | /* define this if you have a bitmap LCD display */ | ||
13 | #define HAVE_LCD_BITMAP 1 | ||
14 | |||
15 | /* define this if you have a colour LCD */ | ||
16 | #define HAVE_LCD_COLOR 1 | ||
17 | |||
18 | /* define this if you have access to the quickscreen */ | ||
19 | #define HAVE_QUICKSCREEN | ||
20 | |||
21 | /* LCD dimensions */ | ||
22 | #define LCD_WIDTH 176 | ||
23 | #define LCD_HEIGHT 220 | ||
24 | #define LCD_DEPTH 16 /* 65536 colours */ | ||
25 | #define LCD_PIXELFORMAT RGB565SWAPPED /* rgb565 byte-swapped */ | ||
26 | |||
27 | /* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */ | ||
28 | |||
29 | #define CONFIG_KEYPAD SANSA_E200_PAD | ||
30 | |||
31 | /* Define this if you do software codec */ | ||
32 | #define CONFIG_CODEC SWCODEC | ||
33 | |||
34 | /* define this if you have a real-time clock */ | ||
35 | #ifndef BOOTLOADER | ||
36 | #define CONFIG_RTC RTC_E8564 /* TODO: figure this out */ | ||
37 | #endif | ||
38 | |||
39 | /* Define this if you have a software controlled poweroff */ | ||
40 | #define HAVE_SW_POWEROFF | ||
41 | |||
42 | /* The number of bytes reserved for loadable codecs */ | ||
43 | #define CODEC_SIZE 0x80000 | ||
44 | |||
45 | /* The number of bytes reserved for loadable plugins */ | ||
46 | #define PLUGIN_BUFFER_SIZE 0x80000 | ||
47 | |||
48 | /* Define this if you have the WM8975 audio codec */ | ||
49 | #define HAVE_WM8731 | ||
50 | |||
51 | #define AB_REPEAT_ENABLE 1 | ||
52 | |||
53 | /* FM Tuner */ | ||
54 | /*#define CONFIG_TUNER TEA5767 | ||
55 | #define CONFIG_TUNER_XTAL 32768 *//* TODO: what is this? */ | ||
56 | |||
57 | /* Define this for LCD backlight available */ | ||
58 | #define CONFIG_BACKLIGHT BL_H10 /* TODO: figure this out, probably not necessary | ||
59 | because of 'target' stuff */ | ||
60 | |||
61 | #define BATTERY_CAPACITY_DEFAULT 700 /* default battery capacity | ||
62 | TODO: check this, probably different | ||
63 | for different models too */ | ||
64 | |||
65 | #ifndef SIMULATOR | ||
66 | |||
67 | /* Define this if you have a PortalPlayer PP5024 */ | ||
68 | #define CONFIG_CPU PP5024 | ||
69 | |||
70 | /* Define this if you want to use the PP5020 i2c interface */ | ||
71 | #define CONFIG_I2C I2C_PP5020 | ||
72 | |||
73 | /* Type of mobile power */ | ||
74 | #define CONFIG_BATTERY BATT_LPCS355385 | ||
75 | #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */ | ||
76 | #define BATTERY_CAPACITY_MAX 1600 /* max. capacity selectable */ | ||
77 | #define BATTERY_CAPACITY_INC 10 /* capacity increment */ | ||
78 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
79 | #define BATTERY_SCALE_FACTOR 5865 | ||
80 | |||
81 | /* Hardware controlled charging? FIXME */ | ||
82 | //#define CONFIG_CHARGING CHARGING_SIMPLE | ||
83 | |||
84 | /* define this if the hardware can be powered off while charging */ | ||
85 | /* TODO: should this be set for the H10? */ | ||
86 | //#define HAVE_POWEROFF_WHILE_CHARGING | ||
87 | |||
88 | /* The start address index for ROM builds */ | ||
89 | #define ROM_START 0x00000000 | ||
90 | |||
91 | /* Define this to the CPU frequency */ | ||
92 | /* TODO: this is probably wrong */ | ||
93 | #define CPU_FREQ 11289600 | ||
94 | |||
95 | /* Type of LCD TODO: hopefully the same as the x5 but check this*/ | ||
96 | #define CONFIG_LCD LCD_X5 | ||
97 | |||
98 | /* Offset ( in the firmware file's header ) to the file length */ | ||
99 | #define FIRMWARE_OFFSET_FILE_LENGTH 0 | ||
100 | |||
101 | /* Offset ( in the firmware file's header ) to the file CRC */ | ||
102 | #define FIRMWARE_OFFSET_FILE_CRC 0 | ||
103 | |||
104 | /* Offset ( in the firmware file's header ) to the real data */ | ||
105 | #define FIRMWARE_OFFSET_FILE_DATA 8 | ||
106 | |||
107 | /* #define USB_IPODSTYLE */ | ||
108 | |||
109 | /* define this if the unit can be powered or charged via USB */ | ||
110 | #define HAVE_USB_POWER | ||
111 | |||
112 | /* Virtual LED (icon) */ | ||
113 | #define CONFIG_LED LED_VIRTUAL | ||
114 | |||
115 | /* Define this if you have adjustable CPU frequency */ | ||
116 | /*#define HAVE_ADJUSTABLE_CPU_FREQ Let's say we don't for now*/ | ||
117 | |||
118 | #define BOOTFILE_EXT "e200" | ||
119 | #define BOOTFILE "rockbox." BOOTFILE_EXT | ||
120 | |||
121 | #endif | ||