summaryrefslogtreecommitdiff
path: root/firmware/export/config/hifietma8c.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config/hifietma8c.h')
-rw-r--r--firmware/export/config/hifietma8c.h153
1 files changed, 153 insertions, 0 deletions
diff --git a/firmware/export/config/hifietma8c.h b/firmware/export/config/hifietma8c.h
new file mode 100644
index 0000000000..4e2d605523
--- /dev/null
+++ b/firmware/export/config/hifietma8c.h
@@ -0,0 +1,153 @@
1/*
2 * This config file is for HiFi E.T. MA8 reference design
3 */
4
5/* For Rolo and boot loader */
6#define MODEL_NUMBER 91
7
8#define MODEL_NAME "HiFi E.T. MA8C"
9
10/* define the bitmask of hardware sample rates */
11#define HW_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_48 | SAMPR_CAP_44 | \
12 SAMPR_CAP_32 | SAMPR_CAP_24 | SAMPR_CAP_22 | \
13 SAMPR_CAP_16 | SAMPR_CAP_12 | SAMPR_CAP_11 | SAMPR_CAP_8)
14
15#define HAVE_PCM1792_CODEC
16
17#define CODEC_SLAVE
18/* define this if you have a bitmap LCD display */
19#define HAVE_LCD_BITMAP
20
21/* define this if you can flip your LCD */
22/* #define HAVE_LCD_FLIP */
23
24/* define this if you have a colour LCD */
25#define HAVE_LCD_COLOR
26
27/* define this if you want album art for this target */
28#define HAVE_ALBUMART
29
30/* define this to enable bitmap scaling */
31#define HAVE_BMP_SCALING
32
33/* define this to enable JPEG decoding */
34#define HAVE_JPEG
35
36/* define this if you can invert the colours on your LCD */
37/* #define HAVE_LCD_INVERT */
38
39/* define this if you have access to the quickscreen */
40#define HAVE_QUICKSCREEN
41
42/* define this if you would like tagcache to build on this target */
43#define HAVE_TAGCACHE
44
45/* define this if you have a flash memory storage */
46#define HAVE_FLASH_STORAGE
47
48#define CONFIG_STORAGE (STORAGE_SD | STORAGE_NAND)
49
50#define CONFIG_NAND NAND_RK27XX
51#define HAVE_SW_TONE_CONTROLS
52
53/* commented for now */
54/* #define HAVE_HOTSWAP */
55
56#define NUM_DRIVES 2
57#define SECTOR_SIZE 512
58
59/* for small(ish) SD cards */
60#define HAVE_FAT16SUPPORT
61
62/* LCD dimensions */
63#define LCD_WIDTH 320
64#define LCD_HEIGHT 240
65#define LCD_DEPTH 16 /* pseudo 262.144 colors */
66#define LCD_PIXELFORMAT RGB565 /* rgb565 */
67
68/* Define this if your LCD can be enabled/disabled */
69#define HAVE_LCD_ENABLE
70
71#define CONFIG_KEYPAD MA_PAD
72
73/* Define this to enable morse code input */
74#define HAVE_MORSE_INPUT
75
76/* Define this if you do software codec */
77#define CONFIG_CODEC SWCODEC
78
79#define CONFIG_LCD LCD_ILI9342C
80
81/* Define this for LCD backlight available */
82#define HAVE_BACKLIGHT
83#define HAVE_BACKLIGHT_BRIGHTNESS
84#define MIN_BRIGHTNESS_SETTING 0
85#define MAX_BRIGHTNESS_SETTING 31
86#define DEFAULT_BRIGHTNESS_SETTING 31
87#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_HW_REG
88
89/* Define this if you have a software controlled poweroff */
90#define HAVE_SW_POWEROFF
91
92/* The number of bytes reserved for loadable codecs */
93#define CODEC_SIZE 0x100000
94
95/* The number of bytes reserved for loadable plugins */
96#define PLUGIN_BUFFER_SIZE 0x80000
97
98/* TODO: Figure out real values */
99#define BATTERY_CAPACITY_DEFAULT 600 /* default battery capacity */
100#define BATTERY_CAPACITY_MIN 300 /* min. capacity selectable */
101#define BATTERY_CAPACITY_MAX 600 /* max. capacity selectable */
102#define BATTERY_CAPACITY_INC 10 /* capacity increment */
103#define BATTERY_TYPES_COUNT 1 /* only one type */
104
105#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
106
107/* Hardware controlled charging with monitoring */
108#define CONFIG_CHARGING CHARGING_MONITOR
109
110/* USB On-the-go */
111#define CONFIG_USBOTG USBOTG_RK27XX
112
113/* enable these for the experimental usb stack */
114#define HAVE_USBSTACK
115
116#define USE_ROCKBOX_USB
117#define USB_VENDOR_ID 0x071b
118#define USB_PRODUCT_ID 0x3202
119#define HAVE_BOOTLOADER_USB_MODE
120
121/* Define this if your LCD can set contrast */
122/* #define HAVE_LCD_CONTRAST */
123
124/* The exact type of CPU */
125#define CONFIG_CPU RK27XX
126
127/* I2C interface */
128#define CONFIG_I2C I2C_RK27XX
129
130/* Define this to the CPU frequency */
131#define CPU_FREQ 200000000
132
133/* define this if the hardware can be powered off while charging */
134/* #define HAVE_POWEROFF_WHILE_CHARGING */
135
136/* Offset ( in the firmware file's header ) to the file CRC */
137#define FIRMWARE_OFFSET_FILE_CRC 0
138
139/* Offset ( in the firmware file's header ) to the real data */
140#define FIRMWARE_OFFSET_FILE_DATA 8
141
142#define STORAGE_NEEDS_ALIGN
143
144/* Define this if you have adjustable CPU frequency */
145#define HAVE_ADJUSTABLE_CPU_FREQ
146
147/* Virtual LED (icon) */
148#define CONFIG_LED LED_VIRTUAL
149
150#define RKW_FORMAT
151#define BOOTFILE_EXT "rkw"
152#define BOOTFILE "rockbox." BOOTFILE_EXT
153#define BOOTDIR "/.rockbox"