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.h40
1 files changed, 19 insertions, 21 deletions
diff --git a/firmware/export/config-gigabeat.h b/firmware/export/config-gigabeat.h
index 38be0d078f..319ad4e916 100644
--- a/firmware/export/config-gigabeat.h
+++ b/firmware/export/config-gigabeat.h
@@ -32,6 +32,9 @@
32#define LCD_DEPTH 16 /* 65k colours */ 32#define LCD_DEPTH 16 /* 65k colours */
33#define LCD_PIXELFORMAT RGB565 /* rgb565 */ 33#define LCD_PIXELFORMAT RGB565 /* rgb565 */
34 34
35/* Define this if your LCD can be enabled/disabled */
36#define HAVE_LCD_ENABLE
37
35#define CONFIG_KEYPAD GIGABEAT_PAD 38#define CONFIG_KEYPAD GIGABEAT_PAD
36 39
37/* Define this if you do software codec */ 40/* Define this if you do software codec */
@@ -71,38 +74,38 @@
71/* Define this if you want to use the adaptive bass capibility of the 8751 */ 74/* Define this if you want to use the adaptive bass capibility of the 8751 */
72/* #define USE_ADAPTIVE_BASS */ 75/* #define USE_ADAPTIVE_BASS */
73 76
74#define BATTERY_CAPACITY_DEFAULT 2000 /* default battery capacity */
75
76#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \ 77#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \
77 SAMPR_CAP_11) 78 SAMPR_CAP_11)
78 79
79#ifndef SIMULATOR 80#define HAVE_HEADPHONE_DETECTION
80
81/* Define this if your LCD can be enabled/disabled */
82#define HAVE_LCD_ENABLE
83
84/* The LCD on a Gigabeat is 240x320 - it is portrait */
85#define HAVE_PORTRAIT_LCD
86
87/* Define this if you have a Motorola SCF5249 */
88#define CONFIG_CPU S3C2440
89
90/* Define this if you want to use coldfire's i2c interface */
91#define CONFIG_I2C I2C_S3C2440
92 81
93/* Type of mobile power - check this out */ 82/* Type of mobile power - check this out */
94#define CONFIG_BATTERY BATT_LIION830 /* could change this later */ 83#define CONFIG_BATTERY BATT_LIION830 /* could change this later */
84#define BATTERY_CAPACITY_DEFAULT 2000 /* default battery capacity */
95#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */ 85#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
96#define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */ 86#define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
97#define BATTERY_CAPACITY_INC 25 /* capacity increment */ 87#define BATTERY_CAPACITY_INC 25 /* capacity increment */
98#define BATTERY_TYPES_COUNT 1 /* only one type */ 88#define BATTERY_TYPES_COUNT 1 /* only one type */
99
100/* ADC[0] is (530) at discharge and 625 at full charge */ 89/* ADC[0] is (530) at discharge and 625 at full charge */
101#define BATTERY_SCALE_FACTOR 6450 90#define BATTERY_SCALE_FACTOR 6450
102 91
103/* Hardware controlled charging with monitoring */ 92/* Hardware controlled charging with monitoring */
104#define CONFIG_CHARGING CHARGING_MONITOR 93#define CONFIG_CHARGING CHARGING_MONITOR
105 94
95/* define this if the unit can be powered or charged via USB */
96#define HAVE_USB_POWER
97
98#ifndef SIMULATOR
99
100/* The LCD on a Gigabeat is 240x320 - it is portrait */
101#define HAVE_PORTRAIT_LCD
102
103/* Define this if you have a Motorola SCF5249 */
104#define CONFIG_CPU S3C2440
105
106/* Define this if you want to use coldfire's i2c interface */
107#define CONFIG_I2C I2C_S3C2440
108
106/* define this if the hardware can be powered off while charging */ 109/* define this if the hardware can be powered off while charging */
107#define HAVE_POWEROFF_WHILE_CHARGING 110#define HAVE_POWEROFF_WHILE_CHARGING
108 111
@@ -112,9 +115,6 @@
112/* Define this to the CPU frequency */ 115/* Define this to the CPU frequency */
113#define CPU_FREQ 16934400 116#define CPU_FREQ 16934400
114 117
115/* define this if the unit can be powered or charged via USB */
116#define HAVE_USB_POWER
117
118/* Define this if you have ATA power-off control */ 118/* Define this if you have ATA power-off control */
119#define HAVE_ATA_POWER_OFF 119#define HAVE_ATA_POWER_OFF
120 120
@@ -133,8 +133,6 @@
133/* Offset ( in the firmware file's header ) to the real data */ 133/* Offset ( in the firmware file's header ) to the real data */
134#define FIRMWARE_OFFSET_FILE_DATA 8 134#define FIRMWARE_OFFSET_FILE_DATA 8
135 135
136#define HAVE_HEADPHONE_DETECTION
137
138/* Define this if you have adjustable CPU frequency */ 136/* Define this if you have adjustable CPU frequency */
139/* #define HAVE_ADJUSTABLE_CPU_FREQ */ 137/* #define HAVE_ADJUSTABLE_CPU_FREQ */
140 138