summaryrefslogtreecommitdiff
path: root/firmware/export/config/archosfmrecorder.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config/archosfmrecorder.h')
-rw-r--r--firmware/export/config/archosfmrecorder.h142
1 files changed, 142 insertions, 0 deletions
diff --git a/firmware/export/config/archosfmrecorder.h b/firmware/export/config/archosfmrecorder.h
new file mode 100644
index 0000000000..d9f3a95f3e
--- /dev/null
+++ b/firmware/export/config/archosfmrecorder.h
@@ -0,0 +1,142 @@
1/* define this if you use an ATA controller */
2#define CONFIG_STORAGE STORAGE_ATA
3
4#define MODEL_NAME "Archos FM Recorder"
5
6/* define this if you have recording possibility */
7#define HAVE_RECORDING
8
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)
12
13/* define this if you have a bitmap LCD display */
14#define HAVE_LCD_BITMAP
15
16/* define this if you can flip your LCD */
17#define HAVE_LCD_FLIP
18
19/* define this if you can invert the colours on your LCD */
20#define HAVE_LCD_INVERT
21
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
28
29/* define this if you would like tagcache to build on this target */
30#define HAVE_TAGCACHE
31
32/* LCD dimensions */
33#define LCD_WIDTH 112
34#define LCD_HEIGHT 64
35#define LCD_DEPTH 1
36
37#define LCD_PIXEL_ASPECT_WIDTH 4
38#define LCD_PIXEL_ASPECT_HEIGHT 5
39
40#define LCD_PIXELFORMAT VERTICAL_PACKING
41
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
47
48/* define this if you have a Recorder style 10-key keyboard */
49#define CONFIG_KEYPAD RECORDER_PAD
50
51/* Define this to enable morse code input */
52#define HAVE_MORSE_INPUT
53
54/* define this if you have a real-time clock */
55#define CONFIG_RTC RTC_M41ST84W
56
57/* FM recorders can wake up from RTC alarm */
58#define HAVE_RTC_ALARM
59
60/* define this if you have RTC RAM available for settings */
61#define HAVE_RTC_RAM
62
63/* Define this if you have a software controlled poweroff */
64#define HAVE_SW_POWEROFF
65
66/* The number of bytes reserved for loadable plugins */
67#define PLUGIN_BUFFER_SIZE 0x8000
68
69#ifndef BOOTLOADER
70/* Define this if you have an FM Radio */
71#define CONFIG_TUNER S1A0903X01
72#endif
73
74#define AB_REPEAT_ENABLE 1
75
76/* Define this if you have a MAS3587F */
77#define CONFIG_CODEC MAS3587F
78
79/* Define this for LCD backlight available */
80#define HAVE_BACKLIGHT
81
82/* define this if you have a disk storage, i.e. something
83 that needs spinups and can cause skips when shaked */
84#define HAVE_DISK_STORAGE
85
86#define CONFIG_I2C I2C_PLAYREC
87
88#define BATTERY_CAPACITY_DEFAULT 2200 /* default battery capacity */
89#define BATTERY_CAPACITY_MIN 2200 /* min. capacity selectable */
90#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
91#define BATTERY_CAPACITY_INC 50 /* capacity increment */
92#define BATTERY_TYPES_COUNT 1 /* only one type */
93
94#define CURRENT_NORMAL 145 /* usual current in mA */
95#define CURRENT_RECORD 35 /* additional recording current */
96#define CURRENT_USB 500 /* usual current in mA in USB mode */
97
98/* Hardware controlled charging with monitoring */
99#define CONFIG_CHARGING CHARGING_MONITOR
100
101/* define this if the unit can be powered or charged via USB */
102#define HAVE_USB_POWER
103
104/* Define this if you have a SH7034 */
105#define CONFIG_CPU SH7034
106
107/* Define this if you have a FM Recorder key system */
108#define HAVE_FMADC
109
110/* Define this if battery voltage can only be measured with ATA powered */
111#define NEED_ATA_POWER_BATT_MEASURE
112
113/* Define this to the CPU frequency */
114#define CPU_FREQ 11059200
115
116/* Offset ( in the firmware file's header ) to the file length */
117#define FIRMWARE_OFFSET_FILE_LENGTH 20
118
119/* Offset ( in the firmware file's header ) to the file CRC */
120#define FIRMWARE_OFFSET_FILE_CRC 6
121
122/* Offset ( in the firmware file's header ) to the real data */
123#define FIRMWARE_OFFSET_FILE_DATA 24
124
125/* The start address index for ROM builds */
126/* #define ROM_START 0x14010 for behind original Archos */
127#define ROM_START 0x7010 /* for behind BootBox */
128
129/* Software controlled LED */
130#define CONFIG_LED LED_REAL
131
132#define CONFIG_LCD LCD_SSD1815
133
134#define BOOTFILE_EXT "ajz"
135#define BOOTFILE "ajbrec." BOOTFILE_EXT
136#define BOOTDIR "/"
137
138#define HAVE_LCD_CONTRAST
139
140#define MIN_CONTRAST_SETTING 5
141#define MAX_CONTRAST_SETTING 63
142