Switch to direct way to work with I2C.
authorAndrey Nechypurenko <andreynech@gmail.com>
Sun, 19 Jun 2011 21:28:00 +0000 (23:28 +0200)
committerAndrey Nechypurenko <andreynech@gmail.com>
Sun, 19 Jun 2011 21:28:00 +0000 (23:28 +0200)
commita9db828e0ce8e3fbf06c01219629925ba5d1bb77
tree49b531f03e4a066a347c4cdf57fc8c483c7b0666
parent56dc944c76dbde1b5b03dfe74d0ffbede7e02c55
Switch to direct way to work with I2C.

This version introduces new way to work with I2C bus. Instead of using
kernel interface (/dev/i2c-2), we are talking directly to the
corresponding OMAP's I2C controller. It is a preparation step for
real-time data ackqusition with xenomai. The implementation is copied
and modified version of the corresponding files from u-boot
bootloader.
16 files changed:
CMakeLists.txt
src/NavSensorThread.cpp
src/NavSensorThread.h
src/ReadCompassData.cpp
src/ReadCompassData.h
src/ReadSonarData.cpp
src/ReadSonarData.h
src/RemoteVehicleI.cpp
src/i2c-dev.h [deleted file]
src/i2c-from-u-boot/README [new file with mode: 0644]
src/i2c-from-u-boot/i2c.h [new file with mode: 0644]
src/i2c-from-u-boot/i2c_interface.h [new file with mode: 0644]
src/i2c-from-u-boot/io.h [new file with mode: 0644]
src/i2c-from-u-boot/omap24xx_i2c.cpp [new file with mode: 0644]
src/i2c-from-u-boot/omap24xx_i2c.h [new file with mode: 0644]
src/i2c-from-u-boot/test.cpp [new file with mode: 0644]