This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SIMPLELINK-CC32XX-SDK: HTTP GET Demo Application fails with TI Clang compiler.

Other Parts Discussed in Thread: CC3235MODSF, CC3235SF


We are developing on CC3235MODSF with the latest SDK version 6.10. Our application is based on the httpget demo and we have been using the httpget_CC3235SF_LAUNCHXL_tirtos_ccs project as a starting point. Lately, we have imported the project to TIRTOS7 and TI Clang but experienced several issues with the HTTP library and went back to testing with the demo project to replicate the issue. However, I was not able to even make demo application code work. Here is what I have found:

httpget_CC3235SF_LAUNCHXL_tirtos7_ticlang project is built successfully but gives HTTP error code 3003:

httpget_CC3235SF_LAUNCHXL_tirtos_ticlang project is built successfully but goes to HW fault after HTTPClient_sendRequest function:

httpget_CC3235SF_LAUNCHXL_tirtos7_ccs project is built successfully and gets the appropriate response to the HTTP GET request:

This makes me think that there is something wrong with the TI Clang compiler. It looks like it is not even able to compile demo HTTP GET application successfully.

The only change I have made in the demo code is changing the security type in platform.c:

This is a very urgent issue as we are close to sending our products to market. Please let us know if there are known issues with TI Clang compiler so that we can take appropriate measures.

Thanks. Best,