summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2012-05-10 18:29:43 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2012-05-12 13:09:06 +0200
commit1d21e54fc4f586bbdfb765c90c9a64c060eeecc4 (patch)
treeb6eb135bd7136781bda7c5d2d9ce08b3d74d78eb /firmware/export
parent2202ed35351c30af6ce157002e5cb072b0b66a69 (diff)
downloadrockbox-1d21e54fc4f586bbdfb765c90c9a64c060eeecc4.tar.gz
rockbox-1d21e54fc4f586bbdfb765c90c9a64c060eeecc4.zip
fuze+: add RDS support
I successfully identified the STC/RDS pin as B2P27. Strangely the OF uses polling instead of interrupts but since they routed it, let's use it! On the fuze+ the fmradio i2c uses bit toggling so we can't read the RDS data in the interrupt context. Instead we defer the work to a thread. Change-Id: Iedfa425320e6c91b4351b72e97c732696bdb2b73 Reviewed-on: http://gerrit.rockbox.org/236 Reviewed-by: Bertrik Sikken <bertrik@sikken.nl> Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config/sansafuzeplus.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/export/config/sansafuzeplus.h b/firmware/export/config/sansafuzeplus.h
index 9d7b9bf756..810cc1d6a1 100644
--- a/firmware/export/config/sansafuzeplus.h
+++ b/firmware/export/config/sansafuzeplus.h
@@ -77,6 +77,7 @@
77#define HAVE_IMX233_CODEC 77#define HAVE_IMX233_CODEC
78 78
79#define CONFIG_TUNER SI4700 79#define CONFIG_TUNER SI4700
80#define HAVE_RDS_CAP
80 81
81/* There is no hardware tone control */ 82/* There is no hardware tone control */
82#define HAVE_SW_TONE_CONTROLS 83#define HAVE_SW_TONE_CONTROLS
@@ -129,8 +130,8 @@
129#define NUM_DRIVES 2 130#define NUM_DRIVES 2
130#define HAVE_HOTSWAP 131#define HAVE_HOTSWAP
131 132
132/* Extra threads: touchpad */ 133/* Extra threads: touchpad and rds */
133#define TARGET_EXTRA_THREADS 1 134#define TARGET_EXTRA_THREADS 2
134 135
135/* todo */ 136/* todo */
136#define BATTERY_CAPACITY_DEFAULT 550 /* default battery capacity */ 137#define BATTERY_CAPACITY_DEFAULT 550 /* default battery capacity */