summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config.h4
-rw-r--r--firmware/export/config/tatungtpj1022.h151
2 files changed, 0 insertions, 155 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 383677865f..5700fad37f 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -105,7 +105,6 @@
105#define IRIVER_H10_PAD 12 105#define IRIVER_H10_PAD 12
106#define SANSA_E200_PAD 13 106#define SANSA_E200_PAD 13
107#define SANSA_C200_PAD 14 107#define SANSA_C200_PAD 14
108#define TATUNG_TPJ1022_PAD 15
109#define MROBE100_PAD 17 108#define MROBE100_PAD 17
110#define MROBE500_PAD 18 109#define MROBE500_PAD 18
111#define GIGABEAT_S_PAD 19 110#define GIGABEAT_S_PAD 19
@@ -224,7 +223,6 @@
224#define LCD_GIGABEAT 12 223#define LCD_GIGABEAT 12
225#define LCD_H10_20GB 13 /* as used by iriver H10 20Gb */ 224#define LCD_H10_20GB 13 /* as used by iriver H10 20Gb */
226#define LCD_H10_5GB 14 /* as used by iriver H10 5Gb */ 225#define LCD_H10_5GB 14 /* as used by iriver H10 5Gb */
227#define LCD_TPJ1022 15 /* as used by Tatung Elio TPJ-1022 */
228#define LCD_C200 17 /* as used by Sandisk Sansa c200 */ 226#define LCD_C200 17 /* as used by Sandisk Sansa c200 */
229#define LCD_MROBE500 18 /* as used by Olympus M:Robe 500i */ 227#define LCD_MROBE500 18 /* as used by Olympus M:Robe 500i */
230#define LCD_MROBE100 19 /* as used by Olympus M:Robe 100 */ 228#define LCD_MROBE100 19 /* as used by Olympus M:Robe 100 */
@@ -425,8 +423,6 @@ Lyre prototype 1 */
425#include "config/sansae200.h" 423#include "config/sansae200.h"
426#elif defined(SANSA_C200) 424#elif defined(SANSA_C200)
427#include "config/sansac200.h" 425#include "config/sansac200.h"
428#elif defined(TATUNG_TPJ1022)
429#include "config/tatungtpj1022.h"
430#elif defined(MROBE_100) 426#elif defined(MROBE_100)
431#include "config/mrobe100.h" 427#include "config/mrobe100.h"
432#elif defined(MROBE_500) 428#elif defined(MROBE_500)
diff --git a/firmware/export/config/tatungtpj1022.h b/firmware/export/config/tatungtpj1022.h
deleted file mode 100644
index 3865e8f87f..0000000000
--- a/firmware/export/config/tatungtpj1022.h
+++ /dev/null
@@ -1,151 +0,0 @@
1/*
2 * This config file is for the Tatung Elio TPJ-1022
3 */
4
5#define MODEL_NAME "Tatung Elio TPJ-1022"
6
7/* For Rolo and boot loader */
8#define MODEL_NUMBER 15
9
10/* define this if you use an ATA controller */
11#define CONFIG_STORAGE STORAGE_ATA
12
13/*define this if the ATA controller and method of USB access support LBA48 */
14#define HAVE_LBA48
15
16/* define this if you have recording possibility */
17/*#define HAVE_RECORDING*/ /* TODO: add support for this */
18
19/* define the bitmask of hardware sample rates */
20#define HW_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
21 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8)
22
23/* define the bitmask of recording sample rates
24#define REC_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
25 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8) */
26
27
28
29
30/* define this if you have a colour LCD */
31#define HAVE_LCD_COLOR
32
33/* define this if you have access to the quickscreen */
34#define HAVE_QUICKSCREEN
35
36/* LCD dimensions */
37#define LCD_WIDTH 220
38#define LCD_HEIGHT 176
39/* sqrt(220^2 + 176^2) / 2.2 = 128.1 */
40#define LCD_DPI 128
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 TATUNG_TPJ1022_PAD
47
48
49
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
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#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
86
87/* Hardware controlled charging? FIXME */
88#define CONFIG_CHARGING CHARGING_SIMPLE
89
90/* define this if the unit can be powered or charged via USB */
91/*#define HAVE_USB_POWER*/
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
143/* DMA is used only for reading on PP502x because although reads are ~8x faster
144 * writes appear to be ~25% slower.
145 */
146#ifndef BOOTLOADER
147#define HAVE_ATA_DMA
148#endif
149
150/* Define this if a programmable hotkey is mapped */
151//#define HAVE_HOTKEY