summaryrefslogtreecommitdiff
path: root/firmware/export/config-iaudiom5.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2009-06-12 18:53:44 +0000
committerJens Arnold <amiconn@rockbox.org>2009-06-12 18:53:44 +0000
commit81b87fe13d6b5f0e8bafd0810f5f8aca2a57bde3 (patch)
tree3372bcdbc512e2fd79350bf679fb89736e51e78a /firmware/export/config-iaudiom5.h
parent94823c65ac7555a7ed19521184064255902ff615 (diff)
downloadrockbox-81b87fe13d6b5f0e8bafd0810f5f8aca2a57bde3.tar.gz
rockbox-81b87fe13d6b5f0e8bafd0810f5f8aca2a57bde3.zip
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
Diffstat (limited to 'firmware/export/config-iaudiom5.h')
-rw-r--r--firmware/export/config-iaudiom5.h10
1 files changed, 10 insertions, 0 deletions
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 @@
16 16
17/* Define bitmask of input sources - recordable bitmask can be defined 17/* Define bitmask of input sources - recordable bitmask can be defined
18 explicitly if different */ 18 explicitly if different */
19#ifdef HAVE_FMRADIO_IN /* FM modded M5 */
20#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO)
21#else /* stock M5 */
19#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN) 22#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN)
23#endif
20 24
21/* define the bitmask of hardware sample rates */ 25/* define the bitmask of hardware sample rates */
22#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11) 26#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
@@ -109,6 +113,12 @@
109/* The number of bytes reserved for loadable plugins */ 113/* The number of bytes reserved for loadable plugins */
110#define PLUGIN_BUFFER_SIZE 0x80000 114#define PLUGIN_BUFFER_SIZE 0x80000
111 115
116#ifdef HAVE_FMRADIO_IN /* FM modded M5 */
117/* FM Tuner */
118#define CONFIG_TUNER TEA5767
119#define CONFIG_TUNER_XTAL 32768
120#endif
121
112#define HAVE_TLV320 122#define HAVE_TLV320
113 123
114/* TLV320 has no tone controls, so we use the software ones */ 124/* TLV320 has no tone controls, so we use the software ones */