raspberrypi GPIO #raspberrypi


yasminebenghozzi6@...
 

Hello, 

I have a problem importing python RPi.GPIO in yocto, not found, while they should be there only by cloning the meta-raspberry right? 
Any answer please on how to get them? 
thank you


Nicolas Jeker
 

On Wed, 2021-08-18 at 03:59 -0700, yasminebenghozzi6@... wrote:
Hello, 

I have a problem importing python RPi.GPIO in yocto, not found, while
they should be there only by cloning the meta-raspberry right? 
There is a recipe for RPi.GPIO available in meta-raspberrypi [1]. I
doubt that it's installed in any of the default images. You should add
it to your image by appending to the IMAGE_INSTALL variable. See the
Customizing Images section in the manual [2] for more information.

[1]: https://layers.openembedded.org/layerindex/recipe/5769/
[2]:
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#usingpoky-extend-customimage

Any answer please on how to get them? 
thank you