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.

LAUNCHXL-CC3235SF: Build errors Azure IoT SimpleSample_http project

Part Number: LAUNCHXL-CC3235SF
Other Parts Discussed in Thread: CC3235SF

Hi,

I referred "quick start guide" from Azure CC32xx Users guide documentation and installed all components like 

SimpleLink CC32xx SDK - simplelink_cc32xx_sdk_5_30_00_08, 

CCS 11.2.0 IDE

I have also downloaded azure_cc32xx_4_10_01_01 and installed it in d:\ti\.. folder.

I imported project - "simplesample_http" - FreeRTOS in CCS. I set the FREERTOS_INSTALL_DIR variable in 'Window->Preferences->Build->Vairable' in CCS. 

While building simplesample_http project I got below error:

Referenced project 'freertos_builds_CC3235SF_LAUNCHXL_release_ccs' does not exist in the workspace. Project 'simplesample_http_CC3235SF_LAUNCHXL_freertos_ccs' may not build as expected.

I noticed that my FreeRTOS folder was named as freertos_builds_cc32xx_release_ccs. In 'simplesample_http' project properties->build->dependencies, I provided path of freertos_builds_cc32xx_release_ccs. This resolved this build error. is this correct way of resolving this error?

Proceeding further I got following build error:

cannot set 'mode' to 'Dynamic': No option named Dynamic defined, valid options are input/output

I opened azure_iot.syscfg and observed that in GPIO, mode for CONFIG_GPIO_BUTTON_0 is pointing error. I accepted the setting as 'Input' and could resolve the build error. is this correct way of resolving this error?

Proceeding further I got following build error:

#35 #error directive: "DeviceFamily_XYZ undefined. You must define a DeviceFamily_XYZ!"

I do not know how to resolve this one. Can you please guide?

 

Thanks,

Pradeep

  • Hi Pradeep,

    Your problems seem to stem from using the wrong SDK version. The plugin is supported with the cc32XX 4.10.00.07 version which can be downloaded here.

    https://www.ti.com/tool/download/SIMPLELINK-CC32XX-SDK/4.10.00.07

    Once you have that sdk downloaded make sure to change your project properties path so it goes through that sdk instead of the 5.30 you have downloaded.

    If you have any issues or get stuck let me know.

    Best Regards,

    Rogelio

  • Thankyou Rogelio for your reply.
    I uninstalled SDK version 5... and Installed version 4.1. Also in project properties I tried to change the variable "SIMPLELINK_CC32XX_SDK_INSTALL_DIR" to new path of version 4.1, however it does not take it. After changing when I click on "Apply and close" it does not show any error but when I go back to Project properties it again shows previous SDK path which is already uninstalled.
     
    I also deleted "samplesimple_http" project from workspace and tried to import again from azure sdk folder. But it also refer to new sdk path and show me import error  as below. Can you please guide further on setting sdk path?
  • Hi Pradeep,

    I also ran into this problem so I figured you might too. So I will go step by step on what I did.

    1) Move or uninstall any other cc32xx sdk that is not the 4.1 version in the ti folder

    2.) Open CCS, go to the window Tab and then to preferences

    3.) On the left, under Code Composer Studio click on Products. (should look like this)

    in your case you only want to have the 4.1 version showing. If its not there press the refresh button on the right. It should find the SDK. Then press apply and close.

    4.) Import the simple sample  example project fresh from the Azure plugin.(just to get rid of any changes you might have made to the project)

    5.) Build the project. It should build without errors.

    Hopefully it works out, but definitely follow up with any errors you get.

    Kind Regards

    Rogelio