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.

CC3220SF: Wifi Thermostat: ota does not exist in workspace?

Part Number: CC3220SF

Hi,

    I am trying to build the Wifi Thermostat CCS Project and I am getting this error below. How do I solve this problem?

Error:

Description Resource Path Location Type
Referenced project 'ota' does not exist in the workspace. Project 'wifi_thermostat_CC3220SF_LAUNCHXL_tirtos_ccs' may not build as expected. wifi_thermostat_CC3220SF_LAUNCHXL_tirtos_ccs wifi_thermostat_CC3220SF_LAUNCHXL_tirtos_ccs Problem

Warning:

Description Resource Path Location Type
Invalid project path: Referenced project is not accessible. wifi_thermostat_CC3220SF_LAUNCHXL_tirtos_ccs pathentry Path Entry Problem

-kel

  • Hi Markel,

    The wifi_thermostat code has a dependency on the OTA library. Import the library into your workspace from the source/ti/net/ota/ccs folder in the SDK.

    Best regards,
    Sarah
  • Hi Sarah,

    I am trying to get the DropBox OTA Vendor Token following the Guide. Where in DropBox do I authorize the App so I can get the OTA Vendor Token? This is not shown in the guide?

    -kel
  • Hi Sarah,

    I temporarily put Access Token as Vendor Token at otauser.h. I get these build errors below. 

    Description Resource Path Location Type
    gmake: *** No rule to make target 'C:/ti/ccsv9workspace/CC3220SF_LAUNCHPADV310/source/CdnVendors/CdnDropboxV2.c', needed by 'CdnVendors/CdnDropboxV2.obj'. ota C/C++ Problem
    gmake: *** No rule to make target 'C:/ti/ccsv9workspace/CC3220SF_LAUNCHPADV310/source/CdnVendors/CdnGithub.c', needed by 'CdnVendors/CdnGithub.obj'. ota C/C++ Problem
    gmake: Target 'all' not remade because of errors. ota C/C++ Problem
    This project contains 5 unresolved buildable linked resource(s). The project may not build as expected. ota project Problem

    -kel

  • Hi Kel,

    The Wi-Fi OTA SimpleLink Academy may give better user instructions than the complete OTA guide: dev.ti.com/.../node

    Task 1 has a note on warning icons for CdnVendors files and how to resolve those. Task 5 walks through screenshots of the DropBox configuration including where to generate an access token.

    Best regards,
    Sarah

  • Ah okay, from the Simplelink Academy mentions the Access Token is also the Vendor Token.

    But at Over_The_Air_Update_Guide.html it says this below and kind of confusing.

    6. Authorize the app with the previously generated token, app key, and secret.
    7. After the app is authorized, save the authorization bearer Token Key. This is the OTA Vendor Token which should be placed in the otauser.h file.

    Anyway, I will mark this post as Answered. After building the wifi thermostat I only get these minor warnings.

    Description Resource Path Location Type
    #179-D variable "currButton" was declared but never referenced network.c /wifi_thermostat_CC3220SF_LAUNCHXL_tirtos_ccs/aws line 58 C/C++ Problem
    #179-D variable "g_provisioning_thread" was declared but never referenced wifi_thermostat_app.c /wifi_thermostat_CC3220SF_LAUNCHXL_tirtos_ccs line 142 C/C++ Problem
    #179-D variable "prevButton" was declared but never referenced network.c /wifi_thermostat_CC3220SF_LAUNCHXL_tirtos_ccs/aws line 59 C/C++ Problem

    -kel