summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-12-18 10:29:47 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-12-18 10:29:47 +0000
commitfee861747999d358e9f5f58841697c09c9ea9b4f (patch)
treeffd51ea2ca9aa7fd0e330fec6fde384d925e9e13 /firmware/export
parent417753da7d9e128971bd0032d56b495845c1c805 (diff)
downloadrockbox-fee861747999d358e9f5f58841697c09c9ea9b4f.tar.gz
rockbox-fee861747999d358e9f5f58841697c09c9ea9b4f.zip
multiple choice configuration CONFIG_BACKLIGHT instead of HAVE_BACKLIGHT, allows better control of how to do this per model
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5491 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config-fmrecorder.h2
-rw-r--r--firmware/export/config-h100.h2
-rw-r--r--firmware/export/config-player.h2
-rw-r--r--firmware/export/config-recorder.h2
-rw-r--r--firmware/export/config-recorderv2.h2
-rw-r--r--firmware/export/config.h6
6 files changed, 11 insertions, 5 deletions
diff --git a/firmware/export/config-fmrecorder.h b/firmware/export/config-fmrecorder.h
index 0903e66c6d..c20c36ea43 100644
--- a/firmware/export/config-fmrecorder.h
+++ b/firmware/export/config-fmrecorder.h
@@ -71,7 +71,7 @@
71#define HAVE_LED 71#define HAVE_LED
72 72
73/* Define this for LCD backlight available */ 73/* Define this for LCD backlight available */
74#define HAVE_BACKLIGHT 74#define CONFIG_BACKLIGHT BL_RTC /* on I2C controlled RTC port */
75 75
76/* Define this if you have a software controlled poweroff */ 76/* Define this if you have a software controlled poweroff */
77#define HAVE_SW_POWEROFF 77#define HAVE_SW_POWEROFF
diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h
index 9e56aa2c59..405e839dd5 100644
--- a/firmware/export/config-h100.h
+++ b/firmware/export/config-h100.h
@@ -25,7 +25,7 @@
25#define ROM_START 0x11010 25#define ROM_START 0x11010
26 26
27/* Define this for LCD backlight available */ 27/* Define this for LCD backlight available */
28#define HAVE_BACKLIGHT 28#define CONFIG_BACKLIGHT BL_IRIVER /* port controlled */
29 29
30/* Define this to the CPU frequency */ 30/* Define this to the CPU frequency */
31#define CPU_FREQ 11289600 31#define CPU_FREQ 11289600
diff --git a/firmware/export/config-player.h b/firmware/export/config-player.h
index 5a8f080669..6ef61234ad 100644
--- a/firmware/export/config-player.h
+++ b/firmware/export/config-player.h
@@ -64,6 +64,6 @@
64#define HAVE_LED 64#define HAVE_LED
65 65
66/* Define this for LCD backlight available */ 66/* Define this for LCD backlight available */
67#define HAVE_BACKLIGHT 67#define CONFIG_BACKLIGHT BL_PA14_LO /* port PA14, low active */
68 68
69#endif /* SIMULATOR */ 69#endif /* SIMULATOR */
diff --git a/firmware/export/config-recorder.h b/firmware/export/config-recorder.h
index eefe5e371b..79fd116d4f 100644
--- a/firmware/export/config-recorder.h
+++ b/firmware/export/config-recorder.h
@@ -65,7 +65,7 @@
65#define HAVE_LED 65#define HAVE_LED
66 66
67/* Define this for LCD backlight available */ 67/* Define this for LCD backlight available */
68#define HAVE_BACKLIGHT 68#define CONFIG_BACKLIGHT BL_RTC /* on I2C controlled RTC port */
69 69
70/* Define this for S/PDIF output available */ 70/* Define this for S/PDIF output available */
71#define HAVE_SPDIF_OUT 71#define HAVE_SPDIF_OUT
diff --git a/firmware/export/config-recorderv2.h b/firmware/export/config-recorderv2.h
index 575a88fd7c..028a27095c 100644
--- a/firmware/export/config-recorderv2.h
+++ b/firmware/export/config-recorderv2.h
@@ -71,7 +71,7 @@
71#define HAVE_LED 71#define HAVE_LED
72 72
73/* Define this for LCD backlight available */ 73/* Define this for LCD backlight available */
74#define HAVE_BACKLIGHT 74#define CONFIG_BACKLIGHT BL_RTC /* on I2C controlled RTC port */
75 75
76/* Define this if you have a software controlled poweroff */ 76/* Define this if you have a software controlled poweroff */
77#define HAVE_SW_POWEROFF 77#define HAVE_SW_POWEROFF
diff --git a/firmware/export/config.h b/firmware/export/config.h
index cda5c8cee7..7c0e285bbe 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -46,6 +46,12 @@
46#define BATT_4AA_NIMH 1500 46#define BATT_4AA_NIMH 1500
47#define BATT_3AAA_ALKALINE 1000 47#define BATT_3AAA_ALKALINE 1000
48 48
49/* CONFIG_BACKLIGHT */
50#define BL_PA14_LO 0 /* Player, PA14 low active */
51#define BL_RTC 1 /* Recorder, RTC square wave output */
52#define BL_PA14_HI 2 /* Ondio, PA14 high active */
53#define BL_IRIVER 3 /* IRiver GPIO */
54
49/* now go and pick yours */ 55/* now go and pick yours */
50#if defined(ARCHOS_PLAYER) 56#if defined(ARCHOS_PLAYER)
51#include "config-player.h" 57#include "config-player.h"