Gigibeat S Manual - redo r23795 to look like it was originally meant to look.
[kugel-rb.git] / firmware / export / config-player.h
blobc60ee6a071ae3208be4ff7f8f5fa0afbd2fe338b
1 /* define this if you use an ATA controller */
2 #define CONFIG_STORAGE STORAGE_ATA
4 #define MODEL_NAME "Archos Player/Studio"
6 /* define this if you have a charcell LCD display */
7 #define HAVE_LCD_CHARCELLS
9 /* define this if you would like tagcache to build on this target */
10 #define HAVE_TAGCACHE
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 */
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
24 /* define this if you have the Player's keyboard */
25 #define CONFIG_KEYPAD PLAYER_PAD
27 #define AB_REPEAT_ENABLE 1
28 #define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
30 /* The number of bytes reserved for loadable plugins */
31 #define PLUGIN_BUFFER_SIZE 0x8000
33 /* Define this if you have a MAS3507D */
34 #define CONFIG_CODEC MAS3507D
36 /* Define this if you have a DAC3550A */
37 #define HAVE_DAC3550A
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
43 /* Define this for LCD backlight available */
44 #define HAVE_BACKLIGHT
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 */
52 #define CURRENT_NORMAL 145 /* usual current in mA */
53 #define CURRENT_USB 500 /* usual current in mA in USB mode */
55 /* define this if the unit should not shut down on low battery. */
56 #define NO_LOW_BATTERY_SHUTDOWN
58 /* Hardware controlled charging */
59 #define CONFIG_CHARGING CHARGING_SIMPLE
61 /* Define this if you have a SH7034 */
62 #define CONFIG_CPU SH7034
64 /* Define this if you control ata power player style
65 (with PB4, new player only) */
66 #define ATA_POWER_PLAYERSTYLE
68 /* Define this to the CPU frequency */
69 #define CPU_FREQ 12000000 /* cycle time ~83.3ns */
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
75 #define CONFIG_I2C I2C_PLAYREC
77 /* Offset ( in the firmware file's header ) to the file length */
78 #define FIRMWARE_OFFSET_FILE_LENGTH 0
80 /* Offset ( in the firmware file's header ) to the file CRC */
81 #define FIRMWARE_OFFSET_FILE_CRC 4
83 /* Offset ( in the firmware file's header ) to the real data */
84 #define FIRMWARE_OFFSET_FILE_DATA 6
86 /* The start address index for ROM builds */
87 #define ROM_START 0x7010 /* for behind BootBox */
89 /* Software controlled LED */
90 #define CONFIG_LED LED_REAL
92 #define CONFIG_LCD LCD_SSD1801
94 #define BOOTFILE_EXT "mod"
95 #define BOOTFILE "archos." BOOTFILE_EXT
96 #define BOOTDIR "/"
98 #define HAVE_LCD_CONTRAST
100 #define MIN_CONTRAST_SETTING 5
101 #define MAX_CONTRAST_SETTING 31
102 #define DEFAULT_CONTRAST_SETTING 30
104 #define HAVE_SERIAL