[PATCH] Add iicbus drivers to RTEMS-libbsd

Vijay Kumar Banerjee vijaykumar9597 at gmail.com
Sat Jun 1 19:20:09 UTC 2019


Hello everyone,

The patch set adds the iicbus drivers to the libbsd.

- The first two patches add the iicbus drivers to libbsd.

- The third path adds a generic rtems i2c adaptation driver to the libbsd. This
  will enable the libbsd applications to use the rtems-i2c drivers. This
  adaptation layer has been tested on Beaglebone Black RevC. 

  The adaptation layer has been tested using a sample application that reads the 
  eeprom and prints the data to the screen. 

- The last two patches add the i2c tool to the libbsd. This tool can be used to
  read/write through the i2c bus. This is currently not working because the tool
  lacks the transfer method used in the dirver. However, this has been fixed in
  FreeBSD upstream with the following commit :
  https://svnweb.freebsd.org/base?view=revision&revision=348120

  I have tested the tool to be working with the i2c drivers using the above patch.
  So, after the updates to libbsd this will work.
  
  Here's a link the the sample application that I wrote outside of libbsd, this 
  uses the adaptation layer to read from eeprom:
  https://github.com/thelunatic/rtems-bbb/tree/master/apps/i2c-adaptation-sample


Thank You,
Vijay




More information about the devel mailing list