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/tatungtpj1022.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/tatungtpj1022.h')
-rw-r--r-- | firmware/export/config/tatungtpj1022.h | 142 |
1 files changed, 142 insertions, 0 deletions
diff --git a/firmware/export/config/tatungtpj1022.h b/firmware/export/config/tatungtpj1022.h new file mode 100644 index 0000000000..cdb1eb93ac --- /dev/null +++ b/firmware/export/config/tatungtpj1022.h | |||
@@ -0,0 +1,142 @@ | |||
1 | /* | ||
2 | * This config file is for the Tatung Elio TPJ-1022 | ||
3 | */ | ||
4 | |||
5 | #define TARGET_TREE /* this target is using the target tree system */ | ||
6 | |||
7 | #define MODEL_NAME "Tatung Elio TPJ-1022" | ||
8 | |||
9 | /* For Rolo and boot loader */ | ||
10 | #define MODEL_NUMBER 15 | ||
11 | |||
12 | /* define this if you use an ATA controller */ | ||
13 | #define CONFIG_STORAGE STORAGE_ATA | ||
14 | |||
15 | /* define this if you have recording possibility */ | ||
16 | /*#define HAVE_RECORDING*/ /* TODO: add support for this */ | ||
17 | |||
18 | /* define the bitmask of hardware sample rates */ | ||
19 | #define HW_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \ | ||
20 | SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8) | ||
21 | |||
22 | /* define the bitmask of recording sample rates | ||
23 | #define REC_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \ | ||
24 | SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8) */ | ||
25 | |||
26 | /* define this if you have a bitmap LCD display */ | ||
27 | #define HAVE_LCD_BITMAP | ||
28 | |||
29 | /* define this if you have a colour LCD */ | ||
30 | #define HAVE_LCD_COLOR | ||
31 | |||
32 | /* define this if you have access to the quickscreen */ | ||
33 | #define HAVE_QUICKSCREEN | ||
34 | |||
35 | /* define this if you have access to the pitchscreen */ | ||
36 | #define HAVE_PITCHSCREEN | ||
37 | |||
38 | /* LCD dimensions */ | ||
39 | #define LCD_WIDTH 220 | ||
40 | #define LCD_HEIGHT 176 | ||
41 | #define LCD_DEPTH 16 /* 65536 colours */ | ||
42 | #define LCD_PIXELFORMAT RGB565 | ||
43 | |||
44 | /* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */ | ||
45 | |||
46 | #define CONFIG_KEYPAD ELIO_TPJ1022_PAD | ||
47 | |||
48 | /* Define this if you do software codec */ | ||
49 | #define CONFIG_CODEC SWCODEC | ||
50 | |||
51 | /* define this if you have a real-time clock */ | ||
52 | #ifndef BOOTLOADER | ||
53 | //#define CONFIG_RTC RTC_E8564 | ||
54 | #endif | ||
55 | |||
56 | /* Define this if you have a software controlled poweroff */ | ||
57 | #define HAVE_SW_POWEROFF | ||
58 | |||
59 | /* The number of bytes reserved for loadable codecs */ | ||
60 | #define CODEC_SIZE 0x100000 | ||
61 | |||
62 | /* The number of bytes reserved for loadable plugins */ | ||
63 | #define PLUGIN_BUFFER_SIZE 0x80000 | ||
64 | |||
65 | /* Define this if you have the WM8731 audio codec */ | ||
66 | #define HAVE_WM8731 | ||
67 | |||
68 | #define AB_REPEAT_ENABLE 1 | ||
69 | |||
70 | /* define this if you have a disk storage, i.e. something | ||
71 | that needs spinups and can cause skips when shaked */ | ||
72 | #define HAVE_DISK_STORAGE | ||
73 | |||
74 | /* Define this for LCD backlight available */ | ||
75 | #define HAVE_BACKLIGHT | ||
76 | |||
77 | #define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity | ||
78 | TODO: check this, probably different | ||
79 | for different models too */ | ||
80 | #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */ | ||
81 | #define BATTERY_CAPACITY_MAX 1600 /* max. capacity selectable */ | ||
82 | #define BATTERY_CAPACITY_INC 10 /* capacity increment */ | ||
83 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
84 | |||
85 | /* Hardware controlled charging? FIXME */ | ||
86 | #define CONFIG_CHARGING CHARGING_SIMPLE | ||
87 | |||
88 | /* define this if the unit can be powered or charged via USB */ | ||
89 | /*#define HAVE_USB_POWER*/ | ||
90 | |||
91 | #ifndef SIMULATOR | ||
92 | |||
93 | /* Define this if you have a PortalPlayer PP5020 */ | ||
94 | #define CONFIG_CPU PP5020 | ||
95 | |||
96 | /* Define this if you want to use the PP5020 i2c interface */ | ||
97 | #define CONFIG_I2C I2C_PP5020 | ||
98 | |||
99 | /* define this if the hardware can be powered off while charging */ | ||
100 | /* TODO: should this be set for the H10? */ | ||
101 | //#define HAVE_POWEROFF_WHILE_CHARGING | ||
102 | |||
103 | /* The start address index for ROM builds */ | ||
104 | #define ROM_START 0x00000000 | ||
105 | |||
106 | /* Define this to the CPU frequency */ | ||
107 | /* TODO: this is probably wrong */ | ||
108 | #define CPU_FREQ 11289600 | ||
109 | |||
110 | /* Type of LCD */ | ||
111 | #define CONFIG_LCD LCD_TPJ1022 | ||
112 | |||
113 | #define DEFAULT_CONTRAST_SETTING 19 | ||
114 | |||
115 | /* Offset ( in the firmware file's header ) to the file length */ | ||
116 | #define FIRMWARE_OFFSET_FILE_LENGTH 0 | ||
117 | |||
118 | /* Offset ( in the firmware file's header ) to the file CRC */ | ||
119 | #define FIRMWARE_OFFSET_FILE_CRC 0 | ||
120 | |||
121 | /* Offset ( in the firmware file's header ) to the real data */ | ||
122 | #define FIRMWARE_OFFSET_FILE_DATA 8 | ||
123 | |||
124 | /* USB On-the-go */ | ||
125 | #define CONFIG_USBOTG USBOTG_ARC | ||
126 | |||
127 | /* define this if the unit can be powered or charged via USB */ | ||
128 | #define HAVE_USB_POWER | ||
129 | |||
130 | /* enable these for the experimental usb stack ROOLKU */ | ||
131 | #define HAVE_USBSTACK | ||
132 | #define USB_VENDOR_ID 0x07B4 | ||
133 | #define USB_PRODUCT_ID 0x0280 | ||
134 | |||
135 | /* Define this if you have adjustable CPU frequency */ | ||
136 | #define HAVE_ADJUSTABLE_CPU_FREQ | ||
137 | |||
138 | #define BOOTFILE_EXT "elio" | ||
139 | #define BOOTFILE "rockbox." BOOTFILE_EXT | ||
140 | #define BOOTDIR "/.rockbox" | ||
141 | |||
142 | #endif | ||