Philippe Coval
35fa8bdfca
freedom-k64f: Add I2C initial support
It was checked using i2c tool and onboard sensor:
nsh> i2c bus
Bus 0: YES
nsh> i2c dev 1 0x7F
10: -- -- -- -- -- -- -- -- -- -- -- -- -- 1d -- --
nsh> i2c get -a 1d -r 0d
#| READ Bus: 0 Addr: 1d Subaddr: 0d Value: c7
Sensor driver to come next.
Feature should be enabled using:
CONFIG_SYSTEM_I2CTOOL=y
CONFIG_KINETIS_I2C0=y
Change-Id: I4f3ff16fae994250f62537cd0c3021465db1189c
Forwarded: https://github.com/apache/incubator-nuttx/pull/1982/
Signed-off-by: Philippe Coval <rzr@users.sf.net>