diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2009-12-31 19:15:20 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2009-12-31 19:15:20 +0000 |
commit | 2392bb41996963c6683253114bdfb3174146e7dc (patch) | |
tree | 3846475be5d2ac2f472fbac22781868ab0b0c60e /firmware/target/arm/as3525/fmradio-i2c-as3525.c | |
parent | 822abc12360900030323560b92a440f425b5641a (diff) | |
download | rockbox-2392bb41996963c6683253114bdfb3174146e7dc.tar.gz rockbox-2392bb41996963c6683253114bdfb3174146e7dc.zip |
FS#10047 : Clipv2
Reuse some code from Clip (LCD) and a lot of code from AS3525
Add a new CPU type : AS3525v2, identical to AS3525 except it's an ARMv5 (arm926-ejs)
SD code still not working
For an unknown reason LCD doesn't work anymore (to be investigated)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24131 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/fmradio-i2c-as3525.c')
-rw-r--r-- | firmware/target/arm/as3525/fmradio-i2c-as3525.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/fmradio-i2c-as3525.c b/firmware/target/arm/as3525/fmradio-i2c-as3525.c index d987938d3a..6cdf0c7c7f 100644 --- a/firmware/target/arm/as3525/fmradio-i2c-as3525.c +++ b/firmware/target/arm/as3525/fmradio-i2c-as3525.c | |||
@@ -37,6 +37,12 @@ | |||
37 | #define I2C_SCL_PIN 4 | 37 | #define I2C_SCL_PIN 4 |
38 | #define I2C_SDA_PIN 5 | 38 | #define I2C_SDA_PIN 5 |
39 | 39 | ||
40 | #elif defined(SANSA_CLIPV2) | ||
41 | #define I2C_GPIO(x) GPIOB_PIN(x) | ||
42 | #define I2C_GPIO_DIR GPIOB_DIR | ||
43 | #define I2C_SCL_PIN 6 | ||
44 | #define I2C_SDA_PIN 7 | ||
45 | |||
40 | #elif defined(SANSA_M200V4) | 46 | #elif defined(SANSA_M200V4) |
41 | #define I2C_GPIO(x) GPIOD_PIN(x) | 47 | #define I2C_GPIO(x) GPIOD_PIN(x) |
42 | #define I2C_GPIO_DIR GPIOD_DIR | 48 | #define I2C_GPIO_DIR GPIOD_DIR |