Azure-Sphere-DevX / EdgeDevX

EdgeDevX for Edge devices on POSIX compatible systems.
0 stars 1 forks source link

IoTHub Questions #2

Open rschiefer opened 2 years ago

rschiefer commented 2 years ago

Just have a general question about how you added IoTHub sdk to the repo. Any particular reason you chose not to use git submodule?

Also I've tried adding IoT hub to my custom project using the same CMakeLists references you have and it doesn't build correctly. Did you do anything special to make it work?

gloveboxes commented 2 years ago

Hi there - the reason is you can't submodule a branch/or tag. Well that was my experience and research, so in the end I just included the sdk in the project. Cheers Dave

see https://github.com/Azure/azure-iot-sdk-c/blob/main/doc/devbox_setup.md you are meant to pull a tagged branch

PS, I didn't do anything special...