aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-06-21 17:04:32 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-06-22 14:06:10 -0400
commit001997b815e70f6a7707e765982b6f321afb961a (patch)
tree7a6fc846bbfaaf18350dffa334adf9e0ad6f91dd /examples
parent9ba028ef647bc033e5ec078acd7de9d5c28432a9 (diff)
downloadlibrambutan-001997b815e70f6a7707e765982b6f321afb961a.tar.gz
librambutan-001997b815e70f6a7707e765982b6f321afb961a.zip
i2c_dev: deprecate .gpio_port.
This won't work on F2, which at times has SDA and SCL on different ports (e.g. I2C3 SDA on PC9, SCL on PA8). Add .sda_port and .scl_port replacements, which are used when the now-deprecated .gpio_port is null. Use them correctly everywhere, with some new i2c_private.h helper functionality. Sigh. The F1 I2C code tries too hard to guess what you wanted; it's not porting well at all. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions