From 81b87fe13d6b5f0e8bafd0810f5f8aca2a57bde3 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Fri, 12 Jun 2009 18:53:44 +0000 Subject: Add iAudio M5 FM radio mod to the advanced build options. * Unify iAudio audio driver, fmradio i2c driver, and power driver (M5 + X5 only). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21264 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-iaudiom5.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'firmware/export/config-iaudiom5.h') diff --git a/firmware/export/config-iaudiom5.h b/firmware/export/config-iaudiom5.h index 0df8414fe9..5d86087d44 100644 --- a/firmware/export/config-iaudiom5.h +++ b/firmware/export/config-iaudiom5.h @@ -16,7 +16,11 @@ /* Define bitmask of input sources - recordable bitmask can be defined explicitly if different */ +#ifdef HAVE_FMRADIO_IN /* FM modded M5 */ +#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO) +#else /* stock M5 */ #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN) +#endif /* define the bitmask of hardware sample rates */ #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11) @@ -109,6 +113,12 @@ /* The number of bytes reserved for loadable plugins */ #define PLUGIN_BUFFER_SIZE 0x80000 +#ifdef HAVE_FMRADIO_IN /* FM modded M5 */ +/* FM Tuner */ +#define CONFIG_TUNER TEA5767 +#define CONFIG_TUNER_XTAL 32768 +#endif + #define HAVE_TLV320 /* TLV320 has no tone controls, so we use the software ones */ -- cgit v1.2.3