Correct beast manual install instructions in Windows.
[kugel-rb.git] / firmware / export / config-yh925.h
blob411911867838817f2d7a1f82710eba9f019c0539
1 /*
2 * This config file is for the Samsung YH-925
3 */
5 #define TARGET_TREE /* this target is using the target tree system */
7 /* For Rolo and boot loader */
8 #define MODEL_NUMBER 59
9 #define MODEL_NAME "Samsung YH-925"
11 /* define this if you have recording possibility */
12 /* todo #define HAVE_RECORDING */
14 /* Define bitmask of input sources - recordable bitmask can be defined
15 explicitly if different */
16 #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN )
18 /* define the bitmask of hardware sample rates */
19 #define HW_SAMPR_CAPS (SAMPR_CAP_48 | SAMPR_CAP_44 | SAMPR_CAP_32 | \
20 SAMPR_CAP_24 | SAMPR_CAP_22 | SAMPR_CAP_16 | \
21 SAMPR_CAP_11 | SAMPR_CAP_8)
23 /* define the bitmask of recording sample rates */
24 #define REC_SAMPR_CAPS (SAMPR_CAP_48 | SAMPR_CAP_44 | SAMPR_CAP_32 | \
25 SAMPR_CAP_24 | SAMPR_CAP_22 | SAMPR_CAP_16 | \
26 SAMPR_CAP_11 | SAMPR_CAP_8)
28 /* Type of LCD */
29 #define CONFIG_LCD LCD_YH925
31 /* LCD dimensions */
32 #define LCD_WIDTH 160
33 #define LCD_HEIGHT 128
34 #define LCD_DEPTH 16 /* 65536 colours */
35 #define LCD_PIXELFORMAT RGB565
37 /* todo */
38 /* #ifndef BOOTLOADER */
39 #if 0
40 /* Define this if your LCD can be enabled/disabled */
41 #define HAVE_LCD_ENABLE
43 /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
44 * should be defined as well.
45 * We can currently put the lcd to sleep but it won't wake up properly */
46 #define HAVE_LCD_SLEEP
47 #define HAVE_LCD_SLEEP_SETTING
48 #endif
50 /* Define this for LCD backlight available */
51 #define HAVE_BACKLIGHT
53 /* Define this if your LCD can set contrast */
54 #define HAVE_LCD_CONTRAST
56 #define MIN_CONTRAST_SETTING 0
57 #define MAX_CONTRAST_SETTING 30
58 #define DEFAULT_CONTRAST_SETTING 14 /* Match boot contrast */
60 /* define this if you can flip your LCD */
61 #define HAVE_LCD_FLIP
63 /* define this if you can invert the colours on your LCD */
64 /* todo #define HAVE_LCD_INVERT */
66 /* put the lcd frame buffer in IRAM */
67 /* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR */
69 /* define this if you have a bitmap LCD display */
70 #define HAVE_LCD_BITMAP
72 /* define this if you have a colour LCD */
73 #define HAVE_LCD_COLOR
75 /* define this if you want album art for this target */
76 #define HAVE_ALBUMART
78 /* define this to enable bitmap scaling */
79 #define HAVE_BMP_SCALING
81 /* define this to enable JPEG decoding */
82 #define HAVE_JPEG
84 /* define this if you have access to the quickscreen */
85 #define HAVE_QUICKSCREEN
87 /* define this if you have access to the pitchscreen */
88 #define HAVE_PITCHSCREEN
90 /* define this if you would like tagcache to build on this target */
91 #define HAVE_TAGCACHE
93 #define CONFIG_KEYPAD SAMSUNG_YH_PAD
95 /* Define this if you do software codec */
96 #define CONFIG_CODEC SWCODEC
98 /* define this if you have a real-time clock */
99 #ifndef BOOTLOADER
100 #define CONFIG_RTC RTC_E8564
101 /* TODO */
102 //#define HAVE_RTC_ALARM
103 #endif
105 /* define this if you have a disk storage, i.e. something
106 that needs spinups and can cause skips when shaked */
107 #define HAVE_DISK_STORAGE
109 /* define this if you use an ATA controller */
110 #define CONFIG_STORAGE STORAGE_ATA
112 /* We're able to shut off power to the HDD */
113 #ifndef SIMULATOR
114 /* todo #define HAVE_ATA_POWER_OFF */
115 #endif
117 /* Define this if you have a software controlled poweroff */
118 #define HAVE_SW_POWEROFF
120 /* The number of bytes reserved for loadable codecs */
121 #define CODEC_SIZE 0x100000
123 /* The number of bytes reserved for loadable plugins */
124 #define PLUGIN_BUFFER_SIZE 0x80000
126 /* Define this if you have the AK4537 audio codec */
127 #define HAVE_AK4537
129 /* AK4537 has no tone controls, so we use the software ones */
130 #define HAVE_SW_TONE_CONTROLS
132 #define AB_REPEAT_ENABLE 1
134 #define BATTERY_CAPACITY_DEFAULT 900 /* default battery capacity */
135 #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
136 #define BATTERY_CAPACITY_MAX 1150 /* max. capacity selectable */
137 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
138 #define BATTERY_TYPES_COUNT 1 /* only one type */
140 /* Hardware controlled charging */
141 #define CONFIG_CHARGING CHARGING_SIMPLE
143 /* define this if the unit can be powered or charged via USB */
144 #define HAVE_USB_POWER
146 #ifndef SIMULATOR
148 /* Define this if you have a PortalPlayer PP5020 */
149 #define CONFIG_CPU PP5020
151 /* Define this if you want to use the PP5020 i2c interface */
152 #define CONFIG_I2C I2C_PP5020
154 /* define this if the hardware can be powered off while charging */
155 #define HAVE_POWEROFF_WHILE_CHARGING
157 /* The start address index for ROM builds */
158 #define ROM_START 0x00000000
160 /* The size of the flash ROM */
161 #define FLASH_SIZE 0x100000
163 /* Define this to the CPU frequency */
164 #define CPU_FREQ 75000000
166 /* USB On-the-go */
167 #define CONFIG_USBOTG USBOTG_ARC
169 /* enable these for the experimental usb stack */
170 #define HAVE_USBSTACK
171 #define USE_ROCKBOX_USB
172 /* todo - check */
173 #define USB_VENDOR_ID 0x04e8
174 #define USB_PRODUCT_ID 0x5024
176 /* Define this if you have adjustable CPU frequency */
177 #define HAVE_ADJUSTABLE_CPU_FREQ
179 #define MI4_FORMAT
180 #define BOOTFILE_EXT "mi4"
181 #define BOOTFILE "rockbox." BOOTFILE_EXT
182 #define BOOTDIR "/.rockbox"
184 /* Offset ( in the firmware file's header ) to the file CRC */
185 #define FIRMWARE_OFFSET_FILE_CRC 0x00
187 /* Offset ( in the firmware file's header ) to the real data */
188 #define FIRMWARE_OFFSET_FILE_DATA 0x00
190 #define ICODE_ATTR_TREMOR_NOT_MDCT
192 #endif /* !SIMULATOR */