summaryrefslogtreecommitdiffstats
path: root/firmware/export/config-m200v4.h
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2008-11-10 17:41:18 +0000
committerDominik Wenger <domonoky@googlemail.com>2008-11-10 17:41:18 +0000
commitb25f9033602cca2b772375d10e878e242d123fb2 (patch)
treeac4dc3203c13ed92a5969eacc9428a37bd2de47d /firmware/export/config-m200v4.h
parent871d85a8daa2764dcb1432e92d05f540b3eb78fa (diff)
downloadrockbox-b25f9033602cca2b772375d10e878e242d123fb2.tar.gz
rockbox-b25f9033602cca2b772375d10e878e242d123fb2.zip
make m200v4 build compilable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19070 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-m200v4.h')
-rw-r--r--firmware/export/config-m200v4.h30
1 files changed, 25 insertions, 5 deletions
diff --git a/firmware/export/config-m200v4.h b/firmware/export/config-m200v4.h
index 7cc2a1db31..dc127a7df9 100644
--- a/firmware/export/config-m200v4.h
+++ b/firmware/export/config-m200v4.h
@@ -11,12 +11,22 @@
/* Enable FAT16 support */
#define HAVE_FAT16SUPPORT
+#if 0 /* disabled since there is no driver (yet) */
+
+#define HW_SAMPR_CAPS (SAMPR_CAP_44)
+
/* define this if you have recording possibility */
-//#define HAVE_RECORDING
+#define HAVE_RECORDING
+
+#define REC_SAMPR_CAPS (SAMPR_CAP_22)
+#define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */
+#define REC_SAMPR_DEFAULT SAMPR_22
/* Define bitmask of input sources - recordable bitmask can be defined
explicitly if different */
-//#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_SPDIF)
+#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO)
+
+#endif
/* define this if you have a bitmap LCD display */
#define HAVE_LCD_BITMAP
@@ -66,10 +76,14 @@
#define HAVE_SW_POWEROFF
/* The number of bytes reserved for loadable codecs */
-#define CODEC_SIZE 0x38000
+#define CODEC_SIZE 0x100000
/* The number of bytes reserved for loadable plugins */
-#define PLUGIN_BUFFER_SIZE 0x10000
+#if 0 /* The plugin buffer doesn't fit in the 2MB memory */
+#define PLUGIN_BUFFER_SIZE 0x80000
+#else
+#define PLUGIN_BUFFER_SIZE 0
+#endif
#define AB_REPEAT_ENABLE 1
@@ -105,8 +119,14 @@
/* Define this if you have an AMS AS3525 */
#define CONFIG_CPU AS3525
+/* Define this if you want to use the AS3525 i2c interface */
+#define CONFIG_I2C I2C_AS3525
+
/* Define this to the CPU frequency */
-#define CPU_FREQ 120000000
+#define CPU_FREQ 250000000
+
+/* Define this if you have adjustable CPU frequency */
+#define HAVE_ADJUSTABLE_CPU_FREQ
/* Offset ( in the firmware file's header ) to the file CRC */
#define FIRMWARE_OFFSET_FILE_CRC 0