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/CC3235SF: Timestamp_get32 not working with SDK v2.40 and CC3235SF

Part Number: CC3235SF
Other Parts Discussed in Thread: CC3220SF, , SYSBIOS

Tool/software: TI-RTOS

Dear Support:

I am porting over my CC3220SF projects to CC3235SF and using SDK v2.40 and running into a problem where a previous call Timestamp_get32(.) works with my previous versions of SDKs dating back to v1.50, but is failing with this newer SDK v2.40.  Below are the libraries I am using in this CCS project:

${INHERITED_LIBRARIES}
ccs/m4/slnetsock_release.a
ccs/Release/slnetifwifi.a
ti/display/lib/display.aem4
ti/grlib/lib/ccs/m4/grlib.a
third_party/spiffs/lib/ccs/m4/spiffs.a
ti/drivers/lib/drivers_cc32xx.aem4
third_party/fatfs/lib/ccs/m4/fatfs.a
ccs/rtos/simplelink.a
ti/dpl/lib/dpl_cc32xx.aem4
ti/devices/cc32xx/driverlib/ccs/Release/driverlib.a
libc.a

However I found that the CCS project stairstepStopMode is using this Timestamp_get32() function and is using these libraries:

${COM_TI_SIMPLELINK_CC32XX_SDK_LIBRARIES}
ti/display/lib/display.aem4
ti/grlib/lib/ccs/m4/grlib.a
third_party/spiffs/lib/ccs/m4/spiffs.a
ti/drivers/lib/drivers_cc32xx.aem4
third_party/fatfs/lib/ccs/m4/fatfs.a
ti/dpl/lib/dpl_cc32xx.aem4
ti/devices/cc32xx/driverlib/ccs/Release/driverlib.a
libc.a

I am able to build with v2.40 using this CCS project.  You can see that these libraries are also in the CCS project that I am using that is failing.  Do you know what is going on here such that my CCS project is failing in the linking stage?  Please see linking error that is displayed:

<Linking>

undefined first referenced
symbol in file
--------- ----------------
xdc_runtime_Timestamp_get32__E ./common/command_utils.obj

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "sensor_3235.out" not built

>> Compilation failure
makefile:182: recipe for target 'sensor_3235.out' failed

Your thoughts?

Thanks,
Tim

  • Hi Tim,

    It looks like you need to include the Timestamp XDC module in your .cfg file (typically in your tirtos configuration project). There's a section on using this module in the SysBios User's Guide in the SDK (docs/tirtos/sysbios/docs/Bios_User_Guide.pdf).

    Best regards,
    Sarah
  • Hey Sarah:

    Yes, that was it! I should have figured that out. :-(. Was so bogged down in looking at the libraries and API calls that I forgot that was in the .cfg file. Thanks for your quick and accurate response and for waking me up. :-)

    Tim