Index: firmware/export/config-fuze.h =================================================================== --- firmware/export/config-fuze.h (Revision 19457) +++ firmware/export/config-fuze.h (Arbeitskopie) @@ -19,8 +19,8 @@ /* Define bitmask of input sources - recordable bitmask can be defined explicitly if different */ +#endif #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO) -#endif /* define this if you have a bitmap LCD display */ #define HAVE_LCD_BITMAP @@ -99,7 +99,7 @@ #define AB_REPEAT_ENABLE 1 /* FM Tuner - suspected to be the SI4702 */ -//#define CONFIG_TUNER SI4700 +#define CONFIG_TUNER SI4700 /* #define HAVE_TUNER_PWR_CTRL */ /* Define this for LCD backlight available */ Index: firmware/export/config-e200v2.h =================================================================== --- firmware/export/config-e200v2.h (Revision 19457) +++ firmware/export/config-e200v2.h (Arbeitskopie) @@ -17,10 +17,10 @@ #define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */ #define REC_SAMPR_DEFAULT SAMPR_22 +#endif /* Define bitmask of input sources - recordable bitmask can be defined explicitly if different */ #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO) -#endif /* define this if you have a bitmap LCD display */ #define HAVE_LCD_BITMAP @@ -99,7 +99,7 @@ #define AB_REPEAT_ENABLE 1 /* FM Tuner - suspected to be the SI4702 */ -//#define CONFIG_TUNER SI4700 +#define CONFIG_TUNER SI4700 /* #define HAVE_TUNER_PWR_CTRL */ /* Define this for LCD backlight available */ Index: firmware/SOURCES =================================================================== --- firmware/SOURCES (Revision 19457) +++ firmware/SOURCES (Arbeitskopie) @@ -1087,6 +1087,8 @@ target/arm/as3525/sansa-e200v2/button-e200v2.c target/arm/as3525/backlight-e200v2-fuze.c #ifndef BOOTLOADER +drivers/generic_i2c.c +target/arm/as3525/fmradio-i2c-as3525.c target/arm/as3525/powermgmt-as3525.c #endif /* !BOOTLOADER */ #endif /* !SIMULATOR */ @@ -1110,6 +1112,8 @@ target/arm/as3525/sansa-fuze/lcd-fuze.c target/arm/as3525/backlight-e200v2-fuze.c #ifndef BOOTLOADER +drivers/generic_i2c.c +target/arm/as3525/fmradio-i2c-as3525.c target/arm/as3525/powermgmt-as3525.c #endif /* !BOOTLOADER */ #endif /* !SIMULATOR */ Index: firmware/target/arm/as3525/fmradio-i2c-as3525.c =================================================================== --- firmware/target/arm/as3525/fmradio-i2c-as3525.c (Revision 19457) +++ firmware/target/arm/as3525/fmradio-i2c-as3525.c (Arbeitskopie) @@ -43,6 +43,12 @@ #define I2C_SCL_PIN 7 #define I2C_SDA_PIN 6 +#elif defined(SANSA_FUZE) || defined(SANSA_E200V2) +#define I2C_GPIO(x) GPIOA_PIN(x) +#define I2C_GPIO_DIR GPIOA_DIR +#define I2C_SCL_PIN 6 +#define I2C_SDA_PIN 7 + #elif #error no FM I2C GPIOPIN defines #endif @@ -109,7 +115,7 @@ /* interface towards the generic i2c driver */ static struct i2c_interface fm_i2c_interface = { -#if defined(SANSA_CLIP) +#if defined(SANSA_CLIP) || defined(SANSA_FUZE) || defined(SANSA_E200V2) .address = 0x10 << 1, #elif defined(SANSA_M200V4) .address = 0xC0,