summaryrefslogtreecommitdiff
path: root/firmware/export/config-ondavx747.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config-ondavx747.h')
-rw-r--r--firmware/export/config-ondavx747.h340
1 files changed, 170 insertions, 170 deletions
diff --git a/firmware/export/config-ondavx747.h b/firmware/export/config-ondavx747.h
index b5519b21ee..c61ee17648 100644
--- a/firmware/export/config-ondavx747.h
+++ b/firmware/export/config-ondavx747.h
@@ -1,170 +1,170 @@
1/*************************************************************************** 1/***************************************************************************
2 * __________ __ ___. 2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___ 3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / 4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < 5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ 6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/ 7 * \/ \/ \/ \/ \/
8 * $Id$ 8 * $Id$
9 * 9 *
10 * Copyright (C) 2008 by Maurus Cuelenaere 10 * Copyright (C) 2008 by Maurus Cuelenaere
11 * 11 *
12 * This program is free software; you can redistribute it and/or 12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License 13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2 14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version. 15 * of the License, or (at your option) any later version.
16 * 16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied. 18 * KIND, either express or implied.
19 * 19 *
20 ****************************************************************************/ 20 ****************************************************************************/
21 21
22/* 22/*
23 * This config file is for the Onda VX747 23 * This config file is for the Onda VX747
24 */ 24 */
25#define TARGET_TREE /* this target is using the target tree system */ 25#define TARGET_TREE /* this target is using the target tree system */
26 26
27#define CONFIG_SDRAM_START 0x80E00000 /* HACK! */ 27#define CONFIG_SDRAM_START 0x80E00000 /* HACK! */
28 28
29#define ONDA_VX747 1 29#define ONDA_VX747 1
30 30
31/* For Rolo and boot loader */ 31/* For Rolo and boot loader */
32#define MODEL_NUMBER 30 32#define MODEL_NUMBER 30
33 33
34/* define this if you use an ATA controller */ 34/* define this if you use an ATA controller */
35//#define HAVE_ATA 35//#define HAVE_ATA
36 36
37/* define this if you have a bitmap LCD display */ 37/* define this if you have a bitmap LCD display */
38#define HAVE_LCD_BITMAP 38#define HAVE_LCD_BITMAP
39 39
40/* define this if you have a colour LCD */ 40/* define this if you have a colour LCD */
41#define HAVE_LCD_COLOR 41#define HAVE_LCD_COLOR
42 42
43/* define this if you have access to the quickscreen */ 43/* define this if you have access to the quickscreen */
44#define HAVE_QUICKSCREEN 44#define HAVE_QUICKSCREEN
45 45
46/* define this if you have access to the pitchscreen */ 46/* define this if you have access to the pitchscreen */
47#define HAVE_PITCHSCREEN 47#define HAVE_PITCHSCREEN
48 48
49/* define this if you would like tagcache to build on this target */ 49/* define this if you would like tagcache to build on this target */
50#define HAVE_TAGCACHE 50#define HAVE_TAGCACHE
51 51
52/* define this if the target has volume keys which can be used in the lists */ 52/* define this if the target has volume keys which can be used in the lists */
53#define HAVE_VOLUME_IN_LIST 53#define HAVE_VOLUME_IN_LIST
54 54
55/* LCD dimensions */ 55/* LCD dimensions */
56#define CONFIG_LCD LCD_ONDAVX747 56#define CONFIG_LCD LCD_ONDAVX747
57 57
58/* choose the lcd orientation. both work */ 58/* choose the lcd orientation. both work */
59#define CONFIG_ORIENTATION SCREEN_PORTRAIT 59#define CONFIG_ORIENTATION SCREEN_PORTRAIT
60 60
61#define LCD_WIDTH 400 61#define LCD_WIDTH 400
62#define LCD_HEIGHT 240 62#define LCD_HEIGHT 240
63 63
64#define LCD_DEPTH 16 /* 16bit colours */ 64#define LCD_DEPTH 16 /* 16bit colours */
65#define LCD_PIXELFORMAT RGB565 /* rgb565 */ 65#define LCD_PIXELFORMAT RGB565 /* rgb565 */
66 66
67/* Define this if your LCD can be enabled/disabled */ 67/* Define this if your LCD can be enabled/disabled */
68#define HAVE_LCD_ENABLE 68#define HAVE_LCD_ENABLE
69 69
70#define CONFIG_KEYPAD ONDAVX747_PAD 70#define CONFIG_KEYPAD ONDAVX747_PAD
71#define HAS_BUTTON_HOLD 71#define HAS_BUTTON_HOLD
72//#define HAVE_HEADPHONE_DETECTION 72//#define HAVE_HEADPHONE_DETECTION
73#define HAVE_TOUCHPAD 73#define HAVE_TOUCHPAD
74#define HAVE_BUTTON_DATA 74#define HAVE_BUTTON_DATA
75 75
76/* Define this if you do software codec */ 76/* Define this if you do software codec */
77#define CONFIG_CODEC SWCODEC 77#define CONFIG_CODEC SWCODEC
78 78
79/* define this if you have a real-time clock */ 79/* define this if you have a real-time clock */
80//#define CONFIG_RTC RTC_RX5X348AB 80//#define CONFIG_RTC RTC_RX5X348AB
81 81
82/* Define this for LCD backlight available */ 82/* Define this for LCD backlight available */
83#define HAVE_BACKLIGHT 83#define HAVE_BACKLIGHT
84 84
85#define HAVE_BACKLIGHT_BRIGHTNESS 85#define HAVE_BACKLIGHT_BRIGHTNESS
86 86
87/* Main LCD backlight brightness range and defaults */ 87/* Main LCD backlight brightness range and defaults */
88#define MIN_BRIGHTNESS_SETTING 0 /* TODO */ 88#define MIN_BRIGHTNESS_SETTING 0 /* TODO */
89#define MAX_BRIGHTNESS_SETTING 127 89#define MAX_BRIGHTNESS_SETTING 127
90#define DEFAULT_BRIGHTNESS_SETTING 85 90#define DEFAULT_BRIGHTNESS_SETTING 85
91#define DEFAULT_DIMNESS_SETTING 22 91#define DEFAULT_DIMNESS_SETTING 22
92 92
93/* Define this if you have a software controlled poweroff */ 93/* Define this if you have a software controlled poweroff */
94//#define HAVE_SW_POWEROFF 94//#define HAVE_SW_POWEROFF
95//TODO: enable this back 95//TODO: enable this back
96 96
97/* The number of bytes reserved for loadable codecs */ 97/* The number of bytes reserved for loadable codecs */
98#define CODEC_SIZE 0x80000 98#define CODEC_SIZE 0x80000
99 99
100/* The number of bytes reserved for loadable plugins */ 100/* The number of bytes reserved for loadable plugins */
101#define PLUGIN_BUFFER_SIZE 0x100000 101#define PLUGIN_BUFFER_SIZE 0x100000
102 102
103/* Define this if you have the */ 103/* Define this if you have the */
104//#define HAVE_TLV320 104//#define HAVE_TLV320
105 105
106#define CONFIG_I2C I2C_JZ47XX 106#define CONFIG_I2C I2C_JZ47XX
107 107
108/* TLV320 has no tone controls, so we use the software ones */ 108/* TLV320 has no tone controls, so we use the software ones */
109//#define HAVE_SW_TONE_CONTROLS 109//#define HAVE_SW_TONE_CONTROLS
110 110
111/*#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \ 111/*#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \
112 SAMPR_CAP_11)*/ 112 SAMPR_CAP_11)*/
113 113
114#define BATTERY_CAPACITY_DEFAULT 1250 /* default battery capacity */ 114#define BATTERY_CAPACITY_DEFAULT 1250 /* default battery capacity */
115#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */ 115#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
116#define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */ 116#define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
117#define BATTERY_CAPACITY_INC 100 /* capacity increment */ 117#define BATTERY_CAPACITY_INC 100 /* capacity increment */
118#define BATTERY_TYPES_COUNT 1 /* only one type */ 118#define BATTERY_TYPES_COUNT 1 /* only one type */
119 119
120/* Hardware controlled charging with monitoring */ 120/* Hardware controlled charging with monitoring */
121//#define CONFIG_CHARGING CHARGING_MONITOR 121//#define CONFIG_CHARGING CHARGING_MONITOR
122 122
123#ifndef SIMULATOR 123#ifndef SIMULATOR
124 124
125/* Define this if you have a Ingenic JZ4732 */ 125/* Define this if you have a Ingenic JZ4732 */
126#define CONFIG_CPU JZ4732 126#define CONFIG_CPU JZ4732
127 127
128/* define this if the hardware can be powered off while charging */ 128/* define this if the hardware can be powered off while charging */
129#define HAVE_POWEROFF_WHILE_CHARGING 129#define HAVE_POWEROFF_WHILE_CHARGING
130 130
131/* Define this to the CPU frequency */ 131/* Define this to the CPU frequency */
132#define CPU_FREQ 16934400 132#define CPU_FREQ 16934400
133 133
134/* define this if you have a flash memory storage */ 134/* define this if you have a flash memory storage */
135#define HAVE_FLASH_STORAGE 135#define HAVE_FLASH_STORAGE
136 136
137/* Virtual LED (icon) */ 137/* Virtual LED (icon) */
138#define CONFIG_LED LED_VIRTUAL 138#define CONFIG_LED LED_VIRTUAL
139 139
140/* define this if the backlight can be set to a brightness */ 140/* define this if the backlight can be set to a brightness */
141#define __BACKLIGHT_INIT 141#define __BACKLIGHT_INIT
142 142
143/* Offset ( in the firmware file's header ) to the file CRC */ 143/* Offset ( in the firmware file's header ) to the file CRC */
144#define FIRMWARE_OFFSET_FILE_CRC 0 144#define FIRMWARE_OFFSET_FILE_CRC 0
145 145
146/* Offset ( in the firmware file's header ) to the real data */ 146/* Offset ( in the firmware file's header ) to the real data */
147#define FIRMWARE_OFFSET_FILE_DATA 8 147#define FIRMWARE_OFFSET_FILE_DATA 8
148 148
149/* Define this if you have adjustable CPU frequency */ 149/* Define this if you have adjustable CPU frequency */
150/* #define HAVE_ADJUSTABLE_CPU_FREQ */ 150/* #define HAVE_ADJUSTABLE_CPU_FREQ */
151 151
152#define BOOTFILE_EXT "vx747" 152#define BOOTFILE_EXT "vx747"
153#define BOOTFILE "rockbox." BOOTFILE_EXT 153#define BOOTFILE "rockbox." BOOTFILE_EXT
154#define BOOTDIR "/.rockbox" 154#define BOOTDIR "/.rockbox"
155 155
156/*#define CONFIG_USBOTG USBOTG_INGENIC 156/*#define CONFIG_USBOTG USBOTG_INGENIC
157#define HAVE_USBSTACK 157#define HAVE_USBSTACK
158#define USB_VENDOR_ID 0x041e 158#define USB_VENDOR_ID 0x041e
159#define USB_PRODUCT_ID 0x4133*/ 159#define USB_PRODUCT_ID 0x4133*/
160 160
161/*DEBUGGING!*/ 161/*DEBUGGING!*/
162#ifdef BOOTLOADER 162#ifdef BOOTLOADER
163#define THREAD_EXTRA_CHECKS 1 163#define THREAD_EXTRA_CHECKS 1
164#define DEBUG 1 164#define DEBUG 1
165#define debug(msg) printf(msg) 165#define debug(msg) printf(msg)
166#endif 166#endif
167 167
168#include <stdbool.h> /* HACKY */ 168#include <stdbool.h> /* HACKY */
169 169
170#endif 170#endif