diff options
author | Nils Wallménius <nils@rockbox.org> | 2007-08-12 19:49:03 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2007-08-12 19:49:03 +0000 |
commit | f28da1a35a6403b153f93f66e3d96e485f89c363 (patch) | |
tree | 760d0c286a65042e18e2165ff555be0d40e80558 /firmware/export/config-gigabeat.h | |
parent | 90c40b7fea0275e212addf3ae6ac6979f5b4585b (diff) | |
download | rockbox-f28da1a35a6403b153f93f66e3d96e485f89c363.tar.gz rockbox-f28da1a35a6403b153f93f66e3d96e485f89c363.zip |
Enable a lot more features for simulators and add stubs where necessary, simulators should now work with identical lng and voice files as the respective target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14299 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-gigabeat.h')
-rw-r--r-- | firmware/export/config-gigabeat.h | 40 |
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 | ||