Fix typo.
[Rockbox.git] / firmware / export / config-gigabeat.h
blobba6b714a1713b8d7ea539d2716be1db88c68f314
1 /*
2 * This config file is for toshiba Gigabeat F
3 */
4 #define TARGET_TREE /* this target is using the target tree system */
6 #define TOSHIBA_GIGABEAT_F 1
8 /* For Rolo and boot loader */
9 #define MODEL_NUMBER 18
11 /* define this if you have a bitmap LCD display */
12 #define HAVE_LCD_BITMAP
14 /* define this if you have a colour LCD */
15 #define HAVE_LCD_COLOR
17 /* define this if you have access to the quickscreen */
18 #define HAVE_QUICKSCREEN
20 /* define this if you have access to the pitchscreen */
21 #define HAVE_PITCHSCREEN
23 /* define this if you would like tagcache to build on this target */
24 #define HAVE_TAGCACHE
26 /* define this if the target has volume keys which can be used in the lists */
27 #define HAVE_VOLUME_IN_LIST
29 /* LCD dimensions */
30 #define LCD_WIDTH 240
31 #define LCD_HEIGHT 320
32 #define LCD_DEPTH 16 /* 65k colours */
33 #define LCD_PIXELFORMAT RGB565 /* rgb565 */
35 /* Define this if your LCD can be enabled/disabled */
36 #define HAVE_LCD_ENABLE
38 #define CONFIG_KEYPAD GIGABEAT_PAD
40 /* Define this if you do software codec */
41 #define CONFIG_CODEC SWCODEC
43 /* define this if you have a real-time clock */
44 #define CONFIG_RTC RTC_S3C2440
46 /* Define this for LCD backlight available */
47 #define HAVE_BACKLIGHT
49 #define HAVE_BUTTON_LIGHT
51 #define HAVE_BACKLIGHT_BRIGHTNESS
53 #define HAVE_BUTTONLIGHT_BRIGHTNESS
55 /* Main LCD backlight brightness range and defaults */
56 #define MIN_BRIGHTNESS_SETTING 0 /* 0.5 mA */
57 #define MAX_DIM_BRIGHTNESS_SETTING 15 /* highest 'dimness' */
58 #define MAX_BRIGHTNESS_SETTING 63 /* 32 mA */
59 #define DEFAULT_BRIGHTNESS_SETTING 39 /* 20 mA */
60 #define DEFAULT_DIMNESS_SETTING 9 /* 5 mA */
62 /* Define this if you have a software controlled poweroff */
63 #define HAVE_SW_POWEROFF
65 /* The number of bytes reserved for loadable codecs */
66 #define CODEC_SIZE 0x80000
68 /* The number of bytes reserved for loadable plugins */
69 #define PLUGIN_BUFFER_SIZE 0x80000
71 /* Define this if you have the WM8975 audio codec */
72 #define HAVE_WM8751
74 /* Define this if you want to use the adaptive bass capibility of the 8751 */
75 /* #define USE_ADAPTIVE_BASS */
77 #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \
78 SAMPR_CAP_11)
80 #define HAVE_HEADPHONE_DETECTION
82 #define BATTERY_CAPACITY_DEFAULT 2000 /* default battery capacity */
83 #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
84 #define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
85 #define BATTERY_CAPACITY_INC 25 /* capacity increment */
86 #define BATTERY_TYPES_COUNT 1 /* only one type */
88 /* Hardware controlled charging with monitoring */
89 #define CONFIG_CHARGING CHARGING_MONITOR
91 /* define this if the unit can be powered or charged via USB */
92 #define HAVE_USB_POWER
94 #ifndef SIMULATOR
96 /* The LCD on a Gigabeat is 240x320 - it is portrait */
97 #define HAVE_PORTRAIT_LCD
99 /* Define this if you have a Motorola SCF5249 */
100 #define CONFIG_CPU S3C2440
102 /* Define this if you want to use coldfire's i2c interface */
103 #define CONFIG_I2C I2C_S3C2440
105 /* define this if the hardware can be powered off while charging */
106 #define HAVE_POWEROFF_WHILE_CHARGING
108 /* The size of the flash ROM */
109 #define FLASH_SIZE 0x400000
111 /* Define this to the CPU frequency */
112 #define CPU_FREQ 16934400
114 /* Define this if you have ATA power-off control */
115 #define HAVE_ATA_POWER_OFF
117 /* Virtual LED (icon) */
118 #define CONFIG_LED LED_VIRTUAL
120 #define CONFIG_LCD LCD_GIGABEAT
122 /* define this if the backlight can be set to a brightness */
123 #define HAVE_BACKLIGHT_SET_FADING
124 #define __BACKLIGHT_INIT
126 /* Offset ( in the firmware file's header ) to the file CRC */
127 #define FIRMWARE_OFFSET_FILE_CRC 0
129 /* Offset ( in the firmware file's header ) to the real data */
130 #define FIRMWARE_OFFSET_FILE_DATA 8
132 /* Define this if you have adjustable CPU frequency */
133 /* #define HAVE_ADJUSTABLE_CPU_FREQ */
135 #define BOOTFILE_EXT "gigabeat"
136 #define BOOTFILE "rockbox." BOOTFILE_EXT
137 #define BOOTDIR "/.rockbox"
139 #endif