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.

CC1352P: Error when importing rfAudioRx/Tx example into CCS

Part Number: CC1352P


Hi,

thanks to the answer to my most recent question, I wanted to import the rfAudioRx / rfAudioTx example projects from the SimpleLink Audio Plugin (ver 3.30.00.06) for the CC1352P1 into my workspace. When doing this, I get the following error message:

Full error message: 

     Project-spec import file not found: C:\ti\simplelink_cc13x2_26x2_sdk_5_20_00_52\kernel\tirtos\builds\CC1352P1_LAUNCHXL\release\ccs\tirtos_builds_CC1352P1_LAUNCHXL_release_ccs.projectspec!

Since another thread suggested that the path to the product might be wrong, I checked the product paths in my CCS:

And the path to the SimpleLink CC13x2 CC26x2 SDK 5.20.0.52 seems to be correct. However, when following the path of the error message, there is no CC1352P1_LAUNCHXL directory in C:\ti\simplelink_cc13x2_26x2_sdk_5_20_00_52\kernel\tirtos\builds\:

How can I fix this?

Thank you in advance.

Best regards,

Alex

  • Hi,

    Thank you for your fast reply. I've changed line 12 from 

    <import spec="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/kernel/tirtos/builds/CC1352P1_LAUNCHXL/release/ccs/tirtos_builds_CC1352P1_LAUNCHXL_release_ccs.projectspec"/>

    to

    <import spec="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/kernel/tirtos/builds/cc13x2_cc26x2/release/ccs/tirtos_builds_cc13x2_cc26x2_release_ccs.projectspec"/>

    which lets me import the project. When building the project, I got an error message that the referenced SDK was not found, which was due to a renaming of said SDK, which I fixed in line 22.

    Now this works too, but I got the error following error messages when building the project.

    And in fact, the I2C_Config struct has no field .fxnTablePtr in my version of the I2C driver.

    Any suggestions?

  • See the post I referred to, I have included in that how the I2C needs to be changed, try search for I2C. 

  • Hi TER,

    sorry, I failed to update you on this error. After my last reply, I deleted the line 

    .fxnTablePtr = &I2CCC26XX_fxnTable

    just like you did in your referred post. This at least resolved the compiler errors. But now I have many linker errors (76 in total) with many unresolved symbols from the modules ClockP, GPTimerCC26XX, HwiP, I2C, List, PIN, Power, Semaphore and SwiP. Also, there are files missing, as shown in the image below.

    Best regards, 

    Alex

  • Not sure what goes wrong. For the post I linked to I did this step by step as described and the process was fairly straight forward. Could you start from scratch and list the steps you are doing, then it will be easier to understand what goes wrong. 

  • I'll describe my steps in detail. So I'm starting with a completely new and empty workspace. Beforehand, I uninstalled following SDKs from my C:\ti\ directory, just to make sure:

    • SimpleLink CC13x2 26x2 SDK - 5.20.00.52
    • SimpleLink Academy - 5.20.00.52
    • SimpleLink Audio Plugin - 3.30.00.06
    • SimpleLink CC13xx CC26xx SDK - 5.40.00.40 (I think it is not related, I deleted it anyway for now)

    Then I followed these steps:

    1. Install the SimpleLink CC13x2 26x2 SDK - 5.20.00.52

    2. Go to SimpleLink SDK Plugins -> SimpleLink Audio Plugin - 3.30.00.06 -> Examples -> Development Tools -> CC1352P1 LaunchPad -> EasyLink -> rfAudioTx -> TI-RTOS -> CCS Compiler -> rfAudioTx and click import

    3. A window appears that says Cannot import project. I click install and install the requested package, which is the SimpleLink Audio Plugin.

    4. After installation, I try to import the project again. The error message appears where it says the .projectspec file could not be found. Detailed error message is:
    Project-spec import file not found: C:\ti\simplelink_cc13x2_26x2_sdk_5_20_00_52\kernel\tirtos\builds\CC1352P1_LAUNCHXL\release\ccs\tirtos_builds_CC1352P1_LAUNCHXL_release_ccs.projectspec!

    5. I go to the directory in C:\ti\simplelink_audio_plugin_3_30_00_06\examples\rtos\CC1352P1_LAUNCHXL\easylink\rfAudioTx\tirtos\ccs\rfAudioTx_CC1352P1_LAUNCHXL_tirtos_ccs.projectspec and edit line 12 from

    <import spec="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/kernel/tirtos/builds/CC1352P1_LAUNCHXL/release/ccs/tirtos_builds_CC1352P1_LAUNCHXL_release_ccs.projectspec"/>

    to

    <import spec="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/kernel/tirtos/builds/cc13x2_cc26x2/release/ccs/tirtos_builds_cc13x2_cc26x2_release_ccs.projectspec"/>

    6. After saving the changes I try to import the project again, which is now successful. Now I have two projects in my workspace: rfAudioTx and tirtos_builds_cc13x2_cc26x2_release_ccs. When building the project, I get an error:

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

    7. So it seems like the name of the project the example depends on was renamed too, so I go to project properties -> CCS Build -> Dependencies and replace the old dependency with the project that was imported together with the rfAudioTx example. It now looks like this:

    8. When building the project, I get the well known compile error with the unknown field in the I2C_Config struct. So I comment out / delete the line 690 in the file CC1352P1_LAUNCHXL.c 

    9. When building the project now, the error of step 8 disappears, but I get the 76 linking errors that I already mentioned above in one of my replies:

    And this is where I am currently stuck.

  • Hmm, looks like something more has changed in the SDK. I looked at the first error and found that the path has changed. Example:

    If you look at this error, the new path to the library file is

    C:\ti\simplelink_cc13x2_26x2_sdk_5_20_00_52\source\ti\display\lib\ccs\m4f\display.a

    Meaning that you should go through the library list and change the paths. 

  • Ok. So this helped. For everyone having the same problems, here are the paths I updated:

    old:    ${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/display/lib/display.aem4f
    new:  ${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/display/lib/ccs/m4f/display.a

    old:    ${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/drivers/lib/drivers_cc13x2.aem4f
    new:  ${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/drivers/lib/ccs/m4f/drivers_cc13x2.a

    old:    ti/dpl/lib/dpl_cc13x2.aem4f
    new:  ti/dpl/lib/ccs/m4f/dpl_cc13x2.a

    Thank you TER for helping so patiently.