summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/system-as3525.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2009-11-01 22:51:31 +0000
committerRafaël Carré <rafael.carre@gmail.com>2009-11-01 22:51:31 +0000
commit9b4057bbd43dfeaf69785605407e4625f01be069 (patch)
tree5d37bbedfcef2527629b1aae0ed184187832aaab /firmware/target/arm/as3525/system-as3525.c
parent6cdb80d7df997d3220efe03ea6779ba2c81ddf79 (diff)
downloadrockbox-9b4057bbd43dfeaf69785605407e4625f01be069.tar.gz
rockbox-9b4057bbd43dfeaf69785605407e4625f01be069.zip
Sansa AMS recording support (Microphone and FM)
Still disabled on all targets: - Fuze and e200v2 see spurious interrupts with no source defined - Clip/m200v4 deadlock instantly when starting recording (perhaps due to low memory size) Having the code in SVN will make working on this feature easier Also add keymaps for Fuze, and correct Frequency section of recording options : the 22.05kHz limitation of e200v1 and c200v1 doesn't apply to Sansa AMS (different I2S hardware, unrelated to as3514) Flyspray: FS#10371 Authors: Fred Bauer and myself git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23476 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/system-as3525.c')
-rw-r--r--firmware/target/arm/as3525/system-as3525.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c
index dc335dfaad..5f01ed2dee 100644
--- a/firmware/target/arm/as3525/system-as3525.c
+++ b/firmware/target/arm/as3525/system-as3525.c
@@ -20,6 +20,7 @@
20 * 20 *
21 ****************************************************************************/ 21 ****************************************************************************/
22 22
23#include "config.h"
23#include "kernel.h" 24#include "kernel.h"
24#include "system.h" 25#include "system.h"
25#include "panic.h" 26#include "panic.h"
@@ -113,6 +114,9 @@ struct vec_int_src vec_int_srcs[] =
113 { INT_SRC_MCI0, INT_MCI0 }, 114 { INT_SRC_MCI0, INT_MCI0 },
114 { INT_SRC_GPIOA, INT_GPIOA, }, 115 { INT_SRC_GPIOA, INT_GPIOA, },
115 { INT_SRC_GPIOB, INT_GPIOB, }, 116 { INT_SRC_GPIOB, INT_GPIOB, },
117#ifdef HAVE_RECORDING
118 { INT_SRC_I2SIN, INT_I2SIN, },
119#endif
116}; 120};
117 121
118static void setup_vic(void) 122static void setup_vic(void)