summaryrefslogtreecommitdiff
path: root/firmware/export/config-gigabeat-s.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-04-12 16:56:45 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-04-12 16:56:45 +0000
commita7af9e4a7f25f5a32306c74e95a677e6c85f399e (patch)
tree5df60e8382b69cf943840852269ea9387d42ea46 /firmware/export/config-gigabeat-s.h
parentddfd787c54d78104dac4ed144ff6cb6df8617a0e (diff)
downloadrockbox-a7af9e4a7f25f5a32306c74e95a677e6c85f399e.tar.gz
rockbox-a7af9e4a7f25f5a32306c74e95a677e6c85f399e.zip
Add GPIO manager. Get the PMIC interrupt handling working (along with power button and HP detect). Add some reg field defined instead of using raw numbers. Add PMIC info to debug ports screen. Refine PMIC driver ops a little bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17086 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-gigabeat-s.h')
-rw-r--r--firmware/export/config-gigabeat-s.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/config-gigabeat-s.h b/firmware/export/config-gigabeat-s.h
index 09f5e18ecc..3fc226ae59 100644
--- a/firmware/export/config-gigabeat-s.h
+++ b/firmware/export/config-gigabeat-s.h
@@ -73,6 +73,8 @@
73#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \ 73#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \
74 SAMPR_CAP_11) 74 SAMPR_CAP_11)
75 75
76#define HAVE_HEADPHONE_DETECTION
77
76#ifndef SIMULATOR 78#ifndef SIMULATOR
77 79
78/* The LCD on a Gigabeat is 240x320 - it is portrait */ 80/* The LCD on a Gigabeat is 240x320 - it is portrait */
@@ -86,6 +88,9 @@
86/* Define the bitmask of serial interface modules (CSPI) used */ 88/* Define the bitmask of serial interface modules (CSPI) used */
87#define SPI_MODULE_MASK (USE_CSPI2_MODULE) 89#define SPI_MODULE_MASK (USE_CSPI2_MODULE)
88 90
91/* Define this if target has an additional number of threads specific to it */
92#define TARGET_EXTRA_THREADS 1
93
89/* Type of mobile power - check this out */ 94/* Type of mobile power - check this out */
90#define BATTERY_CAPACITY_DEFAULT 2000 /* default battery capacity */ 95#define BATTERY_CAPACITY_DEFAULT 2000 /* default battery capacity */
91#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */ 96#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */