summaryrefslogtreecommitdiff
path: root/firmware/export/config
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2017-04-27 11:36:40 +0200
committerMarcin Bukat <marcin.bukat@gmail.com>2018-06-12 10:31:14 +0200
commitd55680993df9b6743506814d98b5cc1859828f8a (patch)
tree054dc45425fa1a6863f154b484036f26cc3ac13f /firmware/export/config
parentbeef52c5f0832e2c36bb1523b51eb8721f851db5 (diff)
downloadrockbox-d55680993df9b6743506814d98b5cc1859828f8a.tar.gz
rockbox-d55680993df9b6743506814d98b5cc1859828f8a.zip
Agptek Rocker: Initial commit
Change-Id: I26b51106c7b1c36a603fba6d521e917d79b5a95b
Diffstat (limited to 'firmware/export/config')
-rw-r--r--firmware/export/config/agptekrocker.h119
1 files changed, 119 insertions, 0 deletions
diff --git a/firmware/export/config/agptekrocker.h b/firmware/export/config/agptekrocker.h
new file mode 100644
index 0000000000..517448b86d
--- /dev/null
+++ b/firmware/export/config/agptekrocker.h
@@ -0,0 +1,119 @@
1/*
2 * This config file is for the Agptek Rocket
3 */
4
5/* For Rolo and boot loader */
6#define MODEL_NUMBER 103//???
7
8#define MODEL_NAME "Agptek Rocker"
9
10/* LCD dimensions */
11#define LCD_WIDTH 128
12#define LCD_HEIGHT 160
13/* sqrt(128^2 + 160^2) / 2 = 102. */
14#define LCD_DPI 102
15
16#ifndef SIMULATOR
17#define CONFIG_PLATFORM (PLATFORM_HOSTED)
18#endif
19
20/* define this if you have a bitmap LCD display */
21#define HAVE_LCD_BITMAP
22
23/* define this if you have a colour LCD */
24#define HAVE_LCD_COLOR
25
26/* Define this if the LCD can shut down */
27//#define HAVE_LCD_SHUTDOWN
28
29/* define this if you want album art for this target */
30#define HAVE_ALBUMART
31
32/* define this to enable bitmap scaling */
33#define HAVE_BMP_SCALING
34
35/* define this to enable JPEG decoding */
36#define HAVE_JPEG
37
38/* define this if you have access to the quickscreen */
39#define HAVE_QUICKSCREEN
40
41/* define this if you would like tagcache to build on this target */
42#define HAVE_TAGCACHE
43
44#define LCD_DEPTH 32
45/* Check that but should not matter */
46#define LCD_PIXELFORMAT XRGB8888
47
48#define HAVE_BACKLIGHT
49#define HAVE_BACKLIGHT_BRIGHTNESS
50
51/* Main LCD backlight brightness range and defaults: the backlight driver
52 * has levels from 0 to 2555. But 0 is off so start at 1.
53 */
54#define MIN_BRIGHTNESS_SETTING 1
55#define MAX_BRIGHTNESS_SETTING 255
56#define DEFAULT_BRIGHTNESS_SETTING 70
57
58/* Which backlight fading type? */
59#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING
60
61/* define this if you have a real-time clock */
62#define CONFIG_RTC 0
63
64/* The number of bytes reserved for loadable codecs */
65#define CODEC_SIZE 0x80000
66
67/* The number of bytes reserved for loadable plugins */
68#define PLUGIN_BUFFER_SIZE 0x100000
69
70/* Define this if you do software codec */
71#define CONFIG_CODEC SWCODEC
72#define HAVE_ROCKER_CODEC
73
74#define HAVE_HEADPHONE_DETECTION
75
76/* KeyPad configuration for plugins */
77#define CONFIG_KEYPAD AGPTEK_ROCKER_PAD
78
79#ifndef SIMULATOR
80/* We have usb power and can detect usb but it is handled by Linux */
81#define HAVE_USB_POWER
82#define USB_NONE
83#endif
84
85#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
86
87/* Linux controlls charging, we can monitor */
88#define CONFIG_CHARGING CHARGING_MONITOR
89
90/* define this if the hardware can be powered off while charging */
91#define HAVE_POWEROFF_WHILE_CHARGING
92
93/* same dimensions as gigabeats */
94#define CONFIG_LCD LCD_INGENIC_LINUX
95
96/* Define this if you have a software controlled poweroff */
97#define HAVE_SW_POWEROFF
98
99/* Define this to the CPU frequency */
100#define CPU_FREQ 532000000
101
102/* No special storage */
103#define CONFIG_STORAGE (STORAGE_HOSTFS)//|STORAGE_SD)
104//#define MULTIDRIVE_DIR "/mnt/sd_0"
105//#define NUM_DRIVES 1
106//#define HAVE_HOTSWAP
107#define HAVE_STORAGE_FLUSH
108
109/* Battery */
110#define BATTERY_TYPES_COUNT 1
111
112/* Audio codec */
113#define HAVE_ROCKER_CODEC
114
115/* Battery */
116#define BATTERY_CAPACITY_DEFAULT 600 /* default battery capacity */
117#define BATTERY_CAPACITY_MIN 600 /* min. capacity selectable */
118#define BATTERY_CAPACITY_MAX 600 /* max. capacity selectable */
119#define BATTERY_CAPACITY_INC 0 /* capacity increment */