Use more formal English (passive)
[kugel-rb.git] / firmware / export / config-h10_5gb.h
blob3a52823fd5c848117615c704af12f9081d7a64b9
1 /*
2 * This config file is for the iriver H10 5/6Gb model
3 */
5 #define TARGET_TREE /* this target is using the target tree system */
7 /* For Rolo and boot loader */
8 #define MODEL_NUMBER 14
9 #define MODEL_NAME "iriver H10 5/6GB"
11 /* define this if you use an ATA controller */
12 #define CONFIG_STORAGE STORAGE_ATA
14 /* define this if you have recording possibility */
15 #define HAVE_RECORDING
16 /* Define bitmask of input sources - recordable bitmask can be defined
17 explicitly if different */
18 #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO)
20 /* define the bitmask of hardware sample rates */
21 #define HW_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
22 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8)
24 /* define the bitmask of recording sample rates */
25 #define REC_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
26 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8)
28 /* define this if you have a bitmap LCD display */
29 #define HAVE_LCD_BITMAP
31 /* define this if you have a colour LCD */
32 #define HAVE_LCD_COLOR
34 /* define this if you want album art for this target */
35 #define HAVE_ALBUMART
37 /* define this if you have access to the quickscreen */
38 #define HAVE_QUICKSCREEN
40 /* define this if you have access to the pitchscreen */
41 #define HAVE_PITCHSCREEN
43 /* define this if you would like tagcache to build on this target */
44 #define HAVE_TAGCACHE
46 /* LCD dimensions */
47 #define LCD_WIDTH 128
48 #define LCD_HEIGHT 128
49 #define LCD_DEPTH 16 /* 65536 colours */
50 #define LCD_PIXELFORMAT RGB565SWAPPED /* rgb565 byte-swapped */
52 /*#define IRAM_LCDFRAMEBUFFER IDATA_ATTR*//* put the lcd frame buffer in IRAM */
54 #define CONFIG_KEYPAD IRIVER_H10_PAD
56 /* Define this if you do software codec */
57 #define CONFIG_CODEC SWCODEC
59 /* define this if you have a real-time clock */
60 #ifndef BOOTLOADER
61 #define CONFIG_RTC RTC_E8564
62 #define HAVE_RTC_ALARM
63 #endif
65 /* Define this if you have a software controlled poweroff */
66 #define HAVE_SW_POWEROFF
68 /* The number of bytes reserved for loadable codecs */
69 #define CODEC_SIZE 0x100000
71 /* The number of bytes reserved for loadable plugins */
72 #define PLUGIN_BUFFER_SIZE 0x80000
74 /* Define this if you have the WM8731 audio codec */
75 #define HAVE_WM8731
77 /* WM8731 has no tone controls, so we use the software ones */
78 #define HAVE_SW_TONE_CONTROLS
80 #define AB_REPEAT_ENABLE 1
82 /* FM Tuner */
83 #define CONFIG_TUNER TEA5767
84 #define CONFIG_TUNER_XTAL 32768
86 /* define this if you have a disk storage, i.e. something
87 that needs spinups and can cause skips when shaked */
88 #define HAVE_DISK_STORAGE
90 /* Define this for LCD backlight available */
91 #define HAVE_BACKLIGHT
93 #define AB_REPEAT_ENABLE 1
95 #define BATTERY_CAPACITY_DEFAULT 820 /* default battery capacity */
96 #define BATTERY_CAPACITY_MIN 700 /* min. capacity selectable */
97 #define BATTERY_CAPACITY_MAX 900 /* max. capacity selectable */
98 #define BATTERY_CAPACITY_INC 10 /* capacity increment */
99 #define BATTERY_TYPES_COUNT 1 /* only one type */
101 /* Hardware controlled charging */
102 #define CONFIG_CHARGING CHARGING_SIMPLE
104 /* define this if the unit can be powered or charged via USB */
105 #define HAVE_USB_POWER
107 #ifndef SIMULATOR
109 /* Define this if you have a PortalPlayer PP5020 */
110 #define CONFIG_CPU PP5020
112 /* Define this if you want to use the PP5020 i2c interface */
113 #define CONFIG_I2C I2C_PP5020
115 /* define this if the hardware can be powered off while charging */
116 #define HAVE_POWEROFF_WHILE_CHARGING
118 /* The start address index for ROM builds */
119 #define ROM_START 0x00000000
121 /* The size of the flash ROM */
122 #define FLASH_SIZE 0x100000
124 /* Define this to the CPU frequency */
125 /* TODO: this is probably wrong */
126 #define CPU_FREQ 75000000
128 /* Type of LCD */
129 #define CONFIG_LCD LCD_H10_5GB
131 /* We're able to shut off power to the HDD */
132 #define HAVE_ATA_POWER_OFF
134 /* Offset ( in the firmware file's header ) to the file length */
135 #define FIRMWARE_OFFSET_FILE_LENGTH 0x8
137 /* Offset ( in the firmware file's header ) to the file CRC and data. These are
138 only used when loading the old format rockbox.h10 file */
139 #define FIRMWARE_OFFSET_FILE_CRC 0x0
140 #define FIRMWARE_OFFSET_FILE_DATA 0x8
142 /* USB On-the-go */
143 #define CONFIG_USBOTG USBOTG_ARC
145 /* enable these for the experimental usb stack */
146 #define HAVE_USBSTACK
147 #define USE_ROCKBOX_USB
148 #define USB_VENDOR_ID 0x0B70
149 #define USB_PRODUCT_ID 0x00BA
151 /* Virtual LED (icon) */
152 #define CONFIG_LED LED_VIRTUAL
154 /* Define this if you have adjustable CPU frequency */
155 #define HAVE_ADJUSTABLE_CPU_FREQ
157 #define MI4_FORMAT
158 #define BOOTFILE_EXT "mi4"
159 #define BOOTFILE "rockbox." BOOTFILE_EXT
160 #define OLD_BOOTFILE "rockbox.h10"
161 #define BOOTDIR "/.rockbox"
163 #define ICODE_ATTR_TREMOR_NOT_MDCT
165 #endif