Add effective clockrate for realtime decoding to the displayed results of test_codec...
[kugel-rb.git] / firmware / export / config-player.h
blob94d5edf451dbe07c8301a165a72b10453b7d0f61
1 /* define this if you use an ATA controller */
2 #define HAVE_ATA
4 /* define this if you have a charcell LCD display */
5 #define HAVE_LCD_CHARCELLS
7 /* define this if you would like tagcache to build on this target */
8 #define HAVE_TAGCACHE
10 #define LCD_WIDTH 11
11 #define LCD_HEIGHT 2
12 #define LCD_DEPTH 1
13 #define SIM_LCD_WIDTH 132 /* pixels */
14 #define SIM_LCD_HEIGHT 64 /* pixels */
16 /* define this if you have the Player's keyboard */
17 #define CONFIG_KEYPAD PLAYER_PAD
19 /* The number of bytes reserved for loadable plugins */
20 #define PLUGIN_BUFFER_SIZE 0x8000
22 #define AB_REPEAT_ENABLE 1
24 /* Define this if you have a MAS3507D */
25 #define CONFIG_CODEC MAS3507D
27 /* Define this if you have a DAC3550A */
28 #define HAVE_DAC3550A
30 /* Define this for LCD backlight available */
31 #define HAVE_BACKLIGHT
33 #define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */
34 #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
35 #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
36 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
37 #define BATTERY_TYPES_COUNT 1 /* only one type */
39 /* define this if the unit should not shut down on low battery. */
40 #define NO_LOW_BATTERY_SHUTDOWN
42 /* Hardware controlled charging */
43 #define CONFIG_CHARGING CHARGING_SIMPLE
45 #ifndef SIMULATOR
47 /* Define this if you have a SH7034 */
48 #define CONFIG_CPU SH7034
50 /* Uncomment this if you want to enable ATA power-off control.
51 * Attention, some players crash when ATA power-off is enabled! */
52 //#define HAVE_ATA_POWER_OFF
54 /* Define this if you control ata power player style
55 (with PB4, new player only) */
56 #define ATA_POWER_PLAYERSTYLE
58 /* Define this to the CPU frequency */
59 #define CPU_FREQ 12000000 /* cycle time ~83.3ns */
61 /* Define this if you must discharge the data line by driving it low
62 and then set it to input to see if it stays low or goes high */
63 #define HAVE_I2C_LOW_FIRST
65 #define CONFIG_I2C I2C_PLAYREC
67 /* Offset ( in the firmware file's header ) to the file length */
68 #define FIRMWARE_OFFSET_FILE_LENGTH 0
70 /* Offset ( in the firmware file's header ) to the file CRC */
71 #define FIRMWARE_OFFSET_FILE_CRC 4
73 /* Offset ( in the firmware file's header ) to the real data */
74 #define FIRMWARE_OFFSET_FILE_DATA 6
76 /* The start address index for ROM builds */
77 /* #define ROM_START 0xD010 for behind original Archos */
78 #define ROM_START 0x6010 /* for behind BootBox */
80 /* Software controlled LED */
81 #define CONFIG_LED LED_REAL
83 #define CONFIG_LCD LCD_SSD1801
85 #define BOOTFILE_EXT "mod"
86 #define BOOTFILE "archos." BOOTFILE_EXT
87 #define BOOTDIR "/"
89 #endif /* SIMULATOR */
91 #define HAVE_LCD_CONTRAST
93 #define MIN_CONTRAST_SETTING 5
94 #define MAX_CONTRAST_SETTING 31
95 #define DEFAULT_CONTRAST_SETTING 30