Skip to content

SummitESP/meta-aws-iot

 
 

Repository files navigation

Note: currently only installs aws sdk python module and adds AWS IoT credentials to /etc/aws-credentials/

Quickstart

Clone repository to your layers directory.

git clone https://github.com/AntonHakansson/meta-aws-iot.git

Add the layer to your bblayers.conf

BBLAYERS += "/path/to/meta-aws-iot"

Add recipes to your local.conf.

IMAGE_INSTALL_append += " AWSIoTPythonSDK aws-credentials"

Download AWS IoT certificates and archive them in the following structure:

aws-certs.zip
│   cert.pem
│   private.key
│   public.key
│   root-CA.crt

To connect with your AWS IoT backend, you’ll need the provisioning credentials you downloaded earlier. Add the following line to your local.conf to supply those credentials to the build:

AWS_IOT_CREDENTIALS = "/path/to/your/credentials.zip"

Example, assuming aws-certs.zip is located in the same directory as your local.conf:

AWS_IOT_CREDENTIALS = "${TOPDIR}/conf/aws-certs.zip"

Then build your image using bitbake

The credentials can be located at /etc/aws-credentials/ on the built image.

Releases

No releases published

Packages

No packages published

Languages

  • BitBake 100.0%