You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the TI CC3235SF MCU and to include the Azure IoT SDK, I am using the Azure IoT SDK Plugin V4.10 provided by TI. Into this plugin, I have cloned the latest LTS Azure IoT SDK C ([LTS_03_2024_Ref02).
I am using XDC Tools 3.61.00.16_core.
When I try to build the Azure IoT SDK with "-DUSE_PROV_MODULE" in the azureiot.bld file, (code snippet below) "ti.targets.arm.elf.M4" : " -ms -g --c99 -DUSE_PROV_MODULE",
I am getting a compilation error. Without the "-DUSE_PROV_MODULE" macro, the SDK builds fine.
But I need to use the Device Provisioning Service (DPS) code and hence I need to use this macro.
I was able to resolve this issue by making the following change in iothub_client_authorization.c file line 18.
As the issue was "cannot open
", I mentioned the whole path of the headerfile iothub_auth_client.h instead of the relative path that is mentioned in line 18. This resolved the compilation error.
Is this something important for which I need to issue a pull request ?
Hi @MrudulaSatyaY , thank you for the issue and sharing the details for the workaround.
We will try to add your fix to the code base, but meanwhile I wanted to check if you got to play with our other SDK specifically designed for microcontrollers? Please check it out: https://github.com/azure/azure-sdk-for-c
Hello,
I am using the TI CC3235SF MCU and to include the Azure IoT SDK, I am using the Azure IoT SDK Plugin V4.10 provided by TI. Into this plugin, I have cloned the latest LTS Azure IoT SDK C ([LTS_03_2024_Ref02).
I am using XDC Tools 3.61.00.16_core.
When I try to build the Azure IoT SDK with "-DUSE_PROV_MODULE" in the azureiot.bld file, (code snippet below)
"ti.targets.arm.elf.M4" : " -ms -g --c99 -DUSE_PROV_MODULE",
I am getting a compilation error. Without the "-DUSE_PROV_MODULE" macro, the SDK builds fine.
But I need to use the Device Provisioning Service (DPS) code and hence I need to use this macro.
The compilation error is as follows:
`
The compilation error occurs in the iothub_client_authorization.c file.
I am not sure if this is a Azure IoT SDK C issue or an XDC tools issue or a TI issue. hence, I decided to start here and posting my query.
Thank you in advance.
The text was updated successfully, but these errors were encountered: