FS#8961 - Anti-Aliased Fonts.
[kugel-rb.git] / firmware / export / config-player.h
blob5f6cf17fbe2d50798fa1f329982125b6a19a1059
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 #ifndef SIMULATOR
63 /* Define this if you have a SH7034 */
64 #define CONFIG_CPU SH7034
66 /* Define this if you control ata power player style
67 (with PB4, new player only) */
68 #define ATA_POWER_PLAYERSTYLE
70 /* Define this to the CPU frequency */
71 #define CPU_FREQ 12000000 /* cycle time ~83.3ns */
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
77 #define CONFIG_I2C I2C_PLAYREC
79 /* Offset ( in the firmware file's header ) to the file length */
80 #define FIRMWARE_OFFSET_FILE_LENGTH 0
82 /* Offset ( in the firmware file's header ) to the file CRC */
83 #define FIRMWARE_OFFSET_FILE_CRC 4
85 /* Offset ( in the firmware file's header ) to the real data */
86 #define FIRMWARE_OFFSET_FILE_DATA 6
88 /* The start address index for ROM builds */
89 #define ROM_START 0x7010 /* for behind BootBox */
91 /* Software controlled LED */
92 #define CONFIG_LED LED_REAL
94 #define CONFIG_LCD LCD_SSD1801
96 #define BOOTFILE_EXT "mod"
97 #define BOOTFILE "archos." BOOTFILE_EXT
98 #define BOOTDIR "/"
100 #endif /* SIMULATOR */
102 #define HAVE_LCD_CONTRAST
104 #define MIN_CONTRAST_SETTING 5
105 #define MAX_CONTRAST_SETTING 31
106 #define DEFAULT_CONTRAST_SETTING 30
108 #define HAVE_SERIAL