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