Our application - an introduction

Now that we've covered how to generate the SDK for our platform and how to integrate package in our Yocto image, we will, through an example, develop an application with the general purpose input output (GPIO) pins of the Raspberry Pi and then create a recipe to integrate our application with the final image.

The idea is to develop an application that, through the GPIO pins, lights an LED and monitors a push button.

Here is the schematic diagram, realized with Fritzing (http://fritzing.org/home/):

Our application - an introduction

Thus, we can, from the Linux user space, light the LED or monitor the push button through GPIO 4 of the Raspberry Pi ...

Get Yocto for Raspberry Pi now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.