开发者

How to cut (azure_iot_sdk_c) to facilitate porting to embedded Linux platform

开发者 https://www.devze.com 2022-12-07 17:55 出处:网络
I have successfully compiled (azure_iot_sdk_c) on Linux and successfully run this demo (iothub_ll_c2d_sample). Now, I want to extract the source code related to this demo to facilitate the migration t

I have successfully compiled (azure_iot_sdk_c) on Linux and successfully run this demo (iothub_ll_c2d_sample). Now, I want to extract the source code related to this demo to facilitate the migration to the embedded Linux platform. What should I do? The source code provided by Microsoft contains a lot of code unrelated to the Linux platform in order to be compatible with more platforms.

I tried to take out the source code in the sdk, delete the code of other platforms, and judge whether the platform is related by the file name, but it could not be compiled. I want to know what files are required for this demo (iothub_ll_c2d_sample) to run normally. I want to take them out an开发者_运维知识库d compile them separately, so that they can be ported to the embedded Linux platform.

0

精彩评论

暂无评论...
验证码 换一张
取 消