atharvanan1 / aesd_project_build

Contains build system for Advanced Embedded Software Development Final Project
MIT License
0 stars 0 forks source link

Build azure iot sdk in Yocto #10

Closed bcis93 closed 4 years ago

bcis93 commented 4 years ago

We need to build the azure iot c sdk in Yocto so that we can use the resulting libraries to build our azure app. We either need to build this from the source code or find an existing Yocto layer that we can bring in

DoD: Azure iot sdk added to Yocto build. Builds successfully

bcis93 commented 4 years ago

There is an existing yocto layer from intel (meta-iot-cloud) that should be able to build the azure iot sdk. This layer contains a lot of unnecessary things (like support for AWS, google cloud, etc), but we can just include the relevant packages/recipes into our build

bcis93 commented 4 years ago

There are only two packages that we actually need from this layer: azure-iot-sdk-c and azure-iot-sdk-c-dev

bcis93 commented 4 years ago

I ran a build using the thud branch because that is what we are building everything with, and it built, but I found that it built a very outdated version of the sdk. It looks like the warrior branch builds a more up-to-date version of the sdk, so I will see if that branch is compatible with our build

bcis93 commented 4 years ago

Warrior branch also builds in Yocto! Added to build with a6818d97671e6fdfd3416b69f86a1cbbbea091fe.

Note that we still need to make sure that our azure application is compatible with the version of azure-iot-sdk-c that this layer builds, but that will be handled in this issue. For now, we have found a way to build the sdk in Yocto, so I am closing this issue

atharvanan1 commented 4 years ago

Added build-time dependencies for the application recipe.