diff options
Diffstat (limited to 'firmware/export/config/archosplayer.h')
-rw-r--r-- | firmware/export/config/archosplayer.h | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/firmware/export/config/archosplayer.h b/firmware/export/config/archosplayer.h new file mode 100644 index 0000000000..c60ee6a071 --- /dev/null +++ b/firmware/export/config/archosplayer.h | |||
@@ -0,0 +1,105 @@ | |||
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 | /* Define this if you have a SH7034 */ | ||
62 | #define CONFIG_CPU SH7034 | ||
63 | |||
64 | /* Define this if you control ata power player style | ||
65 | (with PB4, new player only) */ | ||
66 | #define ATA_POWER_PLAYERSTYLE | ||
67 | |||
68 | /* Define this to the CPU frequency */ | ||
69 | #define CPU_FREQ 12000000 /* cycle time ~83.3ns */ | ||
70 | |||
71 | /* Define this if you must discharge the data line by driving it low | ||
72 | and then set it to input to see if it stays low or goes high */ | ||
73 | #define HAVE_I2C_LOW_FIRST | ||
74 | |||
75 | #define CONFIG_I2C I2C_PLAYREC | ||
76 | |||
77 | /* Offset ( in the firmware file's header ) to the file length */ | ||
78 | #define FIRMWARE_OFFSET_FILE_LENGTH 0 | ||
79 | |||
80 | /* Offset ( in the firmware file's header ) to the file CRC */ | ||
81 | #define FIRMWARE_OFFSET_FILE_CRC 4 | ||
82 | |||
83 | /* Offset ( in the firmware file's header ) to the real data */ | ||
84 | #define FIRMWARE_OFFSET_FILE_DATA 6 | ||
85 | |||
86 | /* The start address index for ROM builds */ | ||
87 | #define ROM_START 0x7010 /* for behind BootBox */ | ||
88 | |||
89 | /* Software controlled LED */ | ||
90 | #define CONFIG_LED LED_REAL | ||
91 | |||
92 | #define CONFIG_LCD LCD_SSD1801 | ||
93 | |||
94 | #define BOOTFILE_EXT "mod" | ||
95 | #define BOOTFILE "archos." BOOTFILE_EXT | ||
96 | #define BOOTDIR "/" | ||
97 | |||
98 | #define HAVE_LCD_CONTRAST | ||
99 | |||
100 | #define MIN_CONTRAST_SETTING 5 | ||
101 | #define MAX_CONTRAST_SETTING 31 | ||
102 | #define DEFAULT_CONTRAST_SETTING 30 | ||
103 | |||
104 | #define HAVE_SERIAL | ||
105 | |||