add global proxy / cache settings to httpget class. This removes the need of passing...
[Rockbox.git] / firmware / export / config-cowond2.h
blobcbe96f8a924a4fe5bd53e93c52ba291a27075ddb
1 /*
2 * This config file is for the Cowon iAudio D2
3 */
4 #define TARGET_TREE /* this target is using the target tree system */
6 /* For Rolo and boot loader */
7 #define MODEL_NUMBER 24
9 /* define this if you have recording possibility */
10 //#define HAVE_RECORDING
12 /* Define bitmask of input sources - recordable bitmask can be defined
13 explicitly if different */
14 //#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_SPDIF)
16 /* define this if you have a bitmap LCD display */
17 #define HAVE_LCD_BITMAP
19 /* define this if you have a colour LCD */
20 #define HAVE_LCD_COLOR
22 /* define this if you can flip your LCD */
23 #define HAVE_LCD_FLIP
25 /* define this if you can invert the colours on your LCD */
26 #define HAVE_LCD_INVERT
28 /* define this if you want album art for this target */
29 #define HAVE_ALBUMART
31 /* define this if you have access to the quickscreen */
32 #define HAVE_QUICKSCREEN
33 /* define this if you have access to the pitchscreen */
34 #define HAVE_PITCHSCREEN
36 /* define this if you would like tagcache to build on this target */
37 #define HAVE_TAGCACHE
39 /* define this if you have a flash memory storage */
40 #define HAVE_FLASH_STORAGE
42 /* LCD dimensions */
43 #define LCD_WIDTH 320
44 #define LCD_HEIGHT 240
45 #define LCD_DEPTH 16
46 #define LCD_PIXELFORMAT 565
48 /* define this if you have LCD enable function */
49 #define HAVE_LCD_ENABLE
51 /* define this to indicate your device's keypad */
52 #define CONFIG_KEYPAD COWOND2_PAD
54 /* define this if you have a real-time clock */
55 //#define CONFIG_RTC RTC_TCC780X
57 /* define this if you have RTC RAM available for settings */
58 //#define HAVE_RTC_RAM
60 /* Define this if you have a software controlled poweroff */
61 #define HAVE_SW_POWEROFF
63 /* The number of bytes reserved for loadable codecs */
64 #define CODEC_SIZE 0x80000
66 /* The number of bytes reserved for loadable plugins */
67 #define PLUGIN_BUFFER_SIZE 0x80000
69 #define AB_REPEAT_ENABLE 1
71 /* Define this if you do software codec */
72 #define CONFIG_CODEC SWCODEC
74 /* The D2 uses a WM8985 codec */
75 #define HAVE_WM8985
77 /* There is no hardware tone control */
78 /* TODO: probably need to use this */
79 //#define HAVE_SW_TONE_CONTROLS
81 /* Define this for LCD backlight available */
82 #define HAVE_BACKLIGHT
84 /* TODO: Enable LCD brightness control */
85 //#define HAVE_BACKLIGHT_BRIGHTNESS
87 /* Main LCD backlight brightness range and defaults */
88 //#define MIN_BRIGHTNESS_SETTING 1
89 //#define MAX_BRIGHTNESS_SETTING 10
90 //#define DEFAULT_BRIGHTNESS_SETTING 8
92 #define CONFIG_I2C I2C_TCC780X
94 #define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */
95 #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
96 #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
97 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
98 #define BATTERY_TYPES_COUNT 1 /* only one type */
100 /* define this if the unit should not shut down on low battery. */
101 /* TODO: this is temporary until battery monitoring implemented */
102 #define NO_LOW_BATTERY_SHUTDOWN
104 #ifndef SIMULATOR
106 /* Define this if you have a TCC7801 */
107 #define CONFIG_CPU TCC7801
109 /* Define this if you have ATA power-off control */
110 #define HAVE_ATA_POWER_OFF
112 /* Define this to the CPU frequency */
113 #define CPU_FREQ 192000000
115 /* Define this if you have adjustable CPU frequency */
116 #define HAVE_ADJUSTABLE_CPU_FREQ
118 /* Offset ( in the firmware file's header ) to the file CRC */
119 #define FIRMWARE_OFFSET_FILE_CRC 0
121 /* Offset ( in the firmware file's header ) to the real data */
122 #define FIRMWARE_OFFSET_FILE_DATA 8
124 /* Software controlled LED */
125 #define CONFIG_LED LED_VIRTUAL
127 #define CONFIG_LCD LCD_COWOND2
129 #define BOOTFILE_EXT "iaudio"
130 #define BOOTFILE "rockbox." BOOTFILE_EXT
131 #define BOOTDIR "/"
133 #endif /* SIMULATOR */