1 /* define this if you use an ATA controller */
2 #define CONFIG_STORAGE STORAGE_ATA
4 #define MODEL_NAME "Archos Recorder v2"
6 /* define this if you have recording possibility */
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 */
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
24 /* define this if you have access to the pitchscreen */
25 #define HAVE_PITCHSCREEN
26 /* define this if you have the button bar */
27 #define HAVE_BUTTONBAR
29 /* define this if you would like tagcache to build on this target */
37 #define LCD_PIXEL_ASPECT_WIDTH 4
38 #define LCD_PIXEL_ASPECT_HEIGHT 5
40 #define LCD_PIXELFORMAT VERTICAL_PACKING
42 /* Display colours, for screenshots and sim (0xRRGGBB) */
43 #define LCD_DARKCOLOR 0x000000
44 #define LCD_BRIGHTCOLOR 0x5a915a
45 #define LCD_BL_DARKCOLOR 0x000000
46 #define LCD_BL_BRIGHTCOLOR 0x7ee57e
48 /* define this if you have a Recorder style 10-key keyboard */
49 #define CONFIG_KEYPAD RECORDER_PAD
51 /* define this if you have a real-time clock */
52 #define CONFIG_RTC RTC_M41ST84W
54 /* FM recorders can wake up from RTC alarm */
55 #define HAVE_RTC_ALARM
57 /* define this if you have RTC RAM available for settings */
60 /* Define this if you have a software controlled poweroff */
61 #define HAVE_SW_POWEROFF
63 /* The number of bytes reserved for loadable plugins */
64 #define PLUGIN_BUFFER_SIZE 0x8000
66 #define AB_REPEAT_ENABLE 1
68 /* Define this if you have a MAS3587F */
69 #define CONFIG_CODEC MAS3587F
71 /* define this if you have a disk storage, i.e. something
72 that needs spinups and can cause skips when shaked */
73 #define HAVE_DISK_STORAGE
75 /* Define this for LCD backlight available */
76 #define HAVE_BACKLIGHT
78 #define CONFIG_I2C I2C_PLAYREC
80 #define BATTERY_CAPACITY_DEFAULT 2200 /* default battery capacity */
81 #define BATTERY_CAPACITY_MIN 2200 /* min. capacity selectable */
82 #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
83 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
84 #define BATTERY_TYPES_COUNT 1 /* only one type */
86 #define CURRENT_NORMAL 145 /* usual current in mA */
87 #define CURRENT_RECORD 35 /* additional recording current */
88 #define CURRENT_USB 500 /* usual current in mA in USB mode */
90 /* Hardware controlled charging with monitoring */
91 #define CONFIG_CHARGING CHARGING_MONITOR
93 /* define this if the unit can be powered or charged via USB */
94 #define HAVE_USB_POWER
98 /* Define this if you have a SH7034 */
99 #define CONFIG_CPU SH7034
101 /* Define this if you have a FM Recorder key system */
104 /* Define this if battery voltage can only be measured with ATA powered */
105 #define NEED_ATA_POWER_BATT_MEASURE
107 /* Define this to the CPU frequency */
108 #define CPU_FREQ 11059200
110 /* Offset ( in the firmware file's header ) to the file length */
111 #define FIRMWARE_OFFSET_FILE_LENGTH 20
113 /* Offset ( in the firmware file's header ) to the file CRC */
114 #define FIRMWARE_OFFSET_FILE_CRC 6
116 /* Offset ( in the firmware file's header ) to the real data */
117 #define FIRMWARE_OFFSET_FILE_DATA 24
120 /* Define this if you have an FM Radio */
121 #define CONFIG_TUNER S1A0903X01
124 /* The start address index for ROM builds */
125 /* #define ROM_START 0x12010 for behind original Archos */
126 #define ROM_START 0x7010 /* for behind BootBox */
128 /* Software controlled LED */
129 #define CONFIG_LED LED_REAL
131 #define CONFIG_LCD LCD_SSD1815
133 #define BOOTFILE_EXT "ajz"
134 #define BOOTFILE "ajbrec." BOOTFILE_EXT
137 #endif /* SIMULATOR */
139 #define HAVE_LCD_CONTRAST
141 #define MIN_CONTRAST_SETTING 5
142 #define MAX_CONTRAST_SETTING 63