Using WiringPi on Azure IoT edge with VCpkg in a C module

Altus Baard 96 Reputation points

Hey everyone,

So this is something that is clearly above my pay grade.

I would like to create a IoT module that I can deploy to a raspberry Pi running raspbian, but I need to make use of the Azure IoT C sdk as well as wiring pi so that I can reuse a previous C program that we have built.

Now I have been struggling with this for the last 2 weeks and I cant seem to get everything lined up. I am not sure if I need to create a docker image based on raspbian so that I have easy access to the wiring pi library, but then have issues with VCpkg for the IoT sdk, or if I should go with an ubuntu based image which allows easy access to VCpkg, but then I have to somehow manually add the wiringpi library.

If anyone could point me in the right direction, I would greatly appreciate it.

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
427 questions
{count} votes

Accepted answer
  1. Altus Baard 96 Reputation points

    I ended up using a python based module, as this allowed most of the capabilities out of the box for me

1 additional answer

Sort by: Most helpful
  1. SatishBoddu-MSFT 15,391 Reputation points

    Hello @Altus Baard , Could you please refer the documentation on Microsoft- Browse code samples- azure-iot-edge. This document will get you started with Microsoft developer tools and technologies. You can explore samples and discover the things you can build.

    You can also visit for example project titled-- Azure IoT Edge "for Dummies" - Blink an LED and you can also search for other projects as well to get started.

    Please let us know if you need further help in this matter, we are happy to help you get started!

    0 comments No comments