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.

Analog Light Sensor example

I am trying to import the analog light sensor example from sensor controller studio 1.1.0.38192 into CCS 6.1.2.

I am using the CC2650DK. 

I am running into difficulties compiling this project. 

I have checked the path variables and linked resources for this specific project and the CCS window preferences.

All files used by this project have a defined link.

However these links don't seem recognized by the sensor controller studio generated files (main_tirtos.c does not 

know where board.c is, scif_framework.c and scif.c  do not know where inc/hw_types.h is etc. 

Can you help pinpoint what I maybe doing wrong here?

I have looked at the Portable Projects TI wiki and the projects and handbook for CCS.

Thank you,

Priya

  • I looked into the build settings and made sure the build variables were defined the same

    way as the  path variables. The wrong version of TIRTOS is still being picked up

    during compilation. It should be building the project with tirtos_simplelink_2_13_00_06

    and not tirtos_simplelink_2_14_02_22. I removed several references to tirtos_simplelink_2_14_02_22

    but somewhere it is still being used by the project. How do I find out where?

    Thanks,

    Priya

    Description Resource Path Location Type
    unresolved symbol PIN_setOutputValue, first referenced in ./main_tirtos.obj analog_light_sensor_tirtos C/C++ Problem
    unresolved symbol PIN_open, first referenced in ./main_tirtos.obj analog_light_sensor_tirtos C/C++ Problem
    unresolved symbol PIN_init, first referenced in ./main_tirtos.obj analog_light_sensor_tirtos C/C++ Problem
    <a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/10234.html">#10234-D</a> unresolved symbols remain analog_light_sensor_tirtos C/C++ Problem
    #10010 errors encountered during linking; "analog_light_sensor_tirtos.out" not built analog_light_sensor_tirtos C/C++ Problem
    #10008-D cannot find file "C:/ti/tirtos_simplelink_2_14_02_22/products/cc26xxware_2_21_03_15980/driverlib/bin/ccs/driverlib.lib" analog_light_sensor_tirtos C/C++ Problem
    #10008-D cannot find file "C:/ti/tirtos_simplelink_2_14_02_22/packages/ti/drivers/lib/drivers_cc26xxware.arm3" analog_light_sensor_tirtos C/C++ Problem
    Product 'TI-RTOS for SimpleLink Wireless MCUs' v2.14.2.22 is not currently installed. A compatible version 2.13.0.06 will be used during build. analog_light_sensor_tirtos analog_light_sensor_tirtos Problems

  • Priya Nadathur said:

    The wrong version of TIRTOS is still being picked up during compilation. It should be building the project with tirtos_simplelink_2_13_00_06 and not tirtos_simplelink_2_14_02_22.

    Priya,

    Please take a look at the Getting Started Guide that comes with Sensor Controller Studio (it can be found in the \docs directory within the installation) and see the instructions in Section 5.2 for updating TI-RTOS versions and paths. After making updates, re-generate the code to patch the project files and source code. After that you should be able to import the new project into CCS and build.

    Hope this helps get you going. If you still have problems, I would suggest starting a new post in the BlueTooth Smart Forum where the experts there can help you best.

  • Aarti-- thank you for your reply. I am currently also trying out a task on our custom board. 

    I did notice the sensor controller studio did not come with a docs directory. 

    I did find a TIRTOS user guide which had similar info about setting compiler

    options which is also helpful for the custom board. I may be back again for help.

    Sincerely,

    Priya