summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-04-11 11:22:48 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-04-11 11:22:48 +0000
commitf3e11d8f746660fe14bfc9afcddce51f43ade92c (patch)
tree649afd6836ad850288cfc8c175e8f72a4c434348 /firmware
parent00b26e63fcd6c1141447ae8418fcb7848261303f (diff)
downloadrockbox-f3e11d8f746660fe14bfc9afcddce51f43ade92c.tar.gz
rockbox-f3e11d8f746660fe14bfc9afcddce51f43ade92c.zip
new system to set which box and which features the box has
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@73 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/CONFIG16
-rw-r--r--firmware/config-player.h3
-rw-r--r--firmware/config-playerold.h3
-rw-r--r--firmware/config-recorder.h5
-rw-r--r--firmware/config.h28
5 files changed, 55 insertions, 0 deletions
diff --git a/firmware/CONFIG b/firmware/CONFIG
new file mode 100644
index 0000000000..bb10c8a7b9
--- /dev/null
+++ b/firmware/CONFIG
@@ -0,0 +1,16 @@
1/*
2 * Config template file. Contains and describes all possibile config
3 * items. Don't actually use this file, this is plain documentation.
4 */
5
6/* define this if you have recording possibility */
7#define HAVE_RECORDING 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 charcell LCD display */
13#define HAVE_LCD_CHARCELLS 1
14
15/* define this if you compile a simulator (no actual HW) */
16#define SIMULATOR 1
diff --git a/firmware/config-player.h b/firmware/config-player.h
new file mode 100644
index 0000000000..42c86fcdec
--- /dev/null
+++ b/firmware/config-player.h
@@ -0,0 +1,3 @@
1/* define this if you have a charcell LCD display */
2#define HAVE_LCD_CHARCELLS 1
3
diff --git a/firmware/config-playerold.h b/firmware/config-playerold.h
new file mode 100644
index 0000000000..42c86fcdec
--- /dev/null
+++ b/firmware/config-playerold.h
@@ -0,0 +1,3 @@
1/* define this if you have a charcell LCD display */
2#define HAVE_LCD_CHARCELLS 1
3
diff --git a/firmware/config-recorder.h b/firmware/config-recorder.h
new file mode 100644
index 0000000000..0a1279d9c8
--- /dev/null
+++ b/firmware/config-recorder.h
@@ -0,0 +1,5 @@
1/* define this if you have recording possibility */
2#define HAVE_RECORDING 1
3
4/* define this if you have a bitmap LCD display */
5#define HAVE_LCD_BITMAP 1
diff --git a/firmware/config.h b/firmware/config.h
new file mode 100644
index 0000000000..e3e55e2529
--- /dev/null
+++ b/firmware/config.h
@@ -0,0 +1,28 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2002 by Daniel Stenberg
11 *
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19
20#if defined(ARCHOS_PLAYER)
21#include "config-player.h"
22#elsif definfed(ARCHOS_PLAYER_OLD)
23#include "config-playerold.h"
24#elsif definfed(ARCHOS_RECORDER)
25#include "config-recorder.h"
26#else
27/* no known platform */
28#endif