summaryrefslogtreecommitdiff
path: root/firmware/export/config/aigoerosq.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config/aigoerosq.h')
-rw-r--r--firmware/export/config/aigoerosq.h132
1 files changed, 132 insertions, 0 deletions
diff --git a/firmware/export/config/aigoerosq.h b/firmware/export/config/aigoerosq.h
new file mode 100644
index 0000000000..9207b5548f
--- /dev/null
+++ b/firmware/export/config/aigoerosq.h
@@ -0,0 +1,132 @@
1/*
2 * This config file is for the AIGO EROS Q / EROS K (and its clones)
3 */
4
5/* For Rolo and boot loader */
6#define MODEL_NUMBER 113
7
8#define MODEL_NAME "AIGO Eros Q"
9
10/* LCD dimensions */
11#define LCD_WIDTH 320
12#define LCD_HEIGHT 240
13/* sqrt(240^2 + 320^2) / 2.0 = 200 */
14#define LCD_DPI 200
15
16#ifndef SIMULATOR
17#define CONFIG_PLATFORM (PLATFORM_HOSTED)
18#endif
19
20#define HIBY_LINUX
21#define HAVE_FPU
22
23/* define this if you have a colour LCD */
24#define HAVE_LCD_COLOR
25
26#define HAVE_LCD_ENABLE
27
28/* Define this if the LCD can shut down */
29#define HAVE_LCD_SHUTDOWN
30
31/* define this if you want album art for this target */
32#define HAVE_ALBUMART
33
34/* define this to enable bitmap scaling */
35#define HAVE_BMP_SCALING
36
37/* define this to enable JPEG decoding */
38#define HAVE_JPEG
39
40/* define this if you have access to the quickscreen */
41#define HAVE_QUICKSCREEN
42
43/* define this if you would like tagcache to build on this target */
44#define HAVE_TAGCACHE
45
46#define LCD_DEPTH 32
47/* Check that but should not matter */
48#define LCD_PIXELFORMAT XRGB8888
49
50#define HAVE_BACKLIGHT
51#define HAVE_BACKLIGHT_BRIGHTNESS
52
53/* Main LCD backlight brightness range and defaults: the backlight driver
54 * has levels from 0 to 255. But 0 is off so start at 1.
55 */
56#define MIN_BRIGHTNESS_SETTING 1
57#define MAX_BRIGHTNESS_SETTING 255
58#define BRIGHTNESS_STEP 5
59#define DEFAULT_BRIGHTNESS_SETTING 70
60
61/* Which backlight fading type? */
62#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING
63
64/* define this if you have a real-time clock */
65#define CONFIG_RTC APPLICATION
66
67/* The number of bytes reserved for loadable codecs */
68#define CODEC_SIZE 0x80000
69
70/* The number of bytes reserved for loadable plugins */
71#define PLUGIN_BUFFER_SIZE 0x100000
72
73#define HAVE_HEADPHONE_DETECTION
74#define HAVE_LINEOUT_DETECTION
75
76/* KeyPad configuration for plugins */
77#define CONFIG_KEYPAD EROSQ_PAD
78
79/* define this if the target has volume keys which can be used in the lists */
80#define HAVE_VOLUME_IN_LIST
81
82#ifndef SIMULATOR
83/* We have usb power and can detect usb but it is handled by Linux */
84#define HAVE_USB_POWER
85
86#endif
87
88#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
89
90/* Linux controlls charging, we can monitor */
91#define CONFIG_CHARGING CHARGING_MONITOR
92
93/* define this if the hardware can be powered off while charging */
94#define HAVE_POWEROFF_WHILE_CHARGING
95
96/* same dimensions as gigabeats */
97#define CONFIG_LCD LCD_INGENIC_LINUX
98
99/* Define this if you have a software controlled poweroff */
100#define HAVE_SW_POWEROFF
101
102/* Define this to the CPU frequency */
103#define CPU_FREQ 108000000
104
105/* No special storage */
106#define CONFIG_STORAGE STORAGE_HOSTFS
107#define HAVE_STORAGE_FLUSH
108
109/* Battery */
110#define BATTERY_TYPES_COUNT 1
111
112/* Audio codec */
113#define HAVE_EROSQ_LINUX_CODEC
114/* Rockbox has to handle the volume level */
115#define HAVE_SW_VOLUME_CONTROL
116
117/* We don't have hardware controls */
118#define HAVE_SW_TONE_CONTROLS
119
120/* HW codec is flexible */
121#define HW_SAMPR_CAPS SAMPR_CAP_ALL_192
122
123/* Battery */
124#define BATTERY_CAPACITY_DEFAULT 2000 /* default battery capacity */
125#define BATTERY_CAPACITY_MIN 2000 /* min. capacity selectable */
126#define BATTERY_CAPACITY_MAX 2000 /* max. capacity selectable */
127#define BATTERY_CAPACITY_INC 0 /* capacity increment */
128
129/* ROLO */
130#define BOOTFILE_EXT "erosq"
131#define BOOTFILE "rockbox." BOOTFILE_EXT
132#define BOOTDIR "/.rockbox"