b23c82e5a701a3e95910e6dd08efca045f492d27
[maemo-rb.git] / firmware / export / config / archosrecorder.h
blobb23c82e5a701a3e95910e6dd08efca045f492d27
1 /* define this if you use an ATA controller */
2 #define CONFIG_STORAGE STORAGE_ATA
4 #define MODEL_NAME "Archos Recorder"
6 /* define this if you have recording possibility */
7 #define HAVE_RECORDING
9 /* Define bitmask of input sources - recordable bitmask can be defined
10 explicitly if different */
11 #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_SPDIF)
13 /* define this if you have a bitmap LCD display */
14 #define HAVE_LCD_BITMAP
16 /* define this if you can flip your LCD */
17 #define HAVE_LCD_FLIP
19 /* define this if you can invert the colours on your LCD */
20 #define HAVE_LCD_INVERT
22 /* define this if you have access to the quickscreen */
23 #define HAVE_QUICKSCREEN
25 /* define this if you have the button bar */
26 #define HAVE_BUTTONBAR
28 /* define this if you would like tagcache to build on this target */
29 #define HAVE_TAGCACHE
31 /* LCD dimensions */
32 #define LCD_WIDTH 112
33 #define LCD_HEIGHT 64
34 #define LCD_DEPTH 1
36 #define LCD_PIXEL_ASPECT_WIDTH 4
37 #define LCD_PIXEL_ASPECT_HEIGHT 5
39 #define LCD_PIXELFORMAT VERTICAL_PACKING
41 /* Display colours, for screenshots and sim (0xRRGGBB) */
42 #define LCD_DARKCOLOR 0x000000
43 #define LCD_BRIGHTCOLOR 0x5a915a
44 #define LCD_BL_DARKCOLOR 0x000000
45 #define LCD_BL_BRIGHTCOLOR 0x7ee57e
47 /* define this if you have the Recorder's 10-key keyboard */
48 #define CONFIG_KEYPAD RECORDER_PAD
50 /* Define this to enable morse code input */
51 #define HAVE_MORSE_INPUT
53 /* define this if you have a real-time clock */
54 #define CONFIG_RTC RTC_M41ST84W
56 /* define this if you have RTC RAM available for settings */
57 #define HAVE_RTC_RAM
59 /* The number of bytes reserved for loadable plugins */
60 #define PLUGIN_BUFFER_SIZE 0x8000
62 #define AB_REPEAT_ENABLE
64 /* Define this if you have a MAS3587F */
65 #define CONFIG_CODEC MAS3587F
67 /* define this if you have a disk storage, i.e. something
68 that needs spinups and can cause skips when shaked */
69 #define HAVE_DISK_STORAGE
71 /* Define this for LCD backlight available */
72 #define HAVE_BACKLIGHT
74 #define CONFIG_I2C I2C_PLAYREC
76 #define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */
77 #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
78 #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
79 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
80 #define BATTERY_TYPES_COUNT 1 /* only one type */
82 #define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
84 #if MEMORYSIZE < 8
85 #define CURRENT_NORMAL 145 /* usual current in mA */
86 #else
87 #define CURRENT_NORMAL 145 *100 / 122 /* assuming 192 kbps, the running time is 22% longer with 8MB */
88 #endif
89 #define CURRENT_RECORD 35 /* additional recording current */
90 #define CURRENT_USB 500 /* usual current in mA in USB mode */
92 /* define this if the unit should not shut down on low battery. */
93 #define NO_LOW_BATTERY_SHUTDOWN
95 /* Software controlled charging */
96 #define CONFIG_CHARGING CHARGING_TARGET
98 /* Define this if you have a SH7034 */
99 #define CONFIG_CPU SH7034
101 /* Define this if you have ATA power-off control */
102 #define HAVE_ATA_POWER_OFF
104 /* Define this to the CPU frequency */
105 #define CPU_FREQ 11059200
107 /* Offset ( in the firmware file's header ) to the file length */
108 #define FIRMWARE_OFFSET_FILE_LENGTH 0
110 /* Offset ( in the firmware file's header ) to the file CRC */
111 #define FIRMWARE_OFFSET_FILE_CRC 4
113 /* Offset ( in the firmware file's header ) to the real data */
114 #define FIRMWARE_OFFSET_FILE_DATA 6
116 /* The start address index for ROM builds */
117 /* #define ROM_START 0x11010 for behind original Archos */
118 #define ROM_START 0x7010 /* for behind BootBox */
120 /* Software controlled LED */
121 #define CONFIG_LED LED_REAL
123 /* Define this for S/PDIF output available */
124 #define HAVE_SPDIF_OUT
126 #define CONFIG_LCD LCD_SSD1815
128 #define BOOTFILE_EXT "ajz"
129 #define BOOTFILE "ajbrec." BOOTFILE_EXT
130 #define BOOTDIR "/"
132 #define HAVE_LCD_CONTRAST
134 #define MIN_CONTRAST_SETTING 5
135 #define MAX_CONTRAST_SETTING 63
137 #define HAVE_SERIAL
138 /* Define this if a programmable hotkey is mapped */
139 #define HAVE_HOTKEY