diff options
author | Björn Stenberg <bjorn@haxx.se> | 2009-12-07 09:17:48 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2009-12-07 09:17:48 +0000 |
commit | 36a81eb9b98ac7b1dff0d6658dba0255dd579f5f (patch) | |
tree | 81b81008c4cb69c276329ecd50200887c4da4838 /firmware/export/config-player.h | |
parent | 66fa5b578904f7df61293d6ce5c08966b5db13db (diff) | |
download | rockbox-36a81eb9b98ac7b1dff0d6658dba0255dd579f5f.tar.gz rockbox-36a81eb9b98ac7b1dff0d6658dba0255dd579f5f.zip |
Reverted r23881 mistakenly committed to branch.v3.4
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@23882 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-player.h')
-rw-r--r-- | firmware/export/config-player.h | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/firmware/export/config-player.h b/firmware/export/config-player.h new file mode 100644 index 0000000000..5f6cf17fbe --- /dev/null +++ b/firmware/export/config-player.h | |||
@@ -0,0 +1,109 @@ | |||
1 | /* define this if you use an ATA controller */ | ||
2 | #define CONFIG_STORAGE STORAGE_ATA | ||
3 | |||
4 | #define MODEL_NAME "Archos Player/Studio" | ||
5 | |||
6 | /* define this if you have a charcell LCD display */ | ||
7 | #define HAVE_LCD_CHARCELLS | ||
8 | |||
9 | /* define this if you would like tagcache to build on this target */ | ||
10 | #define HAVE_TAGCACHE | ||
11 | |||
12 | #define LCD_WIDTH 11 | ||
13 | #define LCD_HEIGHT 2 | ||
14 | #define LCD_DEPTH 1 | ||
15 | #define SIM_LCD_WIDTH 132 /* pixels */ | ||
16 | #define SIM_LCD_HEIGHT 64 /* pixels */ | ||
17 | |||
18 | /* Display colours, for screenshots and sim (0xRRGGBB) */ | ||
19 | #define LCD_DARKCOLOR 0x000000 | ||
20 | #define LCD_BRIGHTCOLOR 0x5a915a | ||
21 | #define LCD_BL_DARKCOLOR 0x000000 | ||
22 | #define LCD_BL_BRIGHTCOLOR 0x7ee57e | ||
23 | |||
24 | /* define this if you have the Player's keyboard */ | ||
25 | #define CONFIG_KEYPAD PLAYER_PAD | ||
26 | |||
27 | #define AB_REPEAT_ENABLE 1 | ||
28 | #define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE | ||
29 | |||
30 | /* The number of bytes reserved for loadable plugins */ | ||
31 | #define PLUGIN_BUFFER_SIZE 0x8000 | ||
32 | |||
33 | /* Define this if you have a MAS3507D */ | ||
34 | #define CONFIG_CODEC MAS3507D | ||
35 | |||
36 | /* Define this if you have a DAC3550A */ | ||
37 | #define HAVE_DAC3550A | ||
38 | |||
39 | /* define this if you have a disk storage, i.e. something | ||
40 | that needs spinups and can cause skips when shaked */ | ||
41 | #define HAVE_DISK_STORAGE | ||
42 | |||
43 | /* Define this for LCD backlight available */ | ||
44 | #define HAVE_BACKLIGHT | ||
45 | |||
46 | #define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */ | ||
47 | #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */ | ||
48 | #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ | ||
49 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | ||
50 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
51 | |||
52 | #define CURRENT_NORMAL 145 /* usual current in mA */ | ||
53 | #define CURRENT_USB 500 /* usual current in mA in USB mode */ | ||
54 | |||
55 | /* define this if the unit should not shut down on low battery. */ | ||
56 | #define NO_LOW_BATTERY_SHUTDOWN | ||
57 | |||
58 | /* Hardware controlled charging */ | ||
59 | #define CONFIG_CHARGING CHARGING_SIMPLE | ||
60 | |||
61 | #ifndef SIMULATOR | ||
62 | |||
63 | /* Define this if you have a SH7034 */ | ||
64 | #define CONFIG_CPU SH7034 | ||
65 | |||
66 | /* Define this if you control ata power player style | ||
67 | (with PB4, new player only) */ | ||
68 | #define ATA_POWER_PLAYERSTYLE | ||
69 | |||
70 | /* Define this to the CPU frequency */ | ||
71 | #define CPU_FREQ 12000000 /* cycle time ~83.3ns */ | ||
72 | |||
73 | /* Define this if you must discharge the data line by driving it low | ||
74 | and then set it to input to see if it stays low or goes high */ | ||
75 | #define HAVE_I2C_LOW_FIRST | ||
76 | |||
77 | #define CONFIG_I2C I2C_PLAYREC | ||
78 | |||
79 | /* Offset ( in the firmware file's header ) to the file length */ | ||
80 | #define FIRMWARE_OFFSET_FILE_LENGTH 0 | ||
81 | |||
82 | /* Offset ( in the firmware file's header ) to the file CRC */ | ||
83 | #define FIRMWARE_OFFSET_FILE_CRC 4 | ||
84 | |||
85 | /* Offset ( in the firmware file's header ) to the real data */ | ||
86 | #define FIRMWARE_OFFSET_FILE_DATA 6 | ||
87 | |||
88 | /* The start address index for ROM builds */ | ||
89 | #define ROM_START 0x7010 /* for behind BootBox */ | ||
90 | |||
91 | /* Software controlled LED */ | ||
92 | #define CONFIG_LED LED_REAL | ||
93 | |||
94 | #define CONFIG_LCD LCD_SSD1801 | ||
95 | |||
96 | #define BOOTFILE_EXT "mod" | ||
97 | #define BOOTFILE "archos." BOOTFILE_EXT | ||
98 | #define BOOTDIR "/" | ||
99 | |||
100 | #endif /* SIMULATOR */ | ||
101 | |||
102 | #define HAVE_LCD_CONTRAST | ||
103 | |||
104 | #define MIN_CONTRAST_SETTING 5 | ||
105 | #define MAX_CONTRAST_SETTING 31 | ||
106 | #define DEFAULT_CONTRAST_SETTING 30 | ||
107 | |||
108 | #define HAVE_SERIAL | ||
109 | |||