Search code examples
c++yoctoi2copenembeddedlibserial

libi2c-dev, libserial-dev how to add to "Yocto"?


I have a question about how to add two libraries to "Yocto". The libraries are:

  • libi2c-dev
  • libserial-dev

Did anyone of you try to add it to the system generated by "Yocto" and maybe have suggestions about how to start and how to add it? Target is to use these two libraries in userspace app.


Solution

  • Maybe you can try to add this i2c-tools package as follow (inside a .bb file):

    IMAGE_INSTALL += "i2c-tools"