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.

RTOS/LAUNCHXL-CC2650: How to compile sensor controller studio projects into IAR embedded workbench?

Part Number: LAUNCHXL-CC2650

Tool/software: TI-RTOS

Greetings to everyone!

I am using LaunchXL-CC2650 launchpad with compiler EWARM 7.40.2. I am trying to use sensor controller studio (v.2.0.0.324) to control the I2C sensors to save the power consumption for main MCU. Initially, I am taking LED Blinker for LaunchPad as an example to get the knowledge of how things work. I am able to test it correctly with SCS. I have tried generating the driver for IAR compiler. When I am trying to open the IAR_tirtos project file, there are some warning I am facing:

1. Broken options were detected in the project file. A backup copy will be made. When I pressed it Ok then,

2. Next, The project "led_blinker_launchpad_tirtos" contains an unknown tool CADI_ID. I pressed OK then,

3.  The project "led_blinker_launchpad_tirtos" contains an unknown tool TIFET_ID. I pressed it as OK. 

I ignore those warning and when I am compiling it, I am facing an error of XDC path running. 

I have custom argument variable file in my custom argument variable option. I tried to find the solution over the forum but not able to find the solution. 

Any help will be grateful for me.

Regards,

Priya

  • Hello Priya,

    1. Close the project in SCS

    2.Make sure there are no pre-existing led blinkder projects in the source code output direectory. In SCS go to Code generator and press "View Output directory" to see where the project is generated. make sure the whole "led_blinker_launchpad" folder is removed.

    3. Open the project from the start from the Start Page (make sure to select the Launchpad project).

    4. Make sure the Example configuration is correct:

    5. I compiled successfully with IAR 8.20.

  • Hi,
    Thank you for your kind response.
    I compiled the program as suggested but the problem was still there (XDCpath was incorrect). So, I tried changing the TI-RTOS, XDS path of SCS project to the one which is in the custom argument variable and it worked.

    Thanks for your help though. :)