Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add SCL and SDA defs for I2C[0-2]; redefine I2C_[SCL,SDA] to I2C2 #4102
See discussion in issue #4099. I've only tested this by compiling an I2C app with an LPC1768 target and then running the result. I have yet to be able to successfully run 'mbed test' in my environment (against stable, head, etc.), so I'm not able to demonstrate the results of that.
...and I was completely wrong! I should have read your in-depth and very comprehensive analysis in #4099.
I think this change is perfectly valid and a welcome improvement. The current assignments appear to be bogus and are most likely a copy-paste error from the ARCH_PRO platform, which uses the LPC1768 MCU.