Minor quickscreen and pitchscreen fixes
[kugel-rb.git] / firmware / export / config-player.h
blob9008212a176e1c12d70822f6207c8b50bac3c947
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 /* define this if you have the Player's keyboard */
19 #define CONFIG_KEYPAD PLAYER_PAD
21 #define AB_REPEAT_ENABLE 1
22 #define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
24 /* The number of bytes reserved for loadable plugins */
25 #define PLUGIN_BUFFER_SIZE 0x8000
27 /* Define this if you have a MAS3507D */
28 #define CONFIG_CODEC MAS3507D
30 /* Define this if you have a DAC3550A */
31 #define HAVE_DAC3550A
33 /* define this if you have a disk storage, i.e. something
34 that needs spinups and can cause skips when shaked */
35 #define HAVE_DISK_STORAGE
37 /* Define this for LCD backlight available */
38 #define HAVE_BACKLIGHT
40 #define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */
41 #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
42 #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
43 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
44 #define BATTERY_TYPES_COUNT 1 /* only one type */
46 /* define this if the unit should not shut down on low battery. */
47 #define NO_LOW_BATTERY_SHUTDOWN
49 /* Hardware controlled charging */
50 #define CONFIG_CHARGING CHARGING_SIMPLE
52 #ifndef SIMULATOR
54 /* Define this if you have a SH7034 */
55 #define CONFIG_CPU SH7034
57 /* Uncomment this if you want to enable ATA power-off control.
58 * Attention, some players crash when ATA power-off is enabled! */
59 //#define HAVE_ATA_POWER_OFF
61 /* Define this if you control ata power player style
62 (with PB4, new player only) */
63 #define ATA_POWER_PLAYERSTYLE
65 /* Define this to the CPU frequency */
66 #define CPU_FREQ 12000000 /* cycle time ~83.3ns */
68 /* Define this if you must discharge the data line by driving it low
69 and then set it to input to see if it stays low or goes high */
70 #define HAVE_I2C_LOW_FIRST
72 #define CONFIG_I2C I2C_PLAYREC
74 /* Offset ( in the firmware file's header ) to the file length */
75 #define FIRMWARE_OFFSET_FILE_LENGTH 0
77 /* Offset ( in the firmware file's header ) to the file CRC */
78 #define FIRMWARE_OFFSET_FILE_CRC 4
80 /* Offset ( in the firmware file's header ) to the real data */
81 #define FIRMWARE_OFFSET_FILE_DATA 6
83 /* The start address index for ROM builds */
84 #define ROM_START 0x7010 /* for behind BootBox */
86 /* Software controlled LED */
87 #define CONFIG_LED LED_REAL
89 #define CONFIG_LCD LCD_SSD1801
91 #define BOOTFILE_EXT "mod"
92 #define BOOTFILE "archos." BOOTFILE_EXT
93 #define BOOTDIR "/"
95 #endif /* SIMULATOR */
97 #define HAVE_LCD_CONTRAST
99 #define MIN_CONTRAST_SETTING 5
100 #define MAX_CONTRAST_SETTING 31
101 #define DEFAULT_CONTRAST_SETTING 30