From f3e11d8f746660fe14bfc9afcddce51f43ade92c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 11 Apr 2002 11:22:48 +0000 Subject: 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 --- firmware/CONFIG | 16 ++++++++++++++++ firmware/config-player.h | 3 +++ firmware/config-playerold.h | 3 +++ firmware/config-recorder.h | 5 +++++ firmware/config.h | 28 ++++++++++++++++++++++++++++ 5 files changed, 55 insertions(+) create mode 100644 firmware/CONFIG create mode 100644 firmware/config-player.h create mode 100644 firmware/config-playerold.h create mode 100644 firmware/config-recorder.h create mode 100644 firmware/config.h (limited to 'firmware') diff --git a/firmware/CONFIG b/firmware/CONFIG new file mode 100644 index 0000000000..bb10c8a7b9 --- /dev/null +++ b/firmware/CONFIG @@ -0,0 +1,16 @@ +/* + * Config template file. Contains and describes all possibile config + * items. Don't actually use this file, this is plain documentation. + */ + +/* define this if you have recording possibility */ +#define HAVE_RECORDING 1 + +/* define this if you have a bitmap LCD display */ +#define HAVE_LCD_BITMAP 1 + +/* define this if you have a charcell LCD display */ +#define HAVE_LCD_CHARCELLS 1 + +/* define this if you compile a simulator (no actual HW) */ +#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 @@ +/* define this if you have a charcell LCD display */ +#define HAVE_LCD_CHARCELLS 1 + 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 @@ +/* define this if you have a charcell LCD display */ +#define HAVE_LCD_CHARCELLS 1 + 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 @@ +/* define this if you have recording possibility */ +#define HAVE_RECORDING 1 + +/* define this if you have a bitmap LCD display */ +#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 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Copyright (C) 2002 by Daniel Stenberg + * + * All files in this archive are subject to the GNU General Public License. + * See the file COPYING in the source tree root for full license agreement. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ + +#if defined(ARCHOS_PLAYER) +#include "config-player.h" +#elsif definfed(ARCHOS_PLAYER_OLD) +#include "config-playerold.h" +#elsif definfed(ARCHOS_RECORDER) +#include "config-recorder.h" +#else +/* no known platform */ +#endif -- cgit v1.2.3