summaryrefslogtreecommitdiff
path: root/firmware/export/config-gigabeat.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config-gigabeat.h')
-rw-r--r--firmware/export/config-gigabeat.h94
1 files changed, 94 insertions, 0 deletions
diff --git a/firmware/export/config-gigabeat.h b/firmware/export/config-gigabeat.h
new file mode 100644
index 0000000000..db99bf5d57
--- /dev/null
+++ b/firmware/export/config-gigabeat.h
@@ -0,0 +1,94 @@
1/*
2 * This config file is for toshiba Gigabeat F
3 */
4#define TOSHIBA_GIGABEAT_F 1
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 1
8
9/* define this if you have a bitmap LCD display */
10#define HAVE_LCD_BITMAP 1
11
12/* define this if you have a colour LCD */
13#define HAVE_LCD_COLOR 1
14
15/* LCD dimensions */
16#define LCD_WIDTH 240
17#define LCD_HEIGHT 320
18#define LCD_DEPTH 16 /* 65k colours */
19#define LCD_PIXELFORMAT RGB565 /* rgb565 */
20
21
22#define CONFIG_KEYPAD GIGABEAT_PAD
23
24/* Define this if you do software codec */
25#define CONFIG_CODEC SWCODEC
26
27/* define this if you have a real-time clock */
28//#define CONFIG_RTC RTC_PCF50606
29
30/* Define this for LCD backlight available */
31#define CONFIG_BACKLIGHT BL_GIGABEAT /* port controlled PWM */
32
33/* Define this if you have a software controlled poweroff */
34#define HAVE_SW_POWEROFF
35
36/* The number of bytes reserved for loadable codecs */
37#define CODEC_SIZE 0x80000
38
39/* The number of bytes reserved for loadable plugins */
40#define PLUGIN_BUFFER_SIZE 0x80000
41
42/* Define this if you have the WM8975 audio codec */
43#define HAVE_WM8751
44
45#ifndef SIMULATOR
46
47/* Define this if you have a Motorola SCF5249 */
48#define CONFIG_CPU S3C2440
49
50/* Define this if you want to use coldfire's i2c interface */
51#define CONFIG_I2C I2C_S3C2440
52
53/* Type of mobile power */
54#define CONFIG_BATTERY BATT_LIPOL1300
55
56#define BATTERY_SCALE_FACTOR 23437 /* FIX: this value is picked at random */
57
58/* Define this if the platform can charge batteries */
59#define HAVE_CHARGING 1
60
61/* define this if the hardware can be powered off while charging */
62#define HAVE_POWEROFF_WHILE_CHARGING
63
64/* The size of the flash ROM */
65#define FLASH_SIZE 0x400000
66
67/* Define this to the CPU frequency */
68#define CPU_FREQ 16934400
69
70/* Define this if you have ATA power-off control */
71#define HAVE_ATA_POWER_OFF
72
73/* Virtual LED (icon) */
74#define CONFIG_LED LED_VIRTUAL
75
76#define CONFIG_LCD LCD_GIGABEAT
77
78/* Offset ( in the firmware file's header ) to the file CRC */
79#define FIRMWARE_OFFSET_FILE_CRC 0
80
81/* Offset ( in the firmware file's header ) to the real data */
82#define FIRMWARE_OFFSET_FILE_DATA 8
83
84#define USB_IRIVERSTYLE
85
86/* Define this if you have adjustable CPU frequency */
87#define HAVE_ADJUSTABLE_CPU_FREQ
88
89#define BOOTFILE_EXT "gigabeat"
90#define BOOTFILE "rockbox." BOOTFILE_EXT
91
92#define HAVE_BACKLIGHT_BRIGHTNESS
93
94#endif